Home
last modified time | relevance | path

Searched refs:nd_blk_region (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/include/linux/
Dlibnvdimm.h145 struct nd_blk_region;
148 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
261 struct nd_blk_region *to_nd_blk_region(struct device *dev);
298 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr);
299 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data);
300 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
301 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr);
/Linux-v5.10/drivers/nvdimm/
Dblk.c52 static struct nd_blk_region *to_ndbr(struct nd_namespace_blk *nsblk) in to_ndbr()
59 return container_of(nd_region, struct nd_blk_region, nd_region); in to_ndbr()
66 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nd_blk_rw_integrity()
120 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nsblk_do_bvec()
210 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nsblk_rw_bytes()
Dnd.h163 struct nd_blk_region { struct
165 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, argument
Dregion_devs.c160 struct nd_blk_region *to_nd_blk_region(struct device *dev) in to_nd_blk_region()
165 return container_of(nd_region, struct nd_blk_region, nd_region); in to_nd_blk_region()
175 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data()
181 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data) in nd_blk_region_set_provider_data()
1063 struct nd_blk_region *ndbr; in nd_region_create()
Ddimm_devs.c214 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr) in nd_blk_region_to_dimm()
223 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr) in nd_blk_memremap_flags()
/Linux-v5.10/drivers/acpi/nfit/
Dnfit.h269 int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
Dcore.c2541 static int acpi_nfit_blk_region_do_io(struct nd_blk_region *ndbr, in acpi_nfit_blk_region_do_io()
2608 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v5.10/tools/testing/nvdimm/test/
Dnfit.c2838 static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa, in nfit_test_blk_do_io()