Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dlibnvdimm.h148 struct nd_blk_region;
151 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
221 struct nd_blk_region *to_nd_blk_region(struct device *dev);
257 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr);
258 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data);
259 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
260 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr);
/Linux-v5.4/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()
209 struct nd_blk_region *ndbr = to_ndbr(nsblk); in nsblk_rw_bytes()
Dregion_devs.c190 struct nd_blk_region *to_nd_blk_region(struct device *dev) in to_nd_blk_region()
195 return container_of(nd_region, struct nd_blk_region, nd_region); in to_nd_blk_region()
205 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data()
211 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data) in nd_blk_region_set_provider_data()
967 struct nd_blk_region *ndbr; in nd_region_create()
Dnd.h162 struct nd_blk_region { struct
164 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, argument
Ddimm_devs.c224 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr) in nd_blk_region_to_dimm()
233 unsigned long nd_blk_memremap_flags(struct nd_blk_region *ndbr) in nd_blk_memremap_flags()
/Linux-v5.4/drivers/acpi/nfit/
Dnfit.h243 int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
Dcore.c2484 static int acpi_nfit_blk_region_do_io(struct nd_blk_region *ndbr, in acpi_nfit_blk_region_do_io()
2551 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_enable()
/Linux-v5.4/tools/testing/nvdimm/test/
Dnfit.c2644 static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa, in nfit_test_blk_do_io()