Home
last modified time | relevance | path

Searched defs:ndd (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-4.19/drivers/nvdimm/
Dlabel.c45 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()
93 static int __nd_label_validate(struct nvdimm_drvdata *ndd) in __nd_label_validate()
232 int nd_label_validate(struct nvdimm_drvdata *ndd) in nd_label_validate()
255 void nd_label_copy(struct nvdimm_drvdata *ndd, struct nd_namespace_index *dst, in nd_label_copy()
266 static struct nd_namespace_label *nd_label_base(struct nvdimm_drvdata *ndd) in nd_label_base()
273 static int to_slot(struct nvdimm_drvdata *ndd, in to_slot()
284 static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot) in to_label()
[all …]
Ddimm_devs.c47 static int validate_dimm(struct nvdimm_drvdata *ndd) in validate_dimm()
65 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) in nvdimm_init_nsarea()
88 int nvdimm_init_config_data(struct nvdimm_drvdata *ndd) in nvdimm_init_config_data()
142 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, in nvdimm_set_config_data()
267 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release() local
282 void get_ndd(struct nvdimm_drvdata *ndd) in get_ndd()
287 void put_ndd(struct nvdimm_drvdata *ndd) in put_ndd()
365 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in available_slots_show() local
438 struct nvdimm_drvdata *ndd; in alias_dpa_busy() local
516 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_blk_available_dpa() local
[all …]
Ddimm.c26 struct nvdimm_drvdata *ndd; in nvdimm_probe() local
110 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in nvdimm_remove() local
Dnamespace_devs.c307 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_blk_size() local
325 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in __nd_namespace_blk_validate() local
460 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_free() local
535 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in init_dpa_allocation() local
572 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
629 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_allocate() local
778 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in merge_dpa() local
846 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in release_free_pmem() local
942 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_pmem_set_resource() local
985 struct nvdimm_drvdata *ndd; in __size_store() local
[all …]
Dnd.h72 struct nvdimm_drvdata *ndd, int i) in to_namespace_index()
81 struct nvdimm_drvdata *ndd) in to_current_namespace_index()
87 struct nvdimm_drvdata *ndd) in to_next_namespace_index()
94 #define namespace_label_has(ndd, field) \ argument
104 #define for_each_dpa_resource(ndd, res) \ argument
107 #define for_each_dpa_resource_safe(ndd, res, next) \ argument
143 struct nvdimm_drvdata *ndd; member
Dregion_devs.c340 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in set_cookie_show() local
372 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa() local
735 struct nvdimm_drvdata *ndd = nd_mapping->ndd; in nd_region_notify_driver_action() local
/kernel/linux/linux-5.10/drivers/nvdimm/
Dlabel.c37 unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd) in sizeof_namespace_label()
48 static int __nvdimm_num_label_slots(struct nvdimm_drvdata *ndd, in __nvdimm_num_label_slots()
55 int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd) in nvdimm_num_label_slots()
65 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index()
86 static int __nd_label_validate(struct nvdimm_drvdata *ndd) in __nd_label_validate()
232 static int nd_label_validate(struct nvdimm_drvdata *ndd) in nd_label_validate()
255 static void nd_label_copy(struct nvdimm_drvdata *ndd, in nd_label_copy()
266 static struct nd_namespace_label *nd_label_base(struct nvdimm_drvdata *ndd) in nd_label_base()
273 static int to_slot(struct nvdimm_drvdata *ndd, in to_slot()
284 static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot) in to_label()
[all …]
Ddimm_devs.c44 static int validate_dimm(struct nvdimm_drvdata *ndd) in validate_dimm()
62 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) in nvdimm_init_nsarea()
85 int nvdimm_get_config_data(struct nvdimm_drvdata *ndd, void *buf, in nvdimm_get_config_data()
131 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, in nvdimm_set_config_data()
242 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release() local
257 void get_ndd(struct nvdimm_drvdata *ndd) in get_ndd()
262 void put_ndd(struct nvdimm_drvdata *ndd) in put_ndd()
338 static ssize_t __available_slots_show(struct nvdimm_drvdata *ndd, char *buf) in __available_slots_show()
717 struct nvdimm_drvdata *ndd; in alias_dpa_busy() local
804 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_blk_available_dpa() local
[all …]
Ddimm.c18 struct nvdimm_drvdata *ndd; in nvdimm_probe() local
118 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in nvdimm_remove() local
Dnamespace_devs.c273 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_blk_size() local
291 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in __nd_namespace_blk_validate() local
426 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_free() local
501 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in init_dpa_allocation() local
538 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
600 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_allocate() local
749 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in merge_dpa() local
817 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in release_free_pmem() local
913 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_pmem_set_resource() local
956 struct nvdimm_drvdata *ndd; in __size_store() local
[all …]
Dnd.h64 struct nvdimm_drvdata *ndd, int i) in to_namespace_index()
73 struct nvdimm_drvdata *ndd) in to_current_namespace_index()
79 struct nvdimm_drvdata *ndd) in to_next_namespace_index()
86 #define namespace_label_has(ndd, field) \ argument
96 #define for_each_dpa_resource(ndd, res) \ argument
99 #define for_each_dpa_resource_safe(ndd, res, next) \ argument
135 struct nvdimm_drvdata *ndd; member
Dregion_devs.c313 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in set_cookie_show() local
345 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa() local