Home
last modified time | relevance | path

Searched refs:in_buf (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/lib/
Ddecompress_unlzo.c122 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
142 in_buf = input; in unlzo()
147 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo()
148 if (!in_buf) { in unlzo()
153 in_buf_save = in_buf; in unlzo()
165 in_buf += HEADER_SIZE_MAX; in unlzo()
166 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo()
169 if (!parse_header(in_buf, &skip, in_len)) { in unlzo()
173 in_buf += skip; in unlzo()
178 memcpy(in_buf_save, in_buf, in_len); in unlzo()
[all …]
/linux-4.4.14/drivers/mfd/
Dcros_ec_i2c.c67 u8 *in_buf = NULL; in cros_ec_pkt_xfer_i2c() local
83 in_buf = ec_dev->din; in cros_ec_pkt_xfer_i2c()
85 i2c_msg[1].buf = (char *) in_buf; in cros_ec_pkt_xfer_i2c()
112 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c()
166 in_buf + response_header_size, in cros_ec_pkt_xfer_i2c()
196 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local
210 in_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
211 if (!in_buf) in cros_ec_cmd_xfer_i2c()
214 i2c_msg[1].buf = (char *)in_buf; in cros_ec_cmd_xfer_i2c()
256 len = in_buf[1]; in cros_ec_cmd_xfer_i2c()
[all …]
/linux-4.4.14/fs/cifs/
Dtransport.c460 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() argument
473 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid()
474 (in_buf->Command != SMB_COM_NEGOTIATE)) in allocate_mid()
481 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) in allocate_mid()
486 *ppmidQ = AllocMidQEntry(in_buf, ses->server); in allocate_mid()
604 char *in_buf, int flags) in SendReceiveNoRsp() argument
610 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
611 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp()
840 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument
862 if (be32_to_cpu(in_buf->smb_buf_length) > CIFSMaxBufSize + in SendReceive()
[all …]
Dsmb1ops.c43 struct smb_hdr *in_buf = (struct smb_hdr *)buf; in send_nt_cancel() local
46 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel()
47 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel()
48 in_buf->WordCount = 0; in send_nt_cancel()
49 put_bcc(0, in_buf); in send_nt_cancel()
52 rc = cifs_sign_smb(in_buf, server, &mid->sequence_number); in send_nt_cancel()
64 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()
71 get_mid(in_buf), rc); in send_nt_cancel()
Dcifsproto.h86 char *in_buf, int flags);
101 struct smb_hdr *in_buf ,
/linux-4.4.14/fs/ubifs/
Dcompress.c95 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, 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()
147 int ubifs_decompress(const struct ubifs_info *c, const void *in_buf, 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.h1796 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len,
/linux-4.4.14/drivers/net/irda/
Dkingsun-sir.c109 __u8 *in_buf; /* receive buffer */ member
297 kingsun->in_buf, kingsun->max_rx, in kingsun_net_open()
496 kingsun->in_buf = NULL; in kingsun_probe()
509 kingsun->in_buf = kmalloc(kingsun->max_rx, GFP_KERNEL); in kingsun_probe()
510 if (!kingsun->in_buf) in kingsun_probe()
554 kfree(kingsun->in_buf); in kingsun_probe()
585 kfree(kingsun->in_buf); in kingsun_disconnect()
Dmcs7780.h114 char in_buf[4096]; /* transmit/receive buffer */ member
Dmcs7780.c524 mcs->in_buf, 4096, mcs_receive_irq, mcs); in mcs_receive_start()
/linux-4.4.14/drivers/gpu/drm/i915/
Ddvo_sil164.c73 u8 in_buf[2]; in sil164_readb() local
86 .buf = in_buf, in sil164_readb()
94 *ch = in_buf[0]; in sil164_readb()
Ddvo_ivch.c196 u8 in_buf[2]; in ivch_read() local
214 .buf = in_buf, in ivch_read()
221 *data = (in_buf[1] << 8) | in_buf[0]; in ivch_read()
Ddvo_tfp410.c98 u8 in_buf[2]; in tfp410_readb() local
111 .buf = in_buf, in tfp410_readb()
119 *ch = in_buf[0]; in tfp410_readb()
Ddvo_ch7xxx.c140 u8 in_buf[2]; in ch7xxx_readb() local
153 .buf = in_buf, in ch7xxx_readb()
161 *ch = in_buf[0]; in ch7xxx_readb()
Ddvo_ns2501.c397 u8 in_buf[2]; in ns2501_readb() local
410 .buf = in_buf, in ns2501_readb()
418 *ch = in_buf[0]; in ns2501_readb()
/linux-4.4.14/include/uapi/linux/
Dndctl.h49 __u8 in_buf[0]; member
55 __u8 in_buf[0]; member
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_i2c.c290 u8 in_buf[2]; in amdgpu_i2c_get_byte() local
302 .buf = in_buf, in amdgpu_i2c_get_byte()
310 *val = in_buf[0]; in amdgpu_i2c_get_byte()
/linux-4.4.14/drivers/acpi/
Dnfit.c80 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
120 in_obj.package.elements = &in_buf; in acpi_nfit_ctl()
121 in_buf.type = ACPI_TYPE_BUFFER; in acpi_nfit_ctl()
122 in_buf.buffer.pointer = buf; in acpi_nfit_ctl()
123 in_buf.buffer.length = 0; in acpi_nfit_ctl()
127 in_buf.buffer.length += nd_cmd_in_size(nvdimm, cmd, desc, in acpi_nfit_ctl()
132 dimm_name, cmd_name, in_buf.buffer.length); in acpi_nfit_ctl()
134 4, in_buf.buffer.pointer, min_t(u32, 128, in acpi_nfit_ctl()
135 in_buf.buffer.length), true); in acpi_nfit_ctl()
170 if (in_buf.buffer.length + offset + out_size > buf_len) { in acpi_nfit_ctl()
[all …]
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_nego.c61 const char *in_buf, in extract_param() argument
70 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
73 ptr = strstr(in_buf, pattern); in extract_param()
105 char *in_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/arch/s390/kernel/
Ddebug.c93 char *out_buf, const char *in_buf);
96 const char *in_buf);
1417 char *out_buf, const char *in_buf) in debug_raw_format_fn() argument
1422 memcpy(out_buf, in_buf, id->buf_size); in debug_raw_format_fn()
1432 char *out_buf, const char *in_buf) in debug_hex_ascii_format_fn() argument
1438 ((unsigned char *) in_buf)[i]); in debug_hex_ascii_format_fn()
1442 unsigned char c = in_buf[i]; in debug_hex_ascii_format_fn()
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/btcoexist/
Dhalbtcoutsrc.c363 static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf) in halbtc_set() argument
366 bool *bool_tmp = (bool *)in_buf; in halbtc_set()
367 u8 *u8_tmp = (u8 *)in_buf; in halbtc_set()
368 u32 *u32_tmp = (u32 *)in_buf; in halbtc_set()
Dhalbtcoutsrc.h388 typedef bool (*bfp_btc_set)(void *btcoexist, u8 set_type, void *in_buf);
/linux-4.4.14/drivers/staging/comedi/drivers/
Dusbduxsigma.c157 __be32 *in_buf; member
231 val = be32_to_cpu(devpriv->in_buf[i + 1]); in usbduxsigma_ai_handle_urb()
273 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete()
1347 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers()
1351 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers()
1447 kfree(devpriv->in_buf); in usbduxsigma_free_usb_buffers()
Dusbdux.c194 __le16 *in_buf; member
265 u16 val = le16_to_cpu(devpriv->in_buf[i]); in usbduxsub_ai_handle_urb()
311 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsub_ai_isoc_irq()
1455 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbdux_alloc_usb_buffers()
1461 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbdux_alloc_usb_buffers()
1562 kfree(devpriv->in_buf); in usbdux_free_usb_buffers()
/linux-4.4.14/drivers/crypto/
Dmxs-dcp.c262 uint8_t *in_buf = sdcp->coh->aes_in_buf; in mxs_dcp_aes_block_crypt() local
299 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
570 uint8_t *in_buf = sdcp->coh->sha_in_buf; in dcp_sha_req_to_buf() local
593 memcpy(in_buf + actx->fill, src_buf, clen); in dcp_sha_req_to_buf()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_i2c.c1057 u8 in_buf[2]; in radeon_i2c_get_byte() local
1069 .buf = in_buf, in radeon_i2c_get_byte()
1077 *val = in_buf[0]; in radeon_i2c_get_byte()
/linux-4.4.14/arch/s390/include/asm/
Ddebug.h60 const char* in_buf);
/linux-4.4.14/drivers/staging/speakup/
Dmain.c119 static void spkup_write(const char *in_buf, int count);
1070 static void spkup_write(const char *in_buf, int count) in spkup_write() argument
1081 if ((in_buf == sentmarks[bn][currsentence]) && in spkup_write()
1085 ch = (u_char) *in_buf++; in spkup_write()
/linux-4.4.14/Documentation/s390/
Ds390dbf.txt567 const char* in_buf);
623 char *out_buf, const char *in_buf
629 int msg_nr = *((int*)in_buf);
/linux-4.4.14/drivers/nvdimm/
Ddimm_devs.c167 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
/linux-4.4.14/tools/hv/
Dhv_kvp_daemon.c1094 static int parse_ip_val_buffer(char *in_buf, int *offset, in parse_ip_val_buffer() argument
1105 start = in_buf + *offset; in parse_ip_val_buffer()
/linux-4.4.14/drivers/tty/
Dn_gsm.c2698 unsigned char *in_buf, int size) in gsm_mux_rx_netchar() argument
2714 memcpy(skb_put(skb, size), in_buf, size); in gsm_mux_rx_netchar()
/linux-4.4.14/tools/testing/nvdimm/test/
Dnfit.c214 memcpy(label + offset, nd_cmd->in_buf, len); in nfit_test_cmd_set_config_data()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
Dipw2100.c2358 static u32 ipw2100_match_buf(struct ipw2100_priv *priv, u8 * in_buf, in ipw2100_match_buf() argument
2366 s = in_buf; in ipw2100_match_buf()
2380 s = in_buf; in ipw2100_match_buf()
2387 if ((s - in_buf) == len) in ipw2100_match_buf()