Home
last modified time | relevance | path

Searched refs:out_buf (Results 1 – 45 of 45) sorted by relevance

/linux-4.4.14/lib/
Ddecompress_inflate.c40 unsigned char *out_buf, long out_len, in __gunzip() argument
50 out_buf = malloc(out_len); in __gunzip()
53 out_len = ((size_t)~0) - (size_t)out_buf; /* no limit */ in __gunzip()
55 if (!out_buf) { in __gunzip()
120 strm->next_out = out_buf; in __gunzip()
145 if (flush && strm->next_out > out_buf) { in __gunzip()
146 long l = strm->next_out - out_buf; in __gunzip()
147 if (l != flush(out_buf, l)) { in __gunzip()
152 strm->next_out = out_buf; in __gunzip()
180 free(out_buf); in __gunzip()
[all …]
Ddecompress_unlzo.c122 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
126 out_buf = output; in unlzo()
131 out_buf = malloc(LZO_BLOCK_SIZE); in unlzo()
132 if (!out_buf) { in unlzo()
247 memcpy(out_buf, in_buf, src_len); in unlzo()
250 out_buf, &tmp); in unlzo()
258 if (flush && flush(out_buf, dst_len) != dst_len) in unlzo()
261 out_buf += dst_len; in unlzo()
286 free(out_buf); in unlzo()
295 unsigned char *out_buf, long olen, in __decompress() argument
[all …]
Ddecompress_unxz.c401 unsigned char *out_buf, long olen, in __decompress() argument
405 return unxz(buf, len, fill, flush, out_buf, pos, error); in __decompress()
/linux-4.4.14/fs/quota/
Dquota_tree.c89 goto out_buf; in get_free_dqblk()
97 goto out_buf; in get_free_dqblk()
102 out_buf: in get_free_dqblk()
139 goto out_buf; in remove_free_dqentry()
144 goto out_buf; in remove_free_dqentry()
149 goto out_buf; in remove_free_dqentry()
154 goto out_buf; in remove_free_dqentry()
166 out_buf: in remove_free_dqentry()
185 goto out_buf; in insert_free_dqentry()
189 goto out_buf; in insert_free_dqentry()
[all …]
/linux-4.4.14/drivers/mfd/
Dcros_ec_i2c.c66 u8 *out_buf = NULL; in cros_ec_pkt_xfer_i2c() local
89 out_buf = ec_dev->dout; in cros_ec_pkt_xfer_i2c()
91 i2c_msg[0].buf = (char *) out_buf; in cros_ec_pkt_xfer_i2c()
94 ec_request_i2c = (struct ec_host_request_i2c *) out_buf; in cros_ec_pkt_xfer_i2c()
195 u8 *out_buf = NULL; in cros_ec_cmd_xfer_i2c() local
221 out_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
222 if (!out_buf) in cros_ec_cmd_xfer_i2c()
225 i2c_msg[0].buf = (char *)out_buf; in cros_ec_cmd_xfer_i2c()
227 out_buf[0] = EC_CMD_VERSION0 + msg->version; in cros_ec_cmd_xfer_i2c()
228 out_buf[1] = msg->command; in cros_ec_cmd_xfer_i2c()
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Ddvo_sil164.c72 u8 out_buf[2]; in sil164_readb() local
80 .buf = out_buf, in sil164_readb()
90 out_buf[0] = addr; in sil164_readb()
91 out_buf[1] = 0; in sil164_readb()
109 uint8_t out_buf[2]; in sil164_writeb() local
114 .buf = out_buf, in sil164_writeb()
117 out_buf[0] = addr; in sil164_writeb()
118 out_buf[1] = ch; in sil164_writeb()
Ddvo_tfp410.c97 u8 out_buf[2]; in tfp410_readb() local
105 .buf = out_buf, in tfp410_readb()
115 out_buf[0] = addr; in tfp410_readb()
116 out_buf[1] = 0; in tfp410_readb()
134 uint8_t out_buf[2]; in tfp410_writeb() local
139 .buf = out_buf, in tfp410_writeb()
142 out_buf[0] = addr; in tfp410_writeb()
143 out_buf[1] = ch; in tfp410_writeb()
Ddvo_ch7xxx.c139 u8 out_buf[2]; in ch7xxx_readb() local
147 .buf = out_buf, in ch7xxx_readb()
157 out_buf[0] = addr; in ch7xxx_readb()
158 out_buf[1] = 0; in ch7xxx_readb()
177 uint8_t out_buf[2]; in ch7xxx_writeb() local
182 .buf = out_buf, in ch7xxx_writeb()
185 out_buf[0] = addr; in ch7xxx_writeb()
186 out_buf[1] = ch; in ch7xxx_writeb()
Ddvo_ivch.c195 u8 out_buf[1]; in ivch_read() local
208 .buf = out_buf, in ivch_read()
218 out_buf[0] = addr; in ivch_read()
238 u8 out_buf[3]; in ivch_write() local
243 .buf = out_buf, in ivch_write()
246 out_buf[0] = addr; in ivch_write()
247 out_buf[1] = data & 0xff; in ivch_write()
248 out_buf[2] = data >> 8; in ivch_write()
Ddvo_ns2501.c396 u8 out_buf[2]; in ns2501_readb() local
404 .buf = out_buf, in ns2501_readb()
414 out_buf[0] = addr; in ns2501_readb()
415 out_buf[1] = 0; in ns2501_readb()
441 uint8_t out_buf[2]; in ns2501_writeb() local
447 .buf = out_buf, in ns2501_writeb()
450 out_buf[0] = addr; in ns2501_writeb()
451 out_buf[1] = ch; in ns2501_writeb()
/linux-4.4.14/drivers/w1/slaves/
Dw1_ds2423.c44 struct device_attribute *attr, char *out_buf) in w1_slave_show() argument
78 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
87 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
110 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
113 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show()
119 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
/linux-4.4.14/fs/ubifs/
Dcompress.c96 int in_len, void *out_buf, int *out_len, int *compr_type) in ubifs_compress() argument
110 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
130 memcpy(out_buf, in_buf, in_len); in ubifs_compress()
148 int in_len, void *out_buf, int *out_len, int compr_type) in ubifs_decompress() argument
166 memcpy(out_buf, in_buf, in_len); in ubifs_decompress()
173 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
Dubifs.h1797 void *out_buf, int *out_len, int *compr_type);
/linux-4.4.14/arch/s390/kernel/
Ddebug.c80 struct debug_view *view, char *out_buf);
85 struct debug_view *view, char *out_buf);
93 char *out_buf, const char *in_buf);
95 struct debug_view *view, char *out_buf,
98 int area, debug_entry_t * entry, char *out_buf);
101 char *out_buf, debug_sprintf_entry_t *curr_event);
1215 struct debug_view *view, char *out_buf) in debug_prolog_pages_fn() argument
1217 return sprintf(out_buf, "%i\n", id->pages_per_area); in debug_prolog_pages_fn()
1266 debug_prolog_level_fn(debug_info_t * id, struct debug_view *view, char *out_buf) in debug_prolog_level_fn() argument
1271 rc = sprintf(out_buf,"-\n"); in debug_prolog_level_fn()
[all …]
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c289 u8 out_buf[2]; in amdgpu_i2c_get_byte() local
296 .buf = out_buf, in amdgpu_i2c_get_byte()
306 out_buf[0] = addr; in amdgpu_i2c_get_byte()
307 out_buf[1] = 0; in amdgpu_i2c_get_byte()
323 uint8_t out_buf[2]; in amdgpu_i2c_put_byte() local
328 .buf = out_buf, in amdgpu_i2c_put_byte()
331 out_buf[0] = addr; in amdgpu_i2c_put_byte()
332 out_buf[1] = val; in amdgpu_i2c_put_byte()
/linux-4.4.14/drivers/gpu/drm/gma500/
Dpsb_intel_modes.c31 u8 out_buf[] = { 0x0, 0x0 }; in psb_intel_ddc_probe() local
39 .buf = out_buf, in psb_intel_ddc_probe()
Dcdv_intel_lvds.c97 u8 out_buf[2];
105 .buf = out_buf,
116 out_buf[0] = dev_priv->lvds_bl->brightnesscmd;
117 out_buf[1] = (u8)blc_i2c_brightness;
Dpsb_intel_lvds.c106 u8 out_buf[2]; in psb_lvds_i2c_set_brightness() local
114 .buf = out_buf, in psb_lvds_i2c_set_brightness()
125 out_buf[0] = dev_priv->lvds_bl->brightnesscmd; in psb_lvds_i2c_set_brightness()
126 out_buf[1] = (u8)blc_i2c_brightness; in psb_lvds_i2c_set_brightness()
/linux-4.4.14/drivers/net/irda/
Dkingsun-sir.c110 __u8 *out_buf; /* transmit buffer */ member
170 kingsun->out_buf, in kingsun_hard_xmit()
176 kingsun->out_buf, wraplen, kingsun_send_irq, in kingsun_hard_xmit()
497 kingsun->out_buf = NULL; in kingsun_probe()
514 kingsun->out_buf = kmalloc(KINGSUN_FIFO_SIZE, GFP_KERNEL); in kingsun_probe()
515 if (!kingsun->out_buf) in kingsun_probe()
553 kfree(kingsun->out_buf); in kingsun_probe()
584 kfree(kingsun->out_buf); in kingsun_disconnect()
Dmcs7780.c838 wraplen = mcs_wrap_sir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
842 wraplen = mcs_wrap_mir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
846 wraplen = mcs_wrap_fir_skb(skb, mcs->out_buf); in mcs_hard_xmit()
850 mcs->out_buf, wraplen, mcs_send_irq, mcs); in mcs_hard_xmit()
Dmcs7780.h115 char out_buf[4096]; /* transmit/receive buffer */ member
/linux-4.4.14/drivers/hid/
Dhid-logitech-dj.c705 u8 *out_buf; in logi_dj_ll_raw_request() local
727 out_buf = kzalloc(DJREPORT_SHORT_LENGTH, GFP_ATOMIC); in logi_dj_ll_raw_request()
728 if (!out_buf) in logi_dj_ll_raw_request()
734 out_buf[0] = REPORT_ID_DJ_SHORT; in logi_dj_ll_raw_request()
735 out_buf[1] = djdev->device_index; in logi_dj_ll_raw_request()
736 memcpy(out_buf + 2, buf, count); in logi_dj_ll_raw_request()
738 ret = hid_hw_raw_request(djrcv_dev->hdev, out_buf[0], out_buf, in logi_dj_ll_raw_request()
741 kfree(out_buf); in logi_dj_ll_raw_request()
/linux-4.4.14/arch/s390/include/asm/
Ddebug.h56 char* out_buf);
59 struct debug_view* view, char* out_buf,
63 char* out_buf);
71 int area, debug_entry_t* entry, char* out_buf);
/linux-4.4.14/fs/cifs/
Dtransport.c840 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument
931 if (!midQ->resp_buf || !out_buf || in SendReceive()
939 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); in SendReceive()
954 struct smb_hdr *out_buf) in send_lock_cancel() argument
969 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
975 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceiveBlockingLock() argument
1071 rc = send_lock_cancel(xid, tcon, in_buf, out_buf); in SendReceiveBlockingLock()
1103 if (out_buf == NULL || midQ->mid_state != MID_RESPONSE_RECEIVED) { in SendReceiveBlockingLock()
1110 memcpy(out_buf, midQ->resp_buf, *pbytes_returned + 4); in SendReceiveBlockingLock()
Dsmb2ops.c267 struct network_interface_info_ioctl_rsp *out_buf; in SMB3_request_interfaces() local
272 (char **)&out_buf, &ret_data_len); in SMB3_request_interfaces()
281 le32_to_cpu(out_buf->Capability)); in SMB3_request_interfaces()
283 le64_to_cpu(out_buf->LinkSpeed)); in SMB3_request_interfaces()
Dcifsproto.h102 struct smb_hdr *out_buf,
/linux-4.4.14/include/uapi/linux/
Dndctl.h43 __u8 out_buf[0]; member
61 __u8 out_buf[0]; member
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_i2c.c1056 u8 out_buf[2]; in radeon_i2c_get_byte() local
1063 .buf = out_buf, in radeon_i2c_get_byte()
1073 out_buf[0] = addr; in radeon_i2c_get_byte()
1074 out_buf[1] = 0; in radeon_i2c_get_byte()
1090 uint8_t out_buf[2]; in radeon_i2c_put_byte() local
1095 .buf = out_buf, in radeon_i2c_put_byte()
1098 out_buf[0] = addr; in radeon_i2c_put_byte()
1099 out_buf[1] = val; in radeon_i2c_put_byte()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_nego.c64 char *out_buf, in extract_param() argument
70 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
97 memcpy(out_buf, ptr, len); in extract_param()
98 out_buf[len] = '\0'; in extract_param()
106 char *out_buf, in iscsi_handle_authentication() argument
162 return srp_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
166 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c232 static bool halbtc_get(void *void_btcoexist, u8 get_type, void *out_buf) in halbtc_get() argument
239 bool *bool_tmp = (bool *)out_buf; in halbtc_get()
240 int *s32_tmp = (int *)out_buf; in halbtc_get()
241 u32 *u32_tmp = (u32 *)out_buf; in halbtc_get()
242 u8 *u8_tmp = (u8 *)out_buf; in halbtc_get()
Dhalbtcoutsrc.h386 typedef bool (*bfp_btc_get)(void *btcoexist, u8 get_type, void *out_buf);
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c341 struct vmw_dma_buffer **out_buf) in vmw_user_lookup_handle() argument
346 BUG_ON(*out_surf || *out_buf); in vmw_user_lookup_handle()
357 ret = vmw_user_dmabuf_lookup(tfile, handle, out_buf, NULL); in vmw_user_lookup_handle()
1045 struct vmw_dma_buffer *out_buf; in vmw_dumb_map_offset() local
1048 ret = vmw_user_dmabuf_lookup(tfile, handle, &out_buf, NULL); in vmw_dumb_map_offset()
1052 *offset = drm_vma_node_offset_addr(&out_buf->base.vma_node); in vmw_dumb_map_offset()
1053 vmw_dmabuf_unreference(&out_buf); in vmw_dumb_map_offset()
Dvmwgfx_drv.h612 struct vmw_dma_buffer **out_buf);
/linux-4.4.14/drivers/input/touchscreen/
Dusbtouchscreen.c851 goto out_buf; in nexio_alloc()
873 out_buf: in nexio_alloc()
902 goto out_buf; in nexio_init()
910 goto out_buf; in nexio_init()
919 goto out_buf; in nexio_init()
952 out_buf: in nexio_init()
/linux-4.4.14/drivers/s390/block/
Ddcssblk.c733 goto out_buf; in dcssblk_remove_store()
743 goto out_buf; in dcssblk_remove_store()
750 goto out_buf; in dcssblk_remove_store()
768 out_buf: in dcssblk_remove_store()
/linux-4.4.14/Documentation/s390/
Ds390dbf.txt563 char* out_buf);
566 struct debug_view* view, char* out_buf,
570 char* out_buf);
623 char *out_buf, const char *in_buf
631 rc += sprintf(out_buf, "%s", messages[msg_nr]);
633 rc += sprintf(out_buf, UNKNOWNSTR, msg_nr);
/linux-4.4.14/drivers/base/regmap/
Dregmap-debugfs.c385 goto out_buf; in regmap_reg_ranges_read_file()
389 out_buf: in regmap_reg_ranges_read_file()
/linux-4.4.14/drivers/mtd/maps/
Dvmu-flash.c331 goto out_buf; in vmu_flash_read_char()
345 out_buf: in vmu_flash_read_char()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_sriov.c966 u32 *out_buf = &msgbuf[1]; in ixgbe_get_vf_reta() local
984 out_buf[i] = 0; in ixgbe_get_vf_reta()
986 out_buf[i] |= (u32)(reta[16 * i + j] & 0x3) << (2 * j); in ixgbe_get_vf_reta()
/linux-4.4.14/drivers/rapidio/devices/
Dtsi721.c1521 goto out_buf; in tsi721_open_outb_mbox()
1535 goto out_buf; in tsi721_open_outb_mbox()
1650 out_buf: in tsi721_open_outb_mbox()
1830 goto out_buf; in tsi721_open_inb_mbox()
1953 out_buf: in tsi721_open_inb_mbox()
/linux-4.4.14/drivers/crypto/
Dmxs-dcp.c263 uint8_t *out_buf = sdcp->coh->aes_out_buf; in mxs_dcp_aes_block_crypt() local
314 out_tmp = out_buf; in mxs_dcp_aes_block_crypt()
/linux-4.4.14/drivers/nvdimm/
Ddimm_devs.c128 memcpy(ndd->data + offset, cmd->out_buf, cmd->in_length); in nvdimm_init_config_data()
/linux-4.4.14/tools/hv/
Dhv_kvp_daemon.c1095 char *out_buf, int out_len) in parse_ip_val_buffer() argument
1122 strcpy(out_buf, (start + i)); in parse_ip_val_buffer()
/linux-4.4.14/drivers/char/
Dvirtio_console.c673 static ssize_t fill_readbuf(struct port *port, char __user *out_buf, in fill_readbuf() argument
688 ret = copy_to_user(out_buf, buf->buf + buf->offset, out_count); in fill_readbuf()
692 memcpy((__force char *)out_buf, buf->buf + buf->offset, in fill_readbuf()
/linux-4.4.14/tools/testing/nvdimm/test/
Dnfit.c191 memcpy(nd_cmd->out_buf, label + offset, len); in nfit_test_cmd_get_config_data()