Searched refs:ndbr (Results 1 – 8 of 8) sorted by relevance
/linux-4.4.14/drivers/nvdimm/ |
D | blk.c | 28 struct nd_blk_region *ndbr; member 70 struct nd_blk_region *ndbr; in nd_blk_rw_integrity() local 74 ndbr = blk_dev->ndbr; in nd_blk_rw_integrity() 94 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 122 struct nd_blk_region *ndbr = blk_dev->ndbr; in nd_blk_do_bvec() local 146 err = ndbr->do_io(ndbr, dev_offset, iobuf + off, cur_len, rw); in nd_blk_do_bvec() 219 struct nd_blk_region *ndbr = blk_dev->ndbr; in nd_blk_rw_bytes() local 232 return ndbr->do_io(ndbr, dev_offset, iobuf, n, rw); in nd_blk_rw_bytes() 310 blk_dev->ndbr = to_nd_blk_region(dev->parent); in nd_blk_probe()
|
D | region_devs.c | 93 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data() argument 95 return ndbr->blk_provider_data; in nd_blk_region_provider_data() 99 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data) in nd_blk_region_set_provider_data() argument 101 ndbr->blk_provider_data = data; in nd_blk_region_set_provider_data() 654 struct nd_blk_region *ndbr; in nd_region_create() local 657 ndbr = kzalloc(sizeof(*ndbr) + sizeof(struct nd_mapping) in nd_region_create() 660 if (ndbr) { in nd_region_create() 661 nd_region = &ndbr->nd_region; in nd_region_create() 662 ndbr->enable = ndbr_desc->enable; in nd_region_create() 663 ndbr->disable = ndbr_desc->disable; in nd_region_create() [all …]
|
D | dimm_devs.c | 212 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr) in nd_blk_region_to_dimm() argument 214 struct nd_region *nd_region = &ndbr->nd_region; in nd_blk_region_to_dimm()
|
D | nd.h | 120 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
|
/linux-4.4.14/include/linux/ |
D | libnvdimm.h | 107 int (*do_io)(struct nd_blk_region *ndbr, resource_size_t dpa, 149 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr); 150 void nd_blk_region_set_provider_data(struct nd_blk_region *ndbr, void *data); 151 struct nvdimm *nd_blk_region_to_dimm(struct nd_blk_region *ndbr);
|
/linux-4.4.14/drivers/acpi/ |
D | nfit.h | 115 int (*blk_do_io)(struct nd_blk_region *ndbr, resource_size_t dpa,
|
D | nfit.c | 1162 static int acpi_nfit_blk_region_do_io(struct nd_blk_region *ndbr, in acpi_nfit_blk_region_do_io() argument 1165 struct nfit_blk *nfit_blk = nd_blk_region_provider_data(ndbr); in acpi_nfit_blk_region_do_io() 1349 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_enable() local 1357 nvdimm = nd_blk_region_to_dimm(ndbr); in acpi_nfit_blk_region_enable() 1370 nd_blk_region_set_provider_data(ndbr, nfit_blk); in acpi_nfit_blk_region_enable() 1457 struct nd_blk_region *ndbr = to_nd_blk_region(dev); in acpi_nfit_blk_region_disable() local 1458 struct nfit_blk *nfit_blk = nd_blk_region_provider_data(ndbr); in acpi_nfit_blk_region_disable() 1471 nd_blk_region_set_provider_data(ndbr, NULL); in acpi_nfit_blk_region_disable()
|
/linux-4.4.14/tools/testing/nvdimm/test/ |
D | nfit.c | 1140 static int nfit_test_blk_do_io(struct nd_blk_region *ndbr, resource_size_t dpa, in nfit_test_blk_do_io() argument 1143 struct nfit_blk *nfit_blk = ndbr->blk_provider_data; in nfit_test_blk_do_io() 1145 struct nd_region *nd_region = &ndbr->nd_region; in nfit_test_blk_do_io()
|