Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dlibnvdimm.h143 struct nd_blk_region;
146 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
171 struct nd_blk_region *to_nd_blk_region(struct device *dev);
197 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr);
198 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data);
199 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
200 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr);
/Linux-v4.19/drivers/nvdimm/
Dblk.c60 static struct nd_blk_region *to_ndbr(struct nd_namespace_blk *nsblk) in to_ndbr()
67 return container_of(nd_region, struct nd_blk_region, nd_region); in to_ndbr()
74 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nd_blk_rw_integrity()
128 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nsblk_do_bvec()
217 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nsblk_rw_bytes()
Dregion_devs.c193 struct nd_blk_region *to_nd_blk_region(struct device *dev) in to_nd_blk_region()
198 return container_of(nd_region, struct nd_blk_region, nd_region); in to_nd_blk_region()
208 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data()
214 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data) in nd_blk_region_set_provider_data()
998 struct nd_blk_region *ndbr; in nd_region_create()
Dnd.h165 struct nd_blk_region { struct
167 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, argument
Ddimm_devs.c239 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr) in nd_blk_region_to_dimm()
248 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr) in nd_blk_memremap_flags()
/Linux-v4.19/drivers/acpi/nfit/
Dnfit.h214 int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
Dcore.c2292 static int acpi_nfit_blk_region_do_io(struct nd_blk_region *ndbr, in acpi_nfit_blk_region_do_io()
2359 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v4.19/tools/testing/nvdimm/test/
Dnfit.c2306 static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa, in nfit_test_blk_do_io()