Searched refs:in_buf (Results 26 - 50 of 51) sorted by last modified time

123

/linux-master/drivers/tty/
H A Dn_gsm.c3912 static void gsm_mux_rx_netchar(struct gsm_dlci *dlci, const u8 *in_buf, int size) argument
3928 skb_put_data(skb, in_buf, size);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_i2c.c1046 u8 in_buf[2]; local
1058 .buf = in_buf,
1066 *val = in_buf[0];
/linux-master/drivers/nvdimm/
H A Ddimm_devs.c155 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length);
/linux-master/tools/testing/nvdimm/test/
H A Dnfit.c502 memcpy(label + offset, nd_cmd->in_buf, len);
/linux-master/drivers/soc/qcom/
H A Dqmi_encdec.c65 const void *in_buf, u32 in_buf_len, int dec_level);
585 * @in_buf: Buffer containing the QMI message to be decoded
594 const void *in_buf, u32 in_buf_len,
605 const void *buf_src = in_buf;
593 qmi_decode(const struct qmi_elem_info *ei_array, void *out_c_struct, const void *in_buf, u32 in_buf_len, int dec_level) argument
/linux-master/crypto/
H A Drsa-pkcs1pad.c126 uint8_t *in_buf, *out_buf; member in struct:pkcs1pad_request
231 kfree(req_ctx->in_buf);
268 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
270 if (!req_ctx->in_buf)
274 req_ctx->in_buf[0] = 0x02;
276 req_ctx->in_buf[i] = get_random_u32_inclusive(1, 255);
277 req_ctx->in_buf[ps_end] = 0x00;
279 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf,
422 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len,
424 if (!req_ctx->in_buf)
[all...]
/linux-master/arch/s390/kernel/
H A Ddebug.c93 char *out_buf, const char *in_buf);
1469 char *out_buf, const char *in_buf)
1474 rc += sprintf(out_buf + rc, "%02x ", ((unsigned char *) in_buf)[i]);
1477 unsigned char c = in_buf[i];
1468 debug_hex_ascii_format_fn(debug_info_t *id, struct debug_view *view, char *out_buf, const char *in_buf) argument
/linux-master/drivers/net/wireless/intel/ipw2x00/
H A Dipw2100.c2334 static u32 ipw2100_match_buf(struct ipw2100_priv *priv, u8 * in_buf, argument
2342 s = in_buf;
2356 s = in_buf;
2363 if ((s - in_buf) == len)
/linux-master/drivers/usb/gadget/function/
H A Df_midi2.c658 const u32 *in_buf = ep->ump->input_buf; local
663 if (ump_message_type(*in_buf) == UMP_MSG_TYPE_STREAM)
664 process_ump_stream_msg(ep, in_buf);
/linux-master/arch/s390/include/asm/
H A Ddebug.h73 const char *in_buf);
/linux-master/lib/
H A Ddecompress_unzstd.c125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, argument
144 ret = zstd_find_frame_compressed_size(in_buf, in_len);
150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len);
165 static int INIT __unzstd(unsigned char *in_buf, long in_len, argument
196 return decompress_single(in_buf, in_len, out_buf, out_len,
200 * If in_buf is not provided, we must be using fill(), so allocate
204 if (in_buf == NULL) {
211 in_buf = in_allocated;
216 in_len = fill(in_buf, ZSTD_IOBUF_SIZE);
223 in.src = in_buf;
[all...]
H A Ddecompress_unlzo.c107 u8 *in_buf, *in_buf_save, *out_buf; local
127 in_buf = input;
132 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE));
133 if (!in_buf) {
138 in_buf_save = in_buf;
145 * Start from in_buf + HEADER_SIZE_MAX to make it possible
150 in_buf += HEADER_SIZE_MAX;
151 in_len = fill(in_buf, HEADER_SIZE_MAX);
154 if (!parse_header(in_buf, &skip, in_len)) {
158 in_buf
[all...]
/linux-master/fs/ubifs/
H A Dcompress.c85 * @in_buf: data to compress
92 * This function compresses input buffer @in_buf of length @in_len and stores
101 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, argument
116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf,
136 memcpy(out_buf, in_buf, in_len);
143 * @in_buf: data to decompress
149 * This function decompresses data from buffer @in_buf into buffer @out_buf.
153 int ubifs_decompress(const struct ubifs_info *c, const void *in_buf, argument
172 memcpy(out_buf, in_buf, in_len);
179 err = crypto_comp_decompress(compr->cc, in_buf, in_le
[all...]
/linux-master/drivers/target/iscsi/
H A Discsi_target_nego.c56 const char *in_buf,
65 if (!in_buf || !pattern || !out_buf || !type)
68 ptr = strstr(in_buf, pattern);
128 char *in_buf,
148 return chap_main_loop(conn, auth, in_buf, out_buf,
55 extract_param( const char *in_buf, const char *pattern, unsigned int max_length, char *out_buf, unsigned char *type) argument
126 iscsi_handle_authentication( struct iscsit_conn *conn, char *in_buf, char *out_buf, int in_length, int *out_length, unsigned char *authtype) argument
/linux-master/drivers/platform/chrome/
H A Dcros_ec_i2c.c60 u8 *in_buf = NULL; local
79 in_buf = ec_dev->din;
81 i2c_msg[1].buf = (char *) in_buf;
113 ec_response_i2c = (struct ec_host_response_i2c *) in_buf;
167 in_buf + response_header_size,
197 u8 *in_buf = NULL; local
211 in_buf = kzalloc(packet_len, GFP_KERNEL);
212 if (!in_buf)
215 i2c_msg[1].buf = (char *)in_buf;
257 len = in_buf[
[all...]
/linux-master/drivers/nfc/pn533/
H A Dusb.c491 unsigned char *in_buf; local
500 in_buf = kzalloc(in_buf_len, GFP_KERNEL);
501 if (!in_buf)
534 in_buf, in_buf_len, NULL, phy);
605 kfree(in_buf);
/linux-master/drivers/usb/early/
H A Dxhci-dbc.c344 xdbc.in_buf = xdbc.out_buf + XDBC_MAX_PACKET;
498 memset(xdbc.in_buf, 0, XDBC_MAX_PACKET);
H A Dxhci-dbc.h186 void *in_buf; member in struct:xdbc_state
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c165 * @in_buf: Buffer with data for input
166 * @in_size: Size of @in_buf
172 const void *in_buf; member in struct:nfp_nsp_command_buf_arg
456 if (arg->in_buf && arg->in_size) {
458 arg->in_buf, arg->in_size);
536 memcpy(chunks[i].chunk, arg->in_buf + off, coff);
799 .in_buf = fw->data,
820 .in_buf = fw->data,
849 .in_buf = buf,
911 .in_buf
[all...]
/linux-master/fs/squashfs/
H A Dzstd_wrapper.c69 zstd_in_buffer in_buf = { NULL, 0, 0 }; local
91 if (in_buf.pos == in_buf.size) {
103 in_buf.src = data + offset;
104 in_buf.size = avail;
105 in_buf.pos = 0;
126 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf);
/linux-master/include/uapi/linux/
H A Dndctl.h39 __u8 in_buf[]; member in struct:nd_cmd_set_config_hdr
45 __u8 in_buf[]; member in struct:nd_cmd_vendor_hdr
/linux-master/drivers/comedi/drivers/
H A Dusbduxsigma.c147 __be32 *in_buf; member in struct:usbduxsigma_private
221 val = be32_to_cpu(devpriv->in_buf[i + 1]);
263 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF);
1337 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL);
1341 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf ||
1437 kfree(devpriv->in_buf);
H A Dusbdux.c184 __le16 *in_buf; member in struct:usbdux_private
255 u16 val = le16_to_cpu(devpriv->in_buf[i]);
301 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF);
1444 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL);
1450 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf ||
1551 kfree(devpriv->in_buf);
/linux-master/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtcoutsrc.c691 static bool halbtc_set(void *void_btcoexist, u8 set_type, void *in_buf) argument
694 bool *bool_tmp = (bool *)in_buf;
695 u8 *u8_tmp = (u8 *)in_buf;
696 u32 *u32_tmp = (u32 *)in_buf;
/linux-master/drivers/acpi/
H A Dacpi_dbg.c55 char in_buf[ACPI_AML_BUF_SIZE] __aligned(ACPI_AML_BUF_ALIGN);
752 acpi_aml_io.in_crc.buf = acpi_aml_io.in_buf;

Completed in 626 milliseconds

123