Lines Matching refs:nvdimm_drvdata
44 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()
230 struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping) in to_ndd()
242 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release()
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()
804 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_blk_available_dpa()
847 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_max_contiguous_dpa()
900 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_available_dpa()
957 void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res) in nvdimm_free_dpa()
964 struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocate_dpa()
986 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocated_dpa()