/linux-6.3-rc2/lib/ |
A D | decompress_unlzo.c | 107 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 D | decompress_unzstd.c | 123 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-6.3-rc2/fs/btrfs/ |
A D | zstd.c | 51 zstd_in_buffer in_buf; member 407 workspace->in_buf.pos = 0; in zstd_compress_pages() 426 &workspace->in_buf); in zstd_compress_pages() 476 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_compress_pages() 563 workspace->in_buf.pos = 0; in zstd_decompress_bio() 574 &workspace->in_buf); in zstd_decompress_bio() 597 if (workspace->in_buf.pos == workspace->in_buf.size) { in zstd_decompress_bio() 614 if (workspace->in_buf.src) in zstd_decompress_bio() 641 workspace->in_buf.pos = 0; in zstd_decompress() 650 && workspace->in_buf.pos < workspace->in_buf.size) { in zstd_decompress() [all …]
|
/linux-6.3-rc2/drivers/platform/chrome/ |
A 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() 197 u8 *in_buf = NULL; in cros_ec_cmd_xfer_i2c() local 212 if (!in_buf) in cros_ec_cmd_xfer_i2c() 257 len = in_buf[1]; in cros_ec_cmd_xfer_i2c() 266 sum = in_buf[0] + in_buf[1]; in cros_ec_cmd_xfer_i2c() 268 msg->data[i] = in_buf[2 + i]; in cros_ec_cmd_xfer_i2c() 269 sum += in_buf[2 + i]; in cros_ec_cmd_xfer_i2c() 272 i2c_msg[1].len, in_buf, sum); in cros_ec_cmd_xfer_i2c() 273 if (sum != in_buf[2 + len]) { in cros_ec_cmd_xfer_i2c() [all …]
|
/linux-6.3-rc2/fs/squashfs/ |
A 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.3-rc2/fs/ubifs/ |
A D | compress.c | 101 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-6.3-rc2/drivers/acpi/ |
A 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()
|
A 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.3-rc2/crypto/ |
A D | rsa-pkcs1pad.c | 103 uint8_t *in_buf, *out_buf; member 208 kfree(req_ctx->in_buf); in pkcs1pad_encrypt_sign_complete() 247 if (!req_ctx->in_buf) in pkcs1pad_encrypt() 251 req_ctx->in_buf[0] = 0x02; in pkcs1pad_encrypt() 254 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_encrypt() 256 pkcs1pad_sg_set_buf(req_ctx->in_sg, req_ctx->in_buf, in pkcs1pad_encrypt() 401 if (!req_ctx->in_buf) in pkcs1pad_sign() 405 req_ctx->in_buf[0] = 0x01; in pkcs1pad_sign() 406 memset(req_ctx->in_buf + 1, 0xff, ps_end - 1); in pkcs1pad_sign() 407 req_ctx->in_buf[ps_end] = 0x00; in pkcs1pad_sign() [all …]
|
/linux-6.3-rc2/fs/cifs/ |
A D | transport.c | 698 (in_buf->Command != SMB_COM_NEGOTIATE)) { in allocate_mid() 707 if (in_buf->Command != SMB_COM_LOGOFF_ANDX) { in allocate_mid() 715 *ppmidQ = alloc_mid(in_buf, ses->server); in allocate_mid() 859 char *in_buf, int flags) in SendReceiveNoRsp() argument 866 iov[0].iov_base = in_buf; in SendReceiveNoRsp() 1383 rc = allocate_mid(ses, in_buf, &midQ); in SendReceive() 1400 rc = smb_send(server, in_buf, len); in SendReceive() 1454 struct smb_hdr *in_buf, in send_lock_cancel() argument 1459 LOCK_REQ *pSMB = (LOCK_REQ *)in_buf; in send_lock_cancel() 1528 rc = allocate_mid(ses, in_buf, &midQ); in SendReceiveBlockingLock() [all …]
|
A 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.3-rc2/drivers/net/ethernet/netronome/nfp/nfpcore/ |
A 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.3-rc2/drivers/gpu/drm/i915/display/ |
A 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()
|
A 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()
|
A 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()
|
A 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()
|
A D | dvo_ns2501.c | 398 u8 in_buf[2]; in ns2501_readb() local 411 .buf = in_buf, in ns2501_readb() 419 *ch = in_buf[0]; in ns2501_readb()
|
/linux-6.3-rc2/drivers/nfc/pn533/ |
A 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.3-rc2/include/uapi/linux/ |
A D | ndctl.h | 39 __u8 in_buf[]; member 45 __u8 in_buf[]; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_i2c.c | 289 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-6.3-rc2/drivers/cxl/ |
A D | pmem.c | 161 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data() 172 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data() 185 put_unaligned(0, (u32 *) &cmd->in_buf[cmd->in_length]); in cxl_pmem_set_config_data()
|
/linux-6.3-rc2/drivers/acpi/nfit/ |
A 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() 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() 1721 union acpi_object in_buf = { in nfit_intel_shutdown_status() local [all …]
|
/linux-6.3-rc2/drivers/comedi/drivers/ |
A 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.3-rc2/net/ceph/ |
A D | messenger_v2.c | 1026 sg_set_buf(&sgs[1], con->v2.in_buf, pt_len); in decrypt_control_remainder() 1047 MIDDLE_PAD(con->v2.in_buf), DATA_PAD(con->v2.in_buf), in decrypt_tail() 1048 con->v2.in_buf, true); in decrypt_tail() 1690 add_in_kvec(con, con->v2.in_buf, in prepare_read_preamble() 1711 memcpy(buf, con->v2.in_buf, CEPH_PREAMBLE_LEN); in prepare_read_control() 1724 add_in_kvec(con, CTRL_BODY(con->v2.in_buf), ctrl_len); in prepare_read_control() 1726 add_in_kvec(con, con->v2.in_buf, CEPH_CRC_LEN); in prepare_read_control() 1746 add_in_kvec(con, con->v2.in_buf, in prepare_read_control_remainder() 2742 ret = decode_preamble(con->v2.in_buf, desc); in handle_preamble() 2761 return __handle_control(con, CTRL_BODY(con->v2.in_buf)); in handle_preamble() [all …]
|
/linux-6.3-rc2/drivers/soc/qcom/ |
A D | qmi_encdec.c | 65 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()
|