nvdimm_drvdata 18 drivers/nvdimm/dimm.c struct nvdimm_drvdata *ndd; nvdimm_drvdata 118 drivers/nvdimm/dimm.c struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); nvdimm_drvdata 44 drivers/nvdimm/dimm_devs.c static int validate_dimm(struct nvdimm_drvdata *ndd) nvdimm_drvdata 62 drivers/nvdimm/dimm_devs.c int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd) nvdimm_drvdata 85 drivers/nvdimm/dimm_devs.c int nvdimm_get_config_data(struct nvdimm_drvdata *ndd, void *buf, nvdimm_drvdata 131 drivers/nvdimm/dimm_devs.c int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, nvdimm_drvdata 240 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping) nvdimm_drvdata 252 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); nvdimm_drvdata 267 drivers/nvdimm/dimm_devs.c void get_ndd(struct nvdimm_drvdata *ndd) nvdimm_drvdata 272 drivers/nvdimm/dimm_devs.c void put_ndd(struct nvdimm_drvdata *ndd) nvdimm_drvdata 350 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = dev_get_drvdata(dev); nvdimm_drvdata 565 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd; nvdimm_drvdata 643 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 675 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 716 drivers/nvdimm/dimm_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 764 drivers/nvdimm/dimm_devs.c void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res) nvdimm_drvdata 771 drivers/nvdimm/dimm_devs.c struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, nvdimm_drvdata 793 drivers/nvdimm/dimm_devs.c resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, nvdimm_drvdata 37 drivers/nvdimm/label.c unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd) nvdimm_drvdata 48 drivers/nvdimm/label.c static int __nvdimm_num_label_slots(struct nvdimm_drvdata *ndd, nvdimm_drvdata 55 drivers/nvdimm/label.c int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd) nvdimm_drvdata 65 drivers/nvdimm/label.c size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd) nvdimm_drvdata 86 drivers/nvdimm/label.c static int __nd_label_validate(struct nvdimm_drvdata *ndd) nvdimm_drvdata 232 drivers/nvdimm/label.c static int nd_label_validate(struct nvdimm_drvdata *ndd) nvdimm_drvdata 255 drivers/nvdimm/label.c static void nd_label_copy(struct nvdimm_drvdata *ndd, nvdimm_drvdata 266 drivers/nvdimm/label.c static struct nd_namespace_label *nd_label_base(struct nvdimm_drvdata *ndd) nvdimm_drvdata 273 drivers/nvdimm/label.c static int to_slot(struct nvdimm_drvdata *ndd, nvdimm_drvdata 284 drivers/nvdimm/label.c static struct nd_namespace_label *to_label(struct nvdimm_drvdata *ndd, int slot) nvdimm_drvdata 307 drivers/nvdimm/label.c static bool preamble_index(struct nvdimm_drvdata *ndd, int idx, nvdimm_drvdata 333 drivers/nvdimm/label.c static bool preamble_current(struct nvdimm_drvdata *ndd, nvdimm_drvdata 341 drivers/nvdimm/label.c static bool preamble_next(struct nvdimm_drvdata *ndd, nvdimm_drvdata 349 drivers/nvdimm/label.c static bool slot_valid(struct nvdimm_drvdata *ndd, nvdimm_drvdata 374 drivers/nvdimm/label.c int nd_label_reserve_dpa(struct nvdimm_drvdata *ndd) nvdimm_drvdata 413 drivers/nvdimm/label.c int nd_label_data_init(struct nvdimm_drvdata *ndd) nvdimm_drvdata 535 drivers/nvdimm/label.c int nd_label_active_count(struct nvdimm_drvdata *ndd) nvdimm_drvdata 565 drivers/nvdimm/label.c struct nd_namespace_label *nd_label_active(struct nvdimm_drvdata *ndd, int n) nvdimm_drvdata 588 drivers/nvdimm/label.c u32 nd_label_alloc_slot(struct nvdimm_drvdata *ndd) nvdimm_drvdata 608 drivers/nvdimm/label.c bool nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot) nvdimm_drvdata 624 drivers/nvdimm/label.c u32 nd_label_nfree(struct nvdimm_drvdata *ndd) nvdimm_drvdata 638 drivers/nvdimm/label.c static int nd_label_write_index(struct nvdimm_drvdata *ndd, int index, u32 seq, nvdimm_drvdata 704 drivers/nvdimm/label.c static unsigned long nd_label_offset(struct nvdimm_drvdata *ndd, nvdimm_drvdata 751 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 765 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 876 drivers/nvdimm/label.c static struct resource *to_resource(struct nvdimm_drvdata *ndd, nvdimm_drvdata 904 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1158 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1199 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1251 drivers/nvdimm/label.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 130 drivers/nvdimm/label.h struct nvdimm_drvdata; nvdimm_drvdata 131 drivers/nvdimm/label.h int nd_label_data_init(struct nvdimm_drvdata *ndd); nvdimm_drvdata 132 drivers/nvdimm/label.h size_t sizeof_namespace_index(struct nvdimm_drvdata *ndd); nvdimm_drvdata 133 drivers/nvdimm/label.h int nd_label_active_count(struct nvdimm_drvdata *ndd); nvdimm_drvdata 134 drivers/nvdimm/label.h struct nd_namespace_label *nd_label_active(struct nvdimm_drvdata *ndd, int n); nvdimm_drvdata 135 drivers/nvdimm/label.h u32 nd_label_alloc_slot(struct nvdimm_drvdata *ndd); nvdimm_drvdata 136 drivers/nvdimm/label.h bool nd_label_free_slot(struct nvdimm_drvdata *ndd, u32 slot); nvdimm_drvdata 137 drivers/nvdimm/label.h u32 nd_label_nfree(struct nvdimm_drvdata *ndd); nvdimm_drvdata 298 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 316 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 451 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 526 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 563 drivers/nvdimm/namespace_devs.c static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, nvdimm_drvdata 620 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 769 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 837 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 933 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 976 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd; nvdimm_drvdata 1241 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1424 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1445 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1800 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1857 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 1985 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd; nvdimm_drvdata 2038 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd, struct nd_namespace_blk *nsblk, nvdimm_drvdata 2182 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 2221 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 2344 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 2473 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = nd_mapping->ndd; nvdimm_drvdata 2493 drivers/nvdimm/namespace_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 136 drivers/nvdimm/nd-core.h struct nvdimm_drvdata; nvdimm_drvdata 153 drivers/nvdimm/nd-core.h resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, nvdimm_drvdata 157 drivers/nvdimm/nd-core.h struct nvdimm_drvdata *ndd, struct nd_namespace_blk *nsblk, nvdimm_drvdata 159 drivers/nvdimm/nd-core.h int nvdimm_num_label_slots(struct nvdimm_drvdata *ndd); nvdimm_drvdata 160 drivers/nvdimm/nd-core.h void get_ndd(struct nvdimm_drvdata *ndd); nvdimm_drvdata 64 drivers/nvdimm/nd.h struct nvdimm_drvdata *ndd, int i) nvdimm_drvdata 73 drivers/nvdimm/nd.h struct nvdimm_drvdata *ndd) nvdimm_drvdata 79 drivers/nvdimm/nd.h struct nvdimm_drvdata *ndd) nvdimm_drvdata 84 drivers/nvdimm/nd.h unsigned sizeof_namespace_label(struct nvdimm_drvdata *ndd); nvdimm_drvdata 135 drivers/nvdimm/nd.h struct nvdimm_drvdata *ndd; nvdimm_drvdata 237 drivers/nvdimm/nd.h struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping); nvdimm_drvdata 239 drivers/nvdimm/nd.h int nvdimm_init_nsarea(struct nvdimm_drvdata *ndd); nvdimm_drvdata 240 drivers/nvdimm/nd.h int nvdimm_init_config_data(struct nvdimm_drvdata *ndd); nvdimm_drvdata 241 drivers/nvdimm/nd.h int nvdimm_get_config_data(struct nvdimm_drvdata *ndd, void *buf, nvdimm_drvdata 243 drivers/nvdimm/nd.h int nvdimm_set_config_data(struct nvdimm_drvdata *ndd, size_t offset, nvdimm_drvdata 357 drivers/nvdimm/nd.h void put_ndd(struct nvdimm_drvdata *ndd); nvdimm_drvdata 358 drivers/nvdimm/nd.h int nd_label_reserve_dpa(struct nvdimm_drvdata *ndd); nvdimm_drvdata 359 drivers/nvdimm/nd.h void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res); nvdimm_drvdata 360 drivers/nvdimm/nd.h struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, nvdimm_drvdata 339 drivers/nvdimm/region_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); nvdimm_drvdata 371 drivers/nvdimm/region_devs.c struct nvdimm_drvdata *ndd = to_ndd(nd_mapping);