Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cxl/
H A Dpmem.c129 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data()
134 .length = cpu_to_le32(cmd->in_length), in cxl_pmem_get_config_data()
140 .size_out = cmd->in_length, in cxl_pmem_get_config_data()
162 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
166 kvzalloc(struct_size(set_lsa, data, cmd->in_length), GFP_KERNEL); in cxl_pmem_set_config_data()
173 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data()
177 .size_in = struct_size(set_lsa, data, cmd->in_length), in cxl_pmem_set_config_data()
186 put_unaligned(0, (u32 *) &cmd->in_buf[cmd->in_length]); in cxl_pmem_set_config_data()
/openbmc/linux/include/uapi/linux/
H A Dndctl.h31 __u32 in_length; member
38 __u32 in_length; member
44 __u32 in_length; member
/openbmc/linux/drivers/nvdimm/
H A 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()
H A Dbus.c875 return hdr->in_length; in nd_cmd_in_size()
879 return hdr->in_length; in nd_cmd_in_size()
/openbmc/linux/drivers/misc/altera-stapl/
H A 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()
H A Daltera-exprt.h16 u32 altera_shrink(u8 *in, u32 in_length, u8 *out, u32 out_length, s32 version);
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A 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()
H A Dnfp_main.h168 int nfp_mbox_cmd(struct nfp_pf *pf, u32 cmd, void *in_data, u64 in_length,
/openbmc/linux/arch/powerpc/platforms/pseries/
H A 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()
/openbmc/linux/lib/zlib_deflate/
H A 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;
/openbmc/linux/tools/testing/nvdimm/test/
H A 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()
H A 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()
/openbmc/u-boot/lib/zlib/
H A Dtrees.c1053 ulg in_length = (ulg)((long)s->strstart - s->block_start); local
1061 s->last_lit, in_length, out_length,
1062 100L - out_length*100L/in_length));
1063 if (s->matches < s->last_lit/2 && out_length < in_length/2) return 1;
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_nego.c130 int in_length, in iscsi_handle_authentication() argument
149 &in_length, out_length); in iscsi_handle_authentication()
/openbmc/linux/arch/x86/crypto/
H A Daesni-intel_glue.c74 u64 in_length; member
H A Daesni-intel_asm.S253 mov %r11, InLen(%arg2) # ctx_data.in_length = 0
H A Daesni-intel_avx-x86_64.S645 mov %r11, InLen(arg2) # ctx_data.in_length = 0
/openbmc/linux/drivers/acpi/nfit/
H A 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()