Lines Matching refs:nvdimm_drvdata
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()
210 struct nvdimm_drvdata *to_ndd(struct nd_mapping *nd_mapping) in to_ndd()
222 struct nvdimm_drvdata *ndd = container_of(kref, typeof(*ndd), kref); in nvdimm_drvdata_release()
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()
729 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_max_contiguous_dpa()
774 struct nvdimm_drvdata *ndd = to_ndd(nd_mapping); in nd_pmem_available_dpa()
813 void nvdimm_free_dpa(struct nvdimm_drvdata *ndd, struct resource *res) in nvdimm_free_dpa()
820 struct resource *nvdimm_allocate_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocate_dpa()
842 resource_size_t nvdimm_allocated_dpa(struct nvdimm_drvdata *ndd, in nvdimm_allocated_dpa()