/linux-6.12.1/lib/ |
D | decompress_unxz.c | 258 STATIC int INIT unxz(unsigned char *in, long in_size, in unxz() argument 303 b.in_size = in_size; in unxz() 310 if (b.in_pos == b.in_size && fill != NULL) { in unxz() 316 in_size = fill(in, XZ_IOBUF_SIZE); in unxz() 317 if (in_size < 0) { in unxz() 327 b.in_size = in_size; in unxz() 405 STATIC int INIT __decompress(unsigned char *in, long in_size, in __decompress() argument 412 return unxz(in, in_size, fill, flush, out, in_used, error); in __decompress()
|
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/ |
D | hinic_hw_mbox.h | 30 void *buf_in, u16 in_size); 66 u16 in_size, void *buf_out, u16 *out_size); 68 u16 in_size, void *buf_out, u16 *out_size); 127 void *buf_in, u16 in_size, 132 void *buf_in, u16 in_size); 137 u16 in_size, u8 size); 158 u8 cmd, void *buf_in, u16 in_size, void *buf_out, 163 void *buf_in, u16 in_size, void *buf_out, 168 u16 in_size, void *buf_out, u16 *out_size, u32 timeout);
|
D | hinic_hw_mbox.c | 187 const void *buf_in, u16 in_size, u16 offset) in check_func_id() argument 191 if (in_size < offset + sizeof(func_idx)) { in check_func_id() 194 in_size, offset); in check_func_id() 211 void *buf_in, u16 in_size) in hinic_mbox_check_func_id_8B() argument 213 return check_func_id(hwdev, func_idx, buf_in, in_size, in hinic_mbox_check_func_id_8B() 1001 void *buf_in, u16 in_size, void *buf_out, in hinic_mbox_to_func() argument 1019 err = send_mbox_to_func(func_to_func, mod, cmd, buf_in, in_size, in hinic_mbox_to_func() 1051 void *buf_in, u16 in_size) in mbox_func_params_valid() argument 1053 if (in_size > HINIC_MBOX_DATA_SIZE) { in mbox_func_params_valid() 1056 in_size, HINIC_MBOX_DATA_SIZE); in mbox_func_params_valid() [all …]
|
D | hinic_hw_mgmt.c | 33 #define MSG_SZ_IS_VALID(in_size) ((in_size) <= MAX_MSG_LEN) argument 86 u16 in_size, void *buf_out, in hinic_register_mgmt_msg_cb() argument 247 u8 *buf_in, u16 in_size, in msg_to_mgmt_sync() argument 273 err = send_msg_to_mgmt(pf_to_mgmt, mod, cmd, buf_in, in_size, in msg_to_mgmt_sync() 321 u8 *buf_in, u16 in_size, in msg_to_mgmt_async() argument 330 err = send_msg_to_mgmt(pf_to_mgmt, mod, cmd, buf_in, in_size, in msg_to_mgmt_async() 352 void *buf_in, u16 in_size, void *buf_out, u16 *out_size, in hinic_msg_to_mgmt() argument 364 if (!MSG_SZ_IS_VALID(in_size)) { in hinic_msg_to_mgmt() 374 in_size, buf_out, out_size, timeout); in hinic_msg_to_mgmt() 381 return msg_to_mgmt_sync(pf_to_mgmt, mod, cmd, buf_in, in_size, in hinic_msg_to_mgmt()
|
D | hinic_hw_dev.c | 209 void *buf_in, u16 in_size, void *buf_out, u16 *out_size) in hinic_port_msg_cmd() argument 216 buf_in, in_size, buf_out, out_size, in hinic_port_msg_cmd() 221 void *buf_in, u16 in_size, void *buf_out, in hinic_hilink_msg_cmd() argument 229 buf_in, in_size, buf_out, out_size, in hinic_hilink_msg_cmd() 531 u16 in_size, void *buf_out, in hinic_hwdev_cb_register() argument 587 u16 in_size, void *buf_out, u16 *out_size) in nic_mgmt_msg_handler() argument 617 in_size, buf_out, out_size); in nic_mgmt_msg_handler() 664 u16 in_size, void *buf_out, u16 *out_size) in comm_mgmt_msg_handler() argument 677 (&pfhwdev->hwdev, buf_in, in_size, in comm_mgmt_msg_handler() 692 static void pf_fault_event_handler(void *dev, void *buf_in, u16 in_size, in pf_fault_event_handler() argument [all …]
|
D | hinic_hw_mgmt.h | 122 void *buf_in, u16 in_size, 165 u16 in_size, void *buf_out, 173 void *buf_in, u16 in_size, void *buf_out, u16 *out_size,
|
D | hinic_sriov.c | 258 void *buf_in, u16 in_size, in hinic_register_vf_msg_handler() argument 287 void *buf_in, u16 in_size, in hinic_unregister_vf_msg_handler() argument 304 void *buf_in, u16 in_size, in hinic_change_vf_mtu_msg_handler() argument 311 in_size, buf_out, out_size); in hinic_change_vf_mtu_msg_handler() 322 void *buf_in, u16 in_size, in hinic_get_vf_mac_msg_handler() argument 341 void *buf_in, u16 in_size, in hinic_set_vf_mac_msg_handler() argument 363 in_size, buf_out, out_size); in hinic_set_vf_mac_msg_handler() 375 void *buf_in, u16 in_size, in hinic_del_vf_mac_msg_handler() argument 396 in_size, buf_out, out_size); in hinic_del_vf_mac_msg_handler() 407 void *buf_in, u16 in_size, in hinic_get_vf_link_status_msg_handler() argument [all …]
|
D | hinic_hw_dev.h | 441 u16 in_size, void *buf_out, 450 typedef void (*comm_mgmt_self_msg_proc)(void *handle, void *buf_in, u16 in_size, 613 u16 in_size, void *buf_out, 620 void *buf_in, u16 in_size, void *buf_out, 624 void *buf_in, u16 in_size, void *buf_out,
|
/linux-6.12.1/lib/xz/ |
D | xz_dec_test.c | 75 buffers.in_size = 0; in xz_dec_test_open() 121 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write() 123 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write() 124 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write() 127 buf += buffers.in_size; in xz_dec_test_write() 128 remaining -= buffers.in_size; in xz_dec_test_write() 144 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
|
D | xz_dec_stream.c | 159 b->in_size - b->in_pos, s->temp.size - s->temp.pos); in fill_temp() 175 size_t *in_pos, size_t in_size) in dec_vli() argument 182 while (*in_pos < in_size) { in dec_vli() 300 ret = dec_vli(s, b->in, &b->in_pos, b->in_size); in dec_index() 348 if (b->in_pos == b->in_size) in crc32_validate() 372 if (b->in_pos == b->in_size) in check_skip() 589 if (b->in_pos == b->in_size) in dec_main() 642 if (b->in_pos == b->in_size) in dec_main() 682 if (b->in_pos == b->in_size) { in dec_main() 764 ret = b->in_pos == b->in_size in xz_dec_run()
|
D | xz_dec_lzma2.c | 382 while (*left > 0 && b->in_pos < b->in_size in dict_uncompressed() 384 copy_size = min(b->in_size - b->in_pos, in dict_uncompressed() 483 if (b->in_pos == b->in_size) in rc_read_init() 883 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 925 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 933 s->rc.in_limit = b->in_size - LZMA_IN_REQUIRED; in lzma2_lzma() 946 in_avail = b->in_size - b->in_pos; in lzma2_lzma() 967 while (b->in_pos < b->in_size || s->lzma2.sequence == SEQ_LZMA_RUN) { in xz_dec_lzma2_run() 1118 || (b->in_pos == b->in_size in xz_dec_lzma2_run() 1225 if (b->in_pos >= b->in_size) in xz_dec_microlzma_run() [all …]
|
/linux-6.12.1/drivers/dma-buf/ |
D | dma-heap.c | 131 unsigned int in_size, out_size, drv_size, ksize; in dma_heap_ioctl() local 145 in_size = out_size; in dma_heap_ioctl() 147 in_size = 0; in dma_heap_ioctl() 150 ksize = max(max(in_size, out_size), drv_size); in dma_heap_ioctl() 159 if (copy_from_user(kdata, (void __user *)arg, in_size) != 0) { in dma_heap_ioctl() 165 if (ksize > in_size) in dma_heap_ioctl() 166 memset(kdata + in_size, 0, ksize - in_size); in dma_heap_ioctl()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 173 unsigned int in_size; 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() 463 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) { in nfp_nsp_command_buf_def() 464 err = nfp_cpp_write(cpp, cpp_id, cpp_buf + arg->in_size, in nfp_nsp_command_buf_def() 465 arg->out_buf, arg->out_size - arg->in_size); in nfp_nsp_command_buf_def() 534 if (arg->in_size > off) { in nfp_nsp_command_buf_dma_sg() 535 coff = min_t(u64, arg->in_size - off, chunk_size); in nfp_nsp_command_buf_dma_sg() 679 if (arg->out_buf && arg->out_size && arg->out_size > arg->in_size) in nfp_nsp_command_buf() 680 memset(arg->out_buf, 0, arg->out_size - arg->in_size); in nfp_nsp_command_buf() [all …]
|
/linux-6.12.1/drivers/media/platform/nxp/imx8-isi/ |
D | imx8-isi-hw.c | 120 const struct v4l2_area *in_size, in mxc_isi_channel_set_scaling() argument 129 in_size->width, in_size->height, in mxc_isi_channel_set_scaling() 132 xscale = mxc_isi_channel_scaling_ratio(in_size->width, out_size->width, in mxc_isi_channel_set_scaling() 134 yscale = mxc_isi_channel_scaling_ratio(in_size->height, out_size->height, in mxc_isi_channel_set_scaling() 165 *bypass = in_size->height == out_size->height && in mxc_isi_channel_set_scaling() 166 in_size->width == out_size->width; in mxc_isi_channel_set_scaling() 353 const struct v4l2_area *in_size, in mxc_isi_channel_config() argument 364 CHNL_IMG_CFG_HEIGHT(in_size->height) | in mxc_isi_channel_config() 365 CHNL_IMG_CFG_WIDTH(in_size->width)); in mxc_isi_channel_config() 368 mxc_isi_channel_set_scaling(pipe, in_encoding, in_size, scale, in mxc_isi_channel_config()
|
/linux-6.12.1/fs/fuse/ |
D | ioctl.c | 230 size_t in_size, out_size, c; in fuse_do_ioctl() local 293 inarg.in_size = in_size = iov_length(in_iov, in_iovs); in fuse_do_ioctl() 301 max_pages = DIV_ROUND_UP(max(in_size, out_size), PAGE_SIZE); in fuse_do_ioctl() 321 if (in_size) { in fuse_do_ioctl() 323 ap.args.in_args[1].size = in_size; in fuse_do_ioctl() 327 iov_iter_init(&ii, ITER_SOURCE, in_iov, in_iovs, in_size); in fuse_do_ioctl() 459 inarg.in_size = size; in fuse_priv_ioctl() 466 args.in_args[1].size = inarg.in_size; in fuse_priv_ioctl()
|
/linux-6.12.1/fs/erofs/ |
D | decompressor_lzma.c | 189 buf.in_size = min(rq->inputsize, PAGE_SIZE - rq->pageofs_in); in z_erofs_lzma_decompress() 190 rq->inputsize -= buf.in_size; in z_erofs_lzma_decompress() 195 dctx.inbuf_sz = buf.in_size; in z_erofs_lzma_decompress() 206 buf.in_size = dctx.inbuf_sz; in z_erofs_lzma_decompress() 211 DBG_BUGON(buf.in_pos > buf.in_size); in z_erofs_lzma_decompress()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_gsc_proxy.c | 91 u32 in_size; in proxy_send_to_csme() local 99 in_size = hdr->message_size - sizeof(struct intel_gsc_mtl_header); in proxy_send_to_csme() 102 if (in_size < sizeof(struct intel_gsc_proxy_header) || in proxy_send_to_csme() 103 in_size > GSC_PROXY_MAX_MSG_SIZE) { in proxy_send_to_csme() 104 gt_err(gt, "Invalid CSME message size: %u\n", in_size); in proxy_send_to_csme() 108 ret = comp->ops->send(comp->mei_dev, in, in_size); in proxy_send_to_csme()
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_ioctl.c | 773 unsigned int in_size, out_size, drv_size, ksize; in drm_ioctl() local 803 out_size = in_size = _IOC_SIZE(cmd); in drm_ioctl() 805 in_size = 0; in drm_ioctl() 808 ksize = max(max(in_size, out_size), drv_size); in drm_ioctl() 834 if (copy_from_user(kdata, (void __user *)arg, in_size) != 0) { in drm_ioctl() 839 if (ksize > in_size) in drm_ioctl() 840 memset(kdata + in_size, 0, ksize - in_size); in drm_ioctl()
|
/linux-6.12.1/drivers/watchdog/ |
D | intel-mid_wdt.c | 58 int ret, in_size; in wdt_start() local 71 in_size = DIV_ROUND_UP(sizeof(ipc_wd_start), 4); in wdt_start() 74 sizeof(ipc_wd_start), in_size); in wdt_start()
|
/linux-6.12.1/fs/squashfs/ |
D | xz_wrapper.c | 130 stream->buf.in_size = 0; in squashfs_xz_uncompress() 142 if (stream->buf.in_pos == stream->buf.in_size) { in squashfs_xz_uncompress() 156 stream->buf.in_size = avail; in squashfs_xz_uncompress()
|
/linux-6.12.1/drivers/base/firmware_loader/ |
D | main.c | 312 size_t in_size, const void *in_buffer) in fw_decompress_zstd() argument 325 if (zstd_get_frame_header(¶ms, in_buffer, in_size) || in fw_decompress_zstd() 350 len = zstd_decompress_dctx(ctx, out_buf, out_size, in_buffer, in_size); in fw_decompress_zstd() 387 size_t in_size, const void *in_buffer) in fw_decompress_xz_single() argument 397 xz_buf.in_size = in_size; in fw_decompress_xz_single() 413 size_t in_size, const void *in_buffer) in fw_decompress_xz_pages() argument 425 xz_buf.in_size = in_size; in fw_decompress_xz_pages() 460 size_t in_size, const void *in_buffer) in fw_decompress_xz() argument 464 return fw_decompress_xz_single(dev, fw_priv, in_size, in_buffer); in fw_decompress_xz() 466 return fw_decompress_xz_pages(dev, fw_priv, in_size, in_buffer); in fw_decompress_xz() [all …]
|
/linux-6.12.1/drivers/platform/chrome/ |
D | cros_ec_ishtp.c | 165 u8 *in_msg, size_t in_size) in ish_send() argument 178 client_data->response.max_size = in_size; in ish_send() 469 size_t in_size = sizeof(struct cros_ish_in_msg) + msg->insize; in cros_ec_pkt_xfer_ish() local 473 if (in_size > ec_dev->din_size) { in cros_ec_pkt_xfer_ish() 476 in_size, ec_dev->din_size); in cros_ec_pkt_xfer_ish() 515 (u8 *)in_msg, in_size); in cros_ec_pkt_xfer_ish()
|
/linux-6.12.1/drivers/crypto/intel/keembay/ |
D | keembay-ocs-aes-core.c | 724 u32 in_size; /* The length of the data to be mapped by src_dll. */ in kmb_ocs_aead_dma_prepare() local 745 in_size = req->cryptlen - tag_size; in kmb_ocs_aead_dma_prepare() 748 out_size = in_size; in kmb_ocs_aead_dma_prepare() 759 tag_size, req->assoclen + in_size); in kmb_ocs_aead_dma_prepare() 768 in_size = req->cryptlen; in kmb_ocs_aead_dma_prepare() 775 out_size = (rctx->mode == OCS_MODE_CCM) ? in_size + tag_size : in kmb_ocs_aead_dma_prepare() 776 in_size; in kmb_ocs_aead_dma_prepare() 778 dst_size = req->assoclen + in_size + tag_size; in kmb_ocs_aead_dma_prepare() 780 *src_dll_size = in_size; in kmb_ocs_aead_dma_prepare() 841 &rctx->src_dll, in_size, in kmb_ocs_aead_dma_prepare() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_dpcd.c | 141 const uint32_t in_size, in dpcd_extend_address_range() argument 146 const uint32_t end_address = END_ADDRESS(in_address, in_size); in dpcd_extend_address_range() 162 *out_size = in_size; in dpcd_extend_address_range()
|
/linux-6.12.1/drivers/firmware/efi/ |
D | memattr.c | 59 u64 in_size = in->num_pages << EFI_PAGE_SHIFT; in entry_is_valid() local 102 if (md_paddr + md_size < in_paddr + in_size) { in entry_is_valid()
|