Home
last modified time | relevance | path

Searched refs:in_length (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/cxl/
Dpmem.c128 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data()
133 .length = cpu_to_le32(cmd->in_length), in cxl_pmem_get_config_data()
137 sizeof(get_lsa), cmd->out_buf, cmd->in_length); in cxl_pmem_get_config_data()
154 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
158 kvzalloc(struct_size(set_lsa, data, cmd->in_length), GFP_KERNEL); in cxl_pmem_set_config_data()
165 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data()
168 struct_size(set_lsa, data, cmd->in_length), in cxl_pmem_set_config_data()
175 put_unaligned(0, (u32 *) &cmd->in_buf[cmd->in_length]); in cxl_pmem_set_config_data()
/linux-6.1.9/include/uapi/linux/
Dndctl.h31 __u32 in_length; member
38 __u32 in_length; member
44 __u32 in_length; member
/linux-6.1.9/drivers/nvdimm/
Ddimm_devs.c102 len -= cmd->in_length, buf_offset += cmd->in_length) { in nvdimm_get_config_data()
106 cmd->in_length = min(max_cmd_size, len); in nvdimm_get_config_data()
108 cmd_size = sizeof(*cmd) + cmd->in_length; in nvdimm_get_config_data()
120 memcpy(buf + buf_offset, cmd->out_buf, cmd->in_length); in nvdimm_get_config_data()
147 for (buf_offset = 0; len; len -= cmd->in_length, in nvdimm_set_config_data()
148 buf_offset += cmd->in_length) { in nvdimm_set_config_data()
152 cmd->in_length = min(max_cmd_size, len); in nvdimm_set_config_data()
153 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
156 cmd_size = sizeof(*cmd) + cmd->in_length + sizeof(u32); in nvdimm_set_config_data()
Dbus.c862 return hdr->in_length; in nd_cmd_in_size()
866 return hdr->in_length; in nd_cmd_in_size()
/linux-6.1.9/drivers/misc/altera-stapl/
Daltera-comp.c66 u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version) in altera_shrink() argument
81 for (i = 0; i < sizeof(in_length); ++i) { in altera_shrink()
Daltera-exprt.h16 u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version);
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c105 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length, in nfp_mbox_cmd() argument
126 in_length = min(in_length, max_data_sz); in nfp_mbox_cmd()
128 in_length); in nfp_mbox_cmd()
129 if (n != in_length) in nfp_mbox_cmd()
132 err = nfp_rtsym_writeq(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, in_length); in nfp_mbox_cmd()
Dnfp_main.h168 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
/linux-6.1.9/arch/powerpc/platforms/pseries/
Dpapr_scm.c606 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_get()
609 for (len = hdr->in_length; len; len -= read) { in papr_scm_meta_get()
611 data_offset = hdr->in_length - len; in papr_scm_meta_get()
660 if ((hdr->in_offset + hdr->in_length) > p->metadata_size) in papr_scm_meta_set()
663 for (len = hdr->in_length; len; len -= wrote) { in papr_scm_meta_set()
665 data_offset = hdr->in_length - len; in papr_scm_meta_set()
/linux-6.1.9/tools/testing/nvdimm/test/
Dndtest.c204 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get()
208 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get()
219 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set()
222 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_set()
Dnfit.c474 if (nd_cmd->in_length + sizeof(*nd_cmd) > buf_len) in nfit_test_cmd_get_config_data()
478 len = min(nd_cmd->in_length, LABEL_SIZE - offset); in nfit_test_cmd_get_config_data()
496 if (nd_cmd->in_length + sizeof(*nd_cmd) + 4 > buf_len) in nfit_test_cmd_set_config_data()
499 status = (void *)nd_cmd + nd_cmd->in_length + sizeof(*nd_cmd); in nfit_test_cmd_set_config_data()
501 len = min(nd_cmd->in_length, LABEL_SIZE - offset); in nfit_test_cmd_set_config_data()
/linux-6.1.9/lib/zlib_deflate/
Ddeftree.c942 ulg in_length = (ulg)((long)s->strstart - s->block_start); local
950 s->last_lit, in_length, out_length,
951 100L - out_length*100L/in_length));
952 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/linux-6.1.9/drivers/target/iscsi/
Discsi_target_nego.c129 int in_length, in iscsi_handle_authentication() argument
148 &in_length, out_length); in iscsi_handle_authentication()
/linux-6.1.9/arch/x86/crypto/
Daesni-intel_glue.c74 u64 in_length; member
Daesni-intel_asm.S253 mov %r11, InLen(%arg2) # ctx_data.in_length = 0
Daesni-intel_avx-x86_64.S667 mov %r11, InLen(arg2) # ctx_data.in_length = 0
/linux-6.1.9/drivers/acpi/nfit/
Dcore.c545 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
550 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()