Lines Matching refs:ndbr
205 void *nd_blk_region_provider_data(struct nd_blk_region *ndbr) in nd_blk_region_provider_data() argument
207 return ndbr->blk_provider_data; 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() argument
213 ndbr->blk_provider_data = data; in nd_blk_region_set_provider_data()
967 struct nd_blk_region *ndbr; in nd_region_create() local
970 ndbr = kzalloc(sizeof(*ndbr) + sizeof(struct nd_mapping) in nd_region_create()
973 if (ndbr) { in nd_region_create()
974 nd_region = &ndbr->nd_region; in nd_region_create()
975 ndbr->enable = ndbr_desc->enable; in nd_region_create()
976 ndbr->do_io = ndbr_desc->do_io; in nd_region_create()
978 region_buf = ndbr; in nd_region_create()