/linux/drivers/nvdimm/ |
A D | nd-core.h | 31 struct nvdimm { struct 48 const struct nvdimm_fw_ops *fw_ops; argument 52 struct nvdimm *nvdimm, enum nvdimm_passphrase_type ptype) in nvdimm_security_flags()
|
A D | security.c | 50 static struct key *nvdimm_request_key(struct nvdimm *nvdimm) in nvdimm_request_key() 80 static const void *nvdimm_get_key_payload(struct nvdimm *nvdimm, in nvdimm_get_key_payload() 90 static struct key *nvdimm_lookup_user_key(struct nvdimm *nvdimm, in nvdimm_lookup_user_key() 120 static const void *nvdimm_get_user_key_payload(struct nvdimm *nvdimm, in nvdimm_get_user_key_payload() 139 static int nvdimm_key_revalidate(struct nvdimm *nvdimm) in nvdimm_key_revalidate() 165 static int __nvdimm_security_unlock(struct nvdimm *nvdimm) in __nvdimm_security_unlock() 215 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_security_unlock() local 224 static int check_security_state(struct nvdimm *nvdimm) in check_security_state() 416 void __nvdimm_security_overwrite_query(struct nvdimm *nvdimm) in __nvdimm_security_overwrite_query() 470 struct nvdimm *nvdimm = in nvdimm_security_overwrite_query() local [all …]
|
A D | dimm_devs.c | 31 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_check_config_data() local 178 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_labeling() local 185 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_set_locked() local 192 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_clear_locked() local 199 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_release() local 297 struct nvdimm *nvdimm = to_nvdimm(dev); in commands_show() local 313 struct nvdimm *nvdimm = to_nvdimm(dev); in flags_show() local 325 struct nvdimm *nvdimm = to_nvdimm(dev); in state_show() local 376 struct nvdimm *nvdimm = to_nvdimm(dev); in security_show() local 392 struct nvdimm *nvdimm = to_nvdimm(dev); in frozen_show() local [all …]
|
A D | region_devs.c | 25 static int nvdimm_map_flush(struct device *dev, struct nvdimm *nvdimm, int dimm, in nvdimm_map_flush() 72 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate() local 99 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_activate() local 131 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_release() local 202 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nd_region_to_nstype() local 710 struct nvdimm *nvdimm; in mappingN() local 1020 struct nvdimm *nvdimm = nd_mapping->nvdimm; in default_align() local 1048 struct nvdimm *nvdimm = mapping->nvdimm; in nd_region_create() local 1109 struct nvdimm *nvdimm = mapping->nvdimm; in nd_region_create() local 1256 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_has_flush() local
|
A D | bus.c | 334 struct nvdimm_bus *nvdimm_to_bus(struct nvdimm *nvdimm) in nvdimm_to_bus() 859 u32 nd_cmd_in_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_in_size() 886 u32 nd_cmd_out_size(struct nvdimm *nvdimm, int cmd, in nd_cmd_out_size() 992 struct nvdimm *nvdimm, unsigned int cmd, void *data) in nd_cmd_clear_to_send() 1019 static int __nd_ioctl(struct nvdimm_bus *nvdimm_bus, struct nvdimm *nvdimm, in __nd_ioctl() 1213 struct nvdimm *nvdimm = to_nvdimm(dev); in match_dimm() local 1227 struct nvdimm *nvdimm = NULL; in nd_ioctl() local
|
A D | namespace_devs.c | 777 struct nvdimm *nvdimm = data; in __reserve_free_pmem() local 826 struct nvdimm *nvdimm = nd_mapping->nvdimm; in reserve_free_pmem() local 1130 struct nvdimm *nvdimm = nd_mapping->nvdimm; in nvdimm_namespace_locked() local 2001 struct nvdimm *nvdimm = nd_region->mapping[i].nvdimm; in create_namespace_pmem() local 2499 struct nvdimm *nvdimm = nd_mapping->nvdimm; in deactivate_labels() local 2519 struct nvdimm *nvdimm = nd_mapping->nvdimm; in init_active_labels() local
|
A D | label.c | 409 struct nvdimm *nvdimm = to_nvdimm(ndd->dev); in nd_label_reserve_dpa() local
|
A D | nd.h | 391 struct nvdimm *nvdimm; member
|
/linux/drivers/acpi/nfit/ |
A D | intel.c | 52 static unsigned long intel_security_flags(struct nvdimm *nvdimm, in intel_security_flags() 119 static int intel_security_freeze(struct nvdimm *nvdimm) in intel_security_freeze() 146 static int intel_security_change_key(struct nvdimm *nvdimm, in intel_security_change_key() 195 static int __maybe_unused intel_security_unlock(struct nvdimm *nvdimm, in intel_security_unlock() 236 static int intel_security_disable(struct nvdimm *nvdimm, in intel_security_disable() 276 static int __maybe_unused intel_security_erase(struct nvdimm *nvdimm, in intel_security_erase() 362 static int __maybe_unused intel_security_overwrite(struct nvdimm *nvdimm, in intel_security_overwrite() 610 static int intel_fwa_dimminfo(struct nvdimm *nvdimm, in intel_fwa_dimminfo() 633 static enum nvdimm_fwa_state intel_fwa_state(struct nvdimm *nvdimm) in intel_fwa_state() 700 static enum nvdimm_fwa_result intel_fwa_result(struct nvdimm *nvdimm) in intel_fwa_result() [all …]
|
A D | core.c | 1439 struct nvdimm *nvdimm = to_nvdimm(dev); in to_nfit_memdev() local 1447 struct nvdimm *nvdimm = to_nvdimm(dev); in to_nfit_dcr() local 1555 struct nvdimm *nvdimm = to_nvdimm(dev); in format1_show() local 1591 struct nvdimm *nvdimm = to_nvdimm(dev); in formats_show() local 1609 struct nvdimm *nvdimm = to_nvdimm(dev); in family_show() local 1621 struct nvdimm *nvdimm = to_nvdimm(dev); in dsm_mask_show() local 1633 struct nvdimm *nvdimm = to_nvdimm(dev); in flags_show() local 1654 struct nvdimm *nvdimm = to_nvdimm(dev); in id_show() local 1664 struct nvdimm *nvdimm = to_nvdimm(dev); in dirty_shutdown_show() local 2064 struct nvdimm *nvdimm; in acpi_nfit_register_dimms() local [all …]
|
A D | nfit.h | 208 struct nvdimm *nvdimm; member
|
/linux/drivers/cxl/ |
A D | pmem.c | 27 static void unregister_nvdimm(void *nvdimm) in unregister_nvdimm() 39 struct nvdimm *nvdimm; in cxl_nvdimm_probe() local 161 static int cxl_pmem_nvdimm_ctl(struct nvdimm *nvdimm, unsigned int cmd, in cxl_pmem_nvdimm_ctl() 185 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in cxl_pmem_ctl()
|
A D | cxl.h | 219 struct nvdimm *nvdimm; member
|
/linux/tools/testing/nvdimm/test/ |
A D | ndtest.c | 300 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in ndtest_ctl() 369 struct nvdimm *nvdimm; in ndtest_blk_region_enable() local 699 struct nvdimm *nvdimm = to_nvdimm(dev); in phys_id_show() local 716 struct nvdimm *nvdimm = to_nvdimm(dev); in id_show() local 727 struct nvdimm *nvdimm = to_nvdimm(dev); in nvdimm_handle_show() local 755 struct nvdimm *nvdimm = to_nvdimm(dev); in formats_show() local 765 struct nvdimm *nvdimm = to_nvdimm(dev); in format_show() local 786 struct nvdimm *nvdimm = to_nvdimm(dev); in ndtest_nvdimm_attr_visible() local 798 struct nvdimm *nvdimm = to_nvdimm(dev); in flags_show() local
|
A D | ndtest.h | 65 struct nvdimm *nvdimm; member
|
A D | nfit.c | 669 struct nvdimm *nvdimm = NULL; in nfit_test_search_spa() local 1328 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nfit_ctl_dbg() 1351 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nfit_test_ctl() 2896 struct nvdimm *nvdimm; in nfit_ctl_test() local
|
/linux/tools/testing/nvdimm/ |
A D | dimm_devs.c | 15 struct nvdimm *nvdimm = to_nvdimm(dev); in security_show() local
|
/linux/arch/powerpc/platforms/pseries/ |
A D | papr_scm.c | 103 struct nvdimm *nvdimm; member 505 static int is_cmd_valid(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in is_cmd_valid() 788 struct nvdimm *nvdimm, unsigned int cmd, void *buf, in papr_scm_ndctl() 940 struct nvdimm *nvdimm = to_nvdimm(dev); in papr_nd_attribute_visible() local
|
/linux/include/linux/ |
A D | libnvdimm.h | 111 struct nvdimm *nvdimm; member 312 static inline int nvdimm_ctl(struct nvdimm *nvdimm, unsigned int cmd, void *buf, in nvdimm_ctl()
|