Home
last modified time | relevance | path

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

12

/linux/lib/
A Ddecompress_unlzo.c107 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local
127 in_buf = input; in unlzo()
133 if (!in_buf) { in unlzo()
138 in_buf_save = in_buf; in unlzo()
150 in_buf += HEADER_SIZE_MAX; in unlzo()
158 in_buf += skip; in unlzo()
164 in_buf = in_buf_save; in unlzo()
182 in_buf += 4; in unlzo()
208 in_buf += 8; in unlzo()
250 in_buf += src_len; in unlzo()
[all …]
A Ddecompress_unzstd.c123 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, in decompress_single() argument
142 ret = zstd_find_frame_compressed_size(in_buf, in_len); in decompress_single()
148 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single()
163 static int INIT __unzstd(unsigned char *in_buf, long in_len, in __unzstd() argument
194 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd()
202 if (in_buf == NULL) { in __unzstd()
209 in_buf = in_allocated; in __unzstd()
214 in_len = fill(in_buf, ZSTD_IOBUF_SIZE); in __unzstd()
221 in.src = in_buf; in __unzstd()
291 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1; in __unzstd()
/linux/fs/btrfs/
A Dzstd.c51 zstd_in_buffer in_buf; member
403 workspace->in_buf.pos = 0; in zstd_compress_pages()
422 &workspace->in_buf); in zstd_compress_pages()
474 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_compress_pages()
567 workspace->in_buf.pos = 0; in zstd_decompress_bio()
578 &workspace->in_buf); in zstd_decompress_bio()
601 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_decompress_bio()
617 if (workspace->in_buf.src) in zstd_decompress_bio()
644 workspace->in_buf.pos = 0; in zstd_decompress()
653 && workspace->in_buf.pos < workspace->in_buf.size) { in zstd_decompress()
[all …]
/linux/drivers/platform/chrome/
A Dcros_ec_i2c.c60 u8 *in_buf = NULL; in cros_ec_pkt_xfer_i2c() local
76 in_buf = ec_dev->din; in cros_ec_pkt_xfer_i2c()
189 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local
204 if (!in_buf) in cros_ec_cmd_xfer_i2c()
249 len = in_buf[1]; in cros_ec_cmd_xfer_i2c()
258 sum = in_buf[0] + in_buf[1]; in cros_ec_cmd_xfer_i2c()
260 msg->data[i] = in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
261 sum += in_buf[2 + i]; in cros_ec_cmd_xfer_i2c()
264 i2c_msg[1].len, in_buf, sum); in cros_ec_cmd_xfer_i2c()
265 if (sum != in_buf[2 + len]) { in cros_ec_cmd_xfer_i2c()
[all …]
/linux/fs/squashfs/
A Dzstd_wrapper.c69 zstd_in_buffer in_buf = { NULL, 0, 0 }; in zstd_uncompress() local
87 if (in_buf.pos == in_buf.size) { in zstd_uncompress()
99 in_buf.src = data + offset; in zstd_uncompress()
100 in_buf.size = avail; in zstd_uncompress()
101 in_buf.pos = 0; in zstd_uncompress()
119 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf); in zstd_uncompress()
/linux/fs/ubifs/
A Dcompress.c101 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, in ubifs_compress() argument
116 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress()
136 memcpy(out_buf, in_buf, in_len); in ubifs_compress()
153 int ubifs_decompress(const struct ubifs_info *c, const void *in_buf, in ubifs_decompress() argument
172 memcpy(out_buf, in_buf, in_len); in ubifs_decompress()
179 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
/linux/crypto/
A Drsa-pkcs1pad.c103 uint8_t *in_buf, *out_buf; member
208 kfree(req_ctx->in_buf); in pkcs1pad_encrypt_sign_complete()
250 if (!req_ctx->in_buf) in pkcs1pad_encrypt()
254 req_ctx->in_buf[0] = 0x02; in pkcs1pad_encrypt()
256 req_ctx->in_buf[i] = 1 + prandom_u32_max(255); in pkcs1pad_encrypt()
257 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_encrypt()
259 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf, in pkcs1pad_encrypt()
406 if (!req_ctx->in_buf) in pkcs1pad_sign()
410 req_ctx->in_buf[0] = 0x01; in pkcs1pad_sign()
411 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1); in pkcs1pad_sign()
[all …]
/linux/fs/cifs/
A Dtransport.c737 (in_buf->Command != SMB_COM_NEGOTIATE)) in allocate_mid()
744 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) in allocate_mid()
892 char *in_buf, int flags) in SendReceiveNoRsp() argument
899 iov[0].iov_base = in_buf; in SendReceiveNoRsp()
1379 rc = allocate_mid(ses, in_buf, &midQ); in SendReceive()
1396 rc = smb_send(server, in_buf, len); in SendReceive()
1450 struct smb_hdr *in_buf, in send_lock_cancel() argument
1455 LOCK_REQ *pSMB = (LOCK_REQ *)in_buf; in send_lock_cancel()
1466 return SendReceive(xid, ses, in_buf, out_buf, in send_lock_cancel()
1520 rc = allocate_mid(ses, in_buf, &midQ); in SendReceiveBlockingLock()
[all …]
A Dsmb1ops.c32 struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in send_nt_cancel() local
35 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel()
36 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel()
37 in_buf->WordCount = 0; in send_nt_cancel()
38 put_bcc(0, in_buf); in send_nt_cancel()
41 rc = cifs_sign_smb(in_buf, server, &mid->sequence_number); in send_nt_cancel()
53 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel()
60 get_mid(in_buf), rc); in send_nt_cancel()
/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_nsp.c171 const void *in_buf; member
455 if (arg->in_buf && arg->in_size) { in nfp_nsp_command_buf_def()
457 arg->in_buf, arg->in_size); in nfp_nsp_command_buf_def()
535 memcpy(chunks[i].chunk, arg->in_buf + off, coff); in nfp_nsp_command_buf_dma_sg()
798 .in_buf = fw->data, in nfp_nsp_load_fw()
819 .in_buf = fw->data, in nfp_nsp_write_flash()
848 .in_buf = buf, in nfp_nsp_write_eth_table()
910 .in_buf = buf, in __nfp_nsp_hwinfo_lookup()
981 .in_buf = buf, in nfp_nsp_hwinfo_set()
1054 .in_buf = buf, in __nfp_nsp_module_eeprom()
/linux/drivers/gpu/drm/i915/display/
A Ddvo_sil164.c74 u8 in_buf[2]; in sil164_readb() local
87 .buf = in_buf, in sil164_readb()
95 *ch = in_buf[0]; in sil164_readb()
A Ddvo_ivch.c197 u8 in_buf[2]; in ivch_read() local
215 .buf = in_buf, in ivch_read()
222 *data = (in_buf[1] << 8) | in_buf[0]; in ivch_read()
A Ddvo_tfp410.c99 u8 in_buf[2]; in tfp410_readb() local
112 .buf = in_buf, in tfp410_readb()
120 *ch = in_buf[0]; in tfp410_readb()
A Ddvo_ch7xxx.c141 u8 in_buf[2]; in ch7xxx_readb() local
154 .buf = in_buf, in ch7xxx_readb()
162 *ch = in_buf[0]; in ch7xxx_readb()
A Ddvo_ns2501.c398 u8 in_buf[2]; in ns2501_readb() local
411 .buf = in_buf, in ns2501_readb()
419 *ch = in_buf[0]; in ns2501_readb()
/linux/drivers/nfc/pn533/
A Dusb.c452 unsigned char *in_buf; in pn533_usb_probe() local
461 in_buf = kzalloc(in_buf_len, GFP_KERNEL); in pn533_usb_probe()
462 if (!in_buf) in pn533_usb_probe()
495 in_buf, in_buf_len, NULL, phy); in pn533_usb_probe()
566 kfree(in_buf); in pn533_usb_probe()
/linux/drivers/cxl/
A Dpmem.c134 if (struct_size(cmd, in_buf, cmd->in_length) + 4 > buf_len) in cxl_pmem_set_config_data()
145 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data()
155 put_unaligned(0, (u32 *) &cmd->in_buf[cmd->in_length]); in cxl_pmem_set_config_data()
/linux/include/uapi/linux/
A Dndctl.h39 __u8 in_buf[0]; member
45 __u8 in_buf[0]; member
/linux/net/ceph/
A Dmessenger_v2.c1029 sg_set_buf(&sgs[1], con->v2.in_buf, pt_len); in decrypt_control_remainder()
1041 MIDDLE_PAD(con->v2.in_buf), DATA_PAD(con->v2.in_buf), in decrypt_message()
1042 con->v2.in_buf, true); in decrypt_message()
1674 add_in_kvec(con, con->v2.in_buf, in prepare_read_preamble()
1695 memcpy(buf, con->v2.in_buf, CEPH_PREAMBLE_LEN); in prepare_read_control()
1730 add_in_kvec(con, con->v2.in_buf, in prepare_read_control_remainder()
1775 add_in_kvec(con, DATA_PAD(con->v2.in_buf), in prepare_read_data_cont()
2607 add_in_kvec(con, FRONT_PAD(con->v2.in_buf), in __handle_control()
2618 add_in_kvec(con, MIDDLE_PAD(con->v2.in_buf), in __handle_control()
2627 add_in_kvec(con, con->v2.in_buf, in __handle_control()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_i2c.c289 u8 in_buf[2]; in amdgpu_i2c_get_byte() local
301 .buf = in_buf, in amdgpu_i2c_get_byte()
309 *val = in_buf[0]; in amdgpu_i2c_get_byte()
/linux/drivers/acpi/nfit/
A Dcore.c442 union acpi_object in_obj, in_buf, *out_obj; in acpi_nfit_ctl() local
514 in_obj.package.elements = &in_buf; in acpi_nfit_ctl()
515 in_buf.type = ACPI_TYPE_BUFFER; in acpi_nfit_ctl()
516 in_buf.buffer.pointer = buf; in acpi_nfit_ctl()
517 in_buf.buffer.length = 0; in acpi_nfit_ctl()
527 in_buf.buffer.length = call_pkg->nd_size_in; in acpi_nfit_ctl()
534 in_buf.buffer.pointer, in acpi_nfit_ctl()
551 p->in_buf); in acpi_nfit_ctl()
615 memcpy(buf + in_buf.buffer.length + offset, in acpi_nfit_ctl()
1796 union acpi_object in_buf = { in nfit_intel_shutdown_status() local
[all …]
/linux/drivers/comedi/drivers/
A Dusbduxsigma.c148 __be32 *in_buf; member
222 val = be32_to_cpu(devpriv->in_buf[i + 1]); in usbduxsigma_ai_handle_urb()
264 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete()
1338 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers()
1342 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers()
1438 kfree(devpriv->in_buf); in usbduxsigma_free_usb_buffers()
/linux/drivers/target/iscsi/
A Discsi_target_nego.c55 const char *in_buf, in extract_param() argument
64 if (!in_buf || !pattern || !out_buf || !type) in extract_param()
67 ptr = strstr(in_buf, pattern); in extract_param()
99 char *in_buf, in iscsi_handle_authentication() argument
148 return chap_main_loop(conn, auth, in_buf, out_buf, in iscsi_handle_authentication()
/linux/drivers/crypto/
A Dmxs-dcp.c306 uint8_t *in_buf = sdcp->coh->aes_in_buf; in mxs_dcp_aes_block_crypt() local
349 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
383 memcpy(req->iv, in_buf+(last_out_len-AES_BLOCK_SIZE), in mxs_dcp_aes_block_crypt()
625 uint8_t *in_buf = sdcp->coh->sha_in_buf; in dcp_sha_req_to_buf() local
646 scatterwalk_map_and_copy(in_buf + actx->fill, src, oft, clen, in dcp_sha_req_to_buf()
/linux/drivers/soc/qcom/
A Dqmi_encdec.c65 const void *in_buf, u32 in_buf_len, int dec_level);
594 const void *in_buf, u32 in_buf_len, in qmi_decode() argument
605 const void *buf_src = in_buf; in qmi_decode()

Completed in 50 milliseconds

12