/linux-6.12.1/lib/ |
D | decompress_unlzo.c | 107 u8 *in_buf, *in_buf_save, *out_buf; in unlzo() local 127 in_buf = input; in unlzo() 132 in_buf = malloc(lzo1x_worst_compress(LZO_BLOCK_SIZE)); in unlzo() 133 if (!in_buf) { in unlzo() 138 in_buf_save = in_buf; in unlzo() 150 in_buf += HEADER_SIZE_MAX; in unlzo() 151 in_len = fill(in_buf, HEADER_SIZE_MAX); in unlzo() 154 if (!parse_header(in_buf, &skip, in_len)) { in unlzo() 158 in_buf += skip; in unlzo() 163 memcpy(in_buf_save, in_buf, in_len); in unlzo() [all …]
|
D | decompress_unzstd.c | 125 static int INIT decompress_single(const u8 *in_buf, long in_len, u8 *out_buf, in decompress_single() argument 144 ret = zstd_find_frame_compressed_size(in_buf, in_len); in decompress_single() 150 ret = zstd_decompress_dctx(dctx, out_buf, out_len, in_buf, in_len); in decompress_single() 165 static int INIT __unzstd(unsigned char *in_buf, long in_len, in __unzstd() argument 196 return decompress_single(in_buf, in_len, out_buf, out_len, in __unzstd() 204 if (in_buf == NULL) { in __unzstd() 211 in_buf = in_allocated; in __unzstd() 216 in_len = fill(in_buf, ZSTD_IOBUF_SIZE); in __unzstd() 223 in.src = in_buf; in __unzstd() 293 in_len = fill ? fill(in_buf, ZSTD_IOBUF_SIZE) : -1; in __unzstd()
|
/linux-6.12.1/fs/btrfs/ |
D | zstd.c | 53 zstd_in_buffer in_buf; member 423 workspace->in_buf.src = kmap_local_folio(in_folio, pg_off); in zstd_compress_folios() 424 workspace->in_buf.pos = 0; in zstd_compress_folios() 425 workspace->in_buf.size = cur_len; in zstd_compress_folios() 442 &workspace->in_buf); in zstd_compress_folios() 456 if (tot_in + workspace->in_buf.pos > 8192 && in zstd_compress_folios() 457 tot_in + workspace->in_buf.pos < in zstd_compress_folios() 491 if (workspace->in_buf.pos >= len) { in zstd_compress_folios() 492 tot_in += workspace->in_buf.pos; in zstd_compress_folios() 497 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_compress_folios() [all …]
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_i2c.c | 60 u8 *in_buf = NULL; in cros_ec_pkt_xfer_i2c() local 79 in_buf = ec_dev->din; in cros_ec_pkt_xfer_i2c() 81 i2c_msg[1].buf = (char *) in_buf; in cros_ec_pkt_xfer_i2c() 113 ec_response_i2c = (struct ec_host_response_i2c *) in_buf; in cros_ec_pkt_xfer_i2c() 167 in_buf + response_header_size, in cros_ec_pkt_xfer_i2c() 197 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local 211 in_buf = kzalloc(packet_len, GFP_KERNEL); in cros_ec_cmd_xfer_i2c() 212 if (!in_buf) in cros_ec_cmd_xfer_i2c() 215 i2c_msg[1].buf = (char *)in_buf; in cros_ec_cmd_xfer_i2c() 257 len = in_buf[1]; in cros_ec_cmd_xfer_i2c() [all …]
|
/linux-6.12.1/fs/erofs/ |
D | decompressor_zstd.c | 149 zstd_in_buffer in_buf = { NULL, 0, 0 }; in z_erofs_zstd_decompress() local 175 in_buf.size = min_t(u32, rq->inputsize, PAGE_SIZE - rq->pageofs_in); in z_erofs_zstd_decompress() 176 rq->inputsize -= in_buf.size; in z_erofs_zstd_decompress() 177 in_buf.src = dctx.kin + rq->pageofs_in; in z_erofs_zstd_decompress() 182 dctx.inbuf_sz = in_buf.size; in z_erofs_zstd_decompress() 183 dctx.inbuf_pos = in_buf.pos; in z_erofs_zstd_decompress() 185 (void **)&in_buf.src, pgpl); in z_erofs_zstd_decompress() 193 in_buf.size = dctx.inbuf_sz; in z_erofs_zstd_decompress() 194 in_buf.pos = dctx.inbuf_pos; in z_erofs_zstd_decompress() 196 zerr = zstd_decompress_stream(stream, &out_buf, &in_buf); in z_erofs_zstd_decompress()
|
/linux-6.12.1/fs/squashfs/ |
D | zstd_wrapper.c | 69 zstd_in_buffer in_buf = { NULL, 0, 0 }; in zstd_uncompress() local 91 if (in_buf.pos == in_buf.size) { in zstd_uncompress() 103 in_buf.src = data + offset; in zstd_uncompress() 104 in_buf.size = avail; in zstd_uncompress() 105 in_buf.pos = 0; in zstd_uncompress() 126 zstd_err = zstd_decompress_stream(stream, &out_buf, &in_buf); in zstd_uncompress()
|
/linux-6.12.1/drivers/acpi/ |
D | pfr_telemetry.c | 83 union acpi_object *out_obj, in_obj, in_buf; in get_pfrt_log_data_info() local 88 memset(&in_buf, 0, sizeof(in_buf)); in get_pfrt_log_data_info() 91 in_obj.package.elements = &in_buf; in get_pfrt_log_data_info() 92 in_buf.type = ACPI_TYPE_INTEGER; in get_pfrt_log_data_info() 93 in_buf.integer.value = pfrt_log_dev->info.log_type; in get_pfrt_log_data_info() 155 union acpi_object *out_obj, *obj, in_obj, in_buf; in set_pfrt_log_level() local 160 memset(&in_buf, 0, sizeof(in_buf)); in set_pfrt_log_level() 163 in_obj.package.elements = &in_buf; in set_pfrt_log_level() 164 in_buf.type = ACPI_TYPE_INTEGER; in set_pfrt_log_level() 165 in_buf.integer.value = level; in set_pfrt_log_level()
|
D | pfr_update.c | 332 union acpi_object *out_obj, in_obj, in_buf; in start_update() local 338 memset(&in_buf, 0, sizeof(in_buf)); in start_update() 341 in_obj.package.elements = &in_buf; in start_update() 342 in_buf.type = ACPI_TYPE_INTEGER; in start_update() 343 in_buf.integer.value = action; in start_update()
|
/linux-6.12.1/fs/ubifs/ |
D | compress.c | 102 void ubifs_compress(const struct ubifs_info *c, const void *in_buf, in ubifs_compress() argument 117 err = crypto_comp_compress(compr->cc, in_buf, in_len, out_buf, in ubifs_compress() 137 memcpy(out_buf, in_buf, in_len); in ubifs_compress() 155 int ubifs_decompress(const struct ubifs_info *c, const void *in_buf, in ubifs_decompress() argument 174 memcpy(out_buf, in_buf, in_len); in ubifs_decompress() 181 err = crypto_comp_decompress(compr->cc, in_buf, in_len, out_buf, in ubifs_decompress()
|
/linux-6.12.1/crypto/ |
D | rsa-pkcs1pad.c | 126 uint8_t *in_buf, *out_buf; member 231 kfree(req_ctx->in_buf); in pkcs1pad_encrypt_sign_complete() 268 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len, in pkcs1pad_encrypt() 270 if (!req_ctx->in_buf) in pkcs1pad_encrypt() 274 req_ctx->in_buf[0] = 0x02; in pkcs1pad_encrypt() 276 req_ctx->in_buf[i] = get_random_u32_inclusive(1, 255); in pkcs1pad_encrypt() 277 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_encrypt() 279 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf, in pkcs1pad_encrypt() 422 req_ctx->in_buf = kmalloc(ctx->key_size - 1 - req->src_len, in pkcs1pad_sign() 424 if (!req_ctx->in_buf) in pkcs1pad_sign() [all …]
|
/linux-6.12.1/fs/smb/client/ |
D | transport.c | 707 static int allocate_mid(struct cifs_ses *ses, struct smb_hdr *in_buf, in allocate_mid() argument 712 if ((in_buf->Command != SMB_COM_SESSION_SETUP_ANDX) && in allocate_mid() 713 (in_buf->Command != SMB_COM_NEGOTIATE)) { in allocate_mid() 722 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) { in allocate_mid() 730 *ppmidQ = alloc_mid(in_buf, ses->server); in allocate_mid() 873 char *in_buf, int flags) in SendReceiveNoRsp() argument 880 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 881 iov[0].iov_len = get_rfc1002_length(in_buf) + 4; in SendReceiveNoRsp() 1359 struct smb_hdr *in_buf, struct smb_hdr *out_buf, in SendReceive() argument 1364 unsigned int len = be32_to_cpu(in_buf->smb_buf_length); in SendReceive() [all …]
|
D | smb1ops.c | 33 struct smb_hdr *in_buf = (struct smb_hdr *)rqst->rq_iov[0].iov_base; in send_nt_cancel() local 36 in_buf->smb_buf_length = cpu_to_be32(sizeof(struct smb_hdr) - 4 + 2); in send_nt_cancel() 37 in_buf->Command = SMB_COM_NT_CANCEL; in send_nt_cancel() 38 in_buf->WordCount = 0; in send_nt_cancel() 39 put_bcc(0, in_buf); in send_nt_cancel() 42 rc = cifs_sign_smb(in_buf, server, &mid->sequence_number); in send_nt_cancel() 54 rc = smb_send(server, in_buf, be32_to_cpu(in_buf->smb_buf_length)); in send_nt_cancel() 61 get_mid(in_buf), rc); in send_nt_cancel()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 172 const void *in_buf; member 456 if (arg->in_buf && arg->in_size) { in nfp_nsp_command_buf_def() 458 arg->in_buf, arg->in_size); in nfp_nsp_command_buf_def() 536 memcpy(chunks[i].chunk, arg->in_buf + off, coff); in nfp_nsp_command_buf_dma_sg() 799 .in_buf = fw->data, in nfp_nsp_load_fw() 820 .in_buf = fw->data, in nfp_nsp_write_flash() 849 .in_buf = buf, in nfp_nsp_write_eth_table() 911 .in_buf = buf, in __nfp_nsp_hwinfo_lookup() 982 .in_buf = buf, in nfp_nsp_hwinfo_set() 1055 .in_buf = buf, in __nfp_nsp_module_eeprom() [all …]
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | dvo_sil164.c | 78 u8 in_buf[2]; in sil164_readb() local 91 .buf = in_buf, in sil164_readb() 99 *ch = in_buf[0]; in sil164_readb()
|
D | dvo_ivch.c | 197 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()
|
D | dvo_tfp410.c | 99 u8 in_buf[2]; in tfp410_readb() local 112 .buf = in_buf, in tfp410_readb() 120 *ch = in_buf[0]; in tfp410_readb()
|
D | dvo_ch7xxx.c | 152 u8 in_buf[2]; in ch7xxx_readb() local 165 .buf = in_buf, in ch7xxx_readb() 173 *ch = in_buf[0]; in ch7xxx_readb()
|
D | dvo_ns2501.c | 397 u8 in_buf[2]; in ns2501_readb() local 410 .buf = in_buf, in ns2501_readb() 418 *ch = in_buf[0]; in ns2501_readb()
|
/linux-6.12.1/drivers/nfc/pn533/ |
D | usb.c | 490 unsigned char *in_buf; in pn533_usb_probe() local 499 in_buf = kzalloc(in_buf_len, GFP_KERNEL); in pn533_usb_probe() 500 if (!in_buf) in pn533_usb_probe() 533 in_buf, in_buf_len, NULL, phy); in pn533_usb_probe() 604 kfree(in_buf); in pn533_usb_probe()
|
/linux-6.12.1/include/uapi/linux/ |
D | ndctl.h | 39 __u8 in_buf[]; member 45 __u8 in_buf[]; member
|
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_i2c.c | 288 u8 in_buf[2]; in amdgpu_i2c_get_byte() local 300 .buf = in_buf, in amdgpu_i2c_get_byte() 312 *val = in_buf[0]; in amdgpu_i2c_get_byte()
|
/linux-6.12.1/drivers/cxl/ |
D | pmem.c | 164 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data() 175 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data() 188 put_unaligned(0, (u32 *) &cmd->in_buf[cmd->in_length]); in cxl_pmem_set_config_data()
|
/linux-6.12.1/drivers/acpi/nfit/ |
D | core.c | 442 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() 521 in_buf.buffer.length += nd_cmd_in_size(nvdimm, cmd, desc, in acpi_nfit_ctl() 526 in_buf.buffer.pointer = (void *) &call_pkg->nd_payload; in acpi_nfit_ctl() 527 in_buf.buffer.length = call_pkg->nd_size_in; in acpi_nfit_ctl() 531 dimm_name, cmd, family, func, in_buf.buffer.length); in acpi_nfit_ctl() 534 in_buf.buffer.pointer, in acpi_nfit_ctl() [all …]
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | usbduxsigma.c | 147 __be32 *in_buf; member 221 val = be32_to_cpu(devpriv->in_buf[i + 1]); in usbduxsigma_ai_handle_urb() 263 memcpy(devpriv->in_buf, urb->transfer_buffer, SIZEINBUF); in usbduxsigma_ai_urb_complete() 1337 devpriv->in_buf = kzalloc(SIZEINBUF, GFP_KERNEL); in usbduxsigma_alloc_usb_buffers() 1341 if (!devpriv->dux_commands || !devpriv->in_buf || !devpriv->insn_buf || in usbduxsigma_alloc_usb_buffers() 1437 kfree(devpriv->in_buf); in usbduxsigma_free_usb_buffers()
|
/linux-6.12.1/net/ceph/ |
D | messenger_v2.c | 1064 sg_init_one(&sg, con->v2.in_buf, CEPH_PREAMBLE_SECURE_LEN); in decrypt_preamble() 1080 sg_set_buf(&sgs[1], con->v2.in_buf, pt_len); in decrypt_control_remainder() 1148 ret = setup_message_sgs(&sgt, con->in_msg, FRONT_PAD(con->v2.in_buf), in decrypt_tail() 1149 MIDDLE_PAD(con->v2.in_buf), DATA_PAD(con->v2.in_buf), in decrypt_tail() 1150 con->v2.in_buf, pages, dpos, true); in decrypt_tail() 1798 add_in_kvec(con, con->v2.in_buf, in prepare_read_preamble() 1819 memcpy(buf, con->v2.in_buf, CEPH_PREAMBLE_LEN); in prepare_read_control() 1832 add_in_kvec(con, CTRL_BODY(con->v2.in_buf), ctrl_len); in prepare_read_control() 1834 add_in_kvec(con, con->v2.in_buf, CEPH_CRC_LEN); in prepare_read_control() 1850 memcpy(buf, CTRL_BODY(con->v2.in_buf), CEPH_PREAMBLE_INLINE_LEN); in prepare_read_control_remainder() [all …]
|