Home
last modified time | relevance | path

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

/linux/drivers/cxl/
H A Dpmem.c130 if (struct_size(cmd, out_buf, cmd->in_length) > buf_len) in cxl_pmem_get_config_data()
135 .length = cpu_to_le32(cmd->in_length), in cxl_pmem_get_config_data()
141 .size_out = cmd->in_length, in cxl_pmem_get_config_data()
164 if (size_add(struct_size(cmd, in_buf, cmd->in_length), 4) > buf_len) in cxl_pmem_set_config_data()
168 kvzalloc(struct_size(set_lsa, data, cmd->in_length), GFP_KERNEL); in cxl_pmem_set_config_data()
175 memcpy(set_lsa->data, cmd->in_buf, cmd->in_length); in cxl_pmem_set_config_data()
179 .size_in = struct_size(set_lsa, data, 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/drivers/nvdimm/
H A Ddimm_devs.c104 len -= cmd->in_length, buf_offset += cmd->in_length) { in nvdimm_get_config_data()
108 cmd->in_length = min(max_cmd_size, len); in nvdimm_get_config_data()
110 cmd_size = sizeof(*cmd) + cmd->in_length; in nvdimm_get_config_data()
122 memcpy(buf + buf_offset, cmd->out_buf, cmd->in_length); in nvdimm_get_config_data()
149 for (buf_offset = 0; len; len -= cmd->in_length, in nvdimm_set_config_data()
150 buf_offset += cmd->in_length) { in nvdimm_set_config_data()
154 cmd->in_length = min(max_cmd_size, len); in nvdimm_set_config_data()
155 memcpy(cmd->in_buf, buf + buf_offset, cmd->in_length); in nvdimm_set_config_data()
158 cmd_size = sizeof(*cmd) + cmd->in_length + sizeof(u32); in nvdimm_set_config_data()
H A Dbus.c878 return hdr->in_length; in nd_cmd_in_size()
882 return hdr->in_length; in nd_cmd_in_size()
/linux/include/uapi/linux/
H A Dndctl.h31 __u32 in_length; member
38 __u32 in_length; member
44 __u32 in_length; member
/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);
/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,
/linux/tools/testing/nvdimm/test/
H A Dndtest.c210 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_get()
214 len = min(hdr->in_length, LABEL_SIZE - hdr->in_offset); in ndtest_config_get()
225 if ((hdr->in_offset + hdr->in_length) > LABEL_SIZE) in ndtest_config_set()
228 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()
/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;
/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()