Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/mfd/
Dcros_ec_i2c.c41 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local
55 in_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c()
56 if (!in_buf) in cros_ec_cmd_xfer_i2c()
59 i2c_msg[1].buf = (char *)in_buf; in cros_ec_cmd_xfer_i2c()
101 len = in_buf[1]; in cros_ec_cmd_xfer_i2c()
110 sum = in_buf[0] + in_buf[1]; in cros_ec_cmd_xfer_i2c()
112 msg->indata[i] = in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
113 sum += in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
116 i2c_msg[1].len, in_buf, sum); in cros_ec_cmd_xfer_i2c()
117 if (sum != in_buf[2 + len]) { in cros_ec_cmd_xfer_i2c()
[all …]
/linux-4.1.27/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()
838 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument
860 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.h88 char *in_buf, int flags);
103 struct smb_hdr *in_buf ,
/linux-4.1.27/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.h1794 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, int in_len,
/linux-4.1.27/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.1.27/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.c171 u8 in_buf[2]; in ivch_read() local
189 .buf = in_buf, in ivch_read()
196 *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.c382 u8 in_buf[2]; in ns2501_readb() local
395 .buf = in_buf, in ns2501_readb()
403 *ch = in_buf[0]; in ns2501_readb()
/linux-4.1.27/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.1.27/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.1.27/drivers/net/wireless/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.1.27/drivers/staging/comedi/drivers/
Dusbduxsigma.c156 __be32 *in_buf; member
227 val = be32_to_cpu(devpriv->in_buf[i+1]); in usbduxsigma_ai_handle_urb()
269 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete()
1370 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers()
1374 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers()
1473 kfree(devpriv->in_buf); in usbduxsigma_free_usb_buffers()
Dusbdux.c194 __le16 *in_buf; member
265 uint16_t 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()
1469 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbdux_alloc_usb_buffers()
1475 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbdux_alloc_usb_buffers()
1576 kfree(devpriv->in_buf); in usbdux_free_usb_buffers()
/linux-4.1.27/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.1.27/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.1.27/arch/s390/include/asm/
Ddebug.h60 const char* in_buf);
/linux-4.1.27/drivers/staging/speakup/
Dmain.c119 static void spkup_write(const char *in_buf, int count);
1067 static void spkup_write(const char *in_buf, int count) in spkup_write() argument
1078 if ((in_buf == sentmarks[bn][currsentence]) && in spkup_write()
1082 ch = (u_char) *in_buf++; in spkup_write()
/linux-4.1.27/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.1.27/tools/hv/
Dhv_kvp_daemon.c1096 static int parse_ip_val_buffer(char *in_buf, int *offset, in parse_ip_val_buffer() argument
1107 start = in_buf + *offset; in parse_ip_val_buffer()
/linux-4.1.27/drivers/tty/
Dn_gsm.c2699 unsigned char *in_buf, int size) in gsm_mux_rx_netchar() argument
2715 memcpy(skb_put(skb, size), in_buf, size); in gsm_mux_rx_netchar()
/linux-4.1.27/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()