Home
last modified time | relevance | path

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

/drivers/nvdimm/
Dlabel.c37 size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) in sizeof_namespace_index()
59 int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd) in nvdimm_num_label_slots()
64 int nd_label_validate(struct nvdimm_drvdata *ndd) in nd_label_validate()
192 void nd_label_copy(struct nvdimm_drvdata *ndd, struct nd_namespace_index *dst, in nd_label_copy()
203 static struct nd_namespace_label *nd_label_base(struct nvdimm_drvdata *ndd) in nd_label_base()
210 static int to_slot(struct nvdimm_drvdata *ndd, in to_slot()
229 static bool preamble_index(struct nvdimm_drvdata *ndd, int idx, in preamble_index()
255 static bool preamble_current(struct nvdimm_drvdata *ndd, in preamble_current()
263 static bool preamble_next(struct nvdimm_drvdata *ndd, in preamble_next()
285 int nd_label_reserve_dpa(struct nvdimm_drvdata *ndd) in nd_label_reserve_dpa()
[all …]
Ddimm_devs.c31 static int __validate_dimm(struct nvdimm_drvdata *ndd) in __validate_dimm()
48 static int validate_dimm(struct nvdimm_drvdata *ndd) in validate_dimm()
62 int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) in nvdimm_init_nsarea()
81 int nvdimm_init_config_data(struct nvdimm_drvdata *ndd) in nvdimm_init_config_data()
136 int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, in nvdimm_set_config_data()
233 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release() local
249 void get_ndd(struct nvdimm_drvdata *ndd) in get_ndd()
254 void put_ndd(struct nvdimm_drvdata *ndd) in put_ndd()
306 static ssize_t __available_slots_show(struct nvdimm_drvdata *ndd, char *buf) in __available_slots_show()
392 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
73 struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); in nvdimm_remove() local
Dnamespace_devs.c268 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_namespace_blk_size() local
286 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in __nd_namespace_blk_validate() local
421 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_free() local
496 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in init_dpa_allocation() local
542 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in scan_allocate() local
687 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in merge_dpa() local
755 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in release_free_pmem() local
852 struct nvdimm_drvdata *ndd; in __size_store() local
1090 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in namespace_update_uuid() local
1239 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in dpa_extents_show() local
[all …]
Dnd.h56 struct nvdimm_drvdata *ndd, int i) in to_namespace_index()
65 struct nvdimm_drvdata *ndd) in to_current_namespace_index()
71 struct nvdimm_drvdata *ndd) in to_next_namespace_index()
85 #define for_each_dpa_resource(ndd, res) \ argument
88 #define for_each_dpa_resource_safe(ndd, res, next) \ argument
Dregion_devs.c200 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_region_available_dpa() local
408 struct nvdimm_drvdata *ndd = nd_mapping->ndd; in nd_region_notify_driver_action() local