Home
last modified time | relevance | path

Searched refs:in_offset (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/nvdimm/
H A Dramdax.c146 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_get_config_data()
149 memcpy(cmd->out_buf, dimm->label_area + cmd->in_offset, cmd->in_length); in ramdax_get_config_data()
163 if (size_add(cmd->in_offset, cmd->in_length) > LABEL_AREA_SIZE) in ramdax_set_config_data()
166 memcpy(dimm->label_area + cmd->in_offset, cmd->in_buf, cmd->in_length); in ramdax_set_config_data()
H A Ddimm_devs.c107 cmd->in_offset = offset + buf_offset; in nvdimm_get_config_data()
153 cmd->in_offset = offset + buf_offset; in nvdimm_set_config_data()
/linux/include/uapi/linux/
H A Dndctl.h30 __u32 in_offset; member
37 __u32 in_offset; member
/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()
215 memcpy(hdr->out_buf, p->label_area + hdr->in_offset, len); 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()
229 memcpy(p->label_area + hdr->in_offset, hdr->in_buf, len); in ndtest_config_set()
H A Dnfit.c467 unsigned int len, offset = nd_cmd->in_offset; in nfit_test_cmd_get_config_data()
488 unsigned int len, offset = nd_cmd->in_offset; in nfit_test_cmd_set_config_data()
/linux/drivers/cxl/
H A Dpmem.c203 .offset = cpu_to_le32(cmd->in_offset), in cxl_pmem_get_config_data()
242 .offset = cpu_to_le32(cmd->in_offset), in cxl_pmem_set_config_data()
/linux/drivers/acpi/nfit/
H A Dcore.c550 out_obj = acpi_label_read(handle, p->in_offset, p->in_length); in acpi_nfit_ctl()
555 out_obj = acpi_label_write(handle, p->in_offset, p->in_length, in acpi_nfit_ctl()