Searched defs:ndd (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/nvdimm/ |
D | label.c | 45 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd) in sizeof_namespace_label() 56 static int __nvdimm_num_label_slots(struct nvdimm_drvdata *ndd, in __nvdimm_num_label_slots() 63 int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd) in nvdimm_num_label_slots() 73 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index() 94 static int __nd_label_validate(struct nvdimm_drvdata *ndd) in __nd_label_validate() 240 static int nd_label_validate(struct nvdimm_drvdata *ndd) in nd_label_validate() 263 static void nd_label_copy(struct nvdimm_drvdata *ndd, in nd_label_copy() 274 static struct nd_namespace_label *nd_label_base(struct nvdimm_drvdata *ndd) in nd_label_base() 281 static int to_slot(struct nvdimm_drvdata *ndd, in to_slot() 292 static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot) in to_label() [all …]
|
D | nd.h | 39 static inline const u8 *nsl_ref_name(struct nvdimm_drvdata *ndd, in nsl_ref_name() 47 static inline u8 *nsl_get_name(struct nvdimm_drvdata *ndd, in nsl_get_name() 55 static inline u8 *nsl_set_name(struct nvdimm_drvdata *ndd, in nsl_set_name() 65 static inline u32 nsl_get_slot(struct nvdimm_drvdata *ndd, in nsl_get_slot() 73 static inline void nsl_set_slot(struct nvdimm_drvdata *ndd, in nsl_set_slot() 82 static inline u64 nsl_get_checksum(struct nvdimm_drvdata *ndd, in nsl_get_checksum() 90 static inline void nsl_set_checksum(struct nvdimm_drvdata *ndd, in nsl_set_checksum() 100 static inline u32 nsl_get_flags(struct nvdimm_drvdata *ndd, in nsl_get_flags() 108 static inline void nsl_set_flags(struct nvdimm_drvdata *ndd, in nsl_set_flags() 117 static inline u64 nsl_get_dpa(struct nvdimm_drvdata *ndd, in nsl_get_dpa() [all …]
|
D | dimm_devs.c | 40 static int validate_dimm(struct nvdimm_drvdata *ndd) in validate_dimm() 58 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) in nvdimm_init_nsarea() 81 int nvdimm_get_config_data(struct nvdimm_drvdata *ndd, void *buf, in nvdimm_get_config_data() 127 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, in nvdimm_set_config_data() 222 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release() local 237 void get_ndd(struct nvdimm_drvdata *ndd) in get_ndd() 242 void put_ndd(struct nvdimm_drvdata *ndd) in put_ndd() 317 static ssize_t __available_slots_show(struct nvdimm_drvdata *ndd, char *buf) in __available_slots_show() 719 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_max_contiguous_dpa() local 764 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_available_dpa() local [all …]
|
D | namespace_devs.c | 297 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_free() local 361 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in init_dpa_allocation() local 391 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid() 436 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_allocate() local 576 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in merge_dpa() local 644 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in release_free_pmem() local 704 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_pmem_set_resource() local 748 struct nvdimm_drvdata *ndd; in __size_store() local 992 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in namespace_update_uuid() local 1153 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in dpa_extents_show() local [all …]
|
D | dimm.c | 18 struct nvdimm_drvdata *ndd; in nvdimm_probe() local 118 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in nvdimm_remove() local
|
D | region_devs.c | 288 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in set_cookie_show() local 318 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa() local
|