Lines Matching defs:nd_region
62 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
126 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
145 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
152 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
162 struct nd_region *nd_region = to_nd_region(dev); in to_nd_blk_region() local
169 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
195 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
219 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
235 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
244 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
258 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
275 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
284 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
293 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
333 resource_size_t nd_region_available_dpa(struct nd_region *nd_region) in nd_region_available_dpa()
365 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region) in nd_region_allocatable_dpa()
392 struct nd_region *nd_region = to_nd_region(dev); in available_size_show() local
415 struct nd_region *nd_region = to_nd_region(dev); in max_available_extent_show() local
449 struct nd_region *nd_region = to_nd_region(dev); in namespace_seed_show() local
465 struct nd_region *nd_region = to_nd_region(dev); in btt_seed_show() local
482 struct nd_region *nd_region = to_nd_region(dev); in pfn_seed_show() local
499 struct nd_region *nd_region = to_nd_region(dev); in dax_seed_show() local
516 struct nd_region *nd_region = to_nd_region(dev); in read_only_show() local
526 struct nd_region *nd_region = to_nd_region(dev); in read_only_store() local
539 struct nd_region *nd_region = to_nd_region(dev); in align_show() local
547 struct nd_region *nd_region = to_nd_region(dev); in align_store() local
587 struct nd_region *nd_region = to_nd_region(dev); in region_badblocks_show() local
604 struct nd_region *nd_region = to_nd_region(dev); in resource_show() local
613 struct nd_region *nd_region = to_nd_region(dev); in persistence_domain_show() local
648 struct nd_region *nd_region = to_nd_region(dev); in region_visible() local
701 struct nd_region *nd_region = to_nd_region(dev); in mappingN() local
763 struct nd_region *nd_region = to_nd_region(dev); in mapping_visible() local
857 u64 nd_region_interleave_set_cookie(struct nd_region *nd_region, in nd_region_interleave_set_cookie()
871 u64 nd_region_interleave_set_altcookie(struct nd_region *nd_region) in nd_region_interleave_set_altcookie()
895 void nd_region_advance_seeds(struct nd_region *nd_region, struct device *dev) in nd_region_advance_seeds()
925 int nd_blk_region_init(struct nd_region *nd_region) in nd_blk_region_init()
958 unsigned int nd_region_acquire_lane(struct nd_region *nd_region) in nd_region_acquire_lane()
978 void nd_region_release_lane(struct nd_region *nd_region, unsigned int lane) in nd_region_release_lane()
1000 static unsigned long default_align(struct nd_region *nd_region) in default_align()
1036 struct nd_region *nd_region; in nd_region_create() local
1182 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio) in nvdimm_flush()
1199 int generic_nvdimm_flush(struct nd_region *nd_region) in generic_nvdimm_flush()
1236 int nvdimm_has_flush(struct nd_region *nd_region) in nvdimm_has_flush()
1267 int nvdimm_has_cache(struct nd_region *nd_region) in nvdimm_has_cache()
1274 bool is_nvdimm_sync(struct nd_region *nd_region) in is_nvdimm_sync()
1285 struct nd_region *nd_region; member
1291 struct nd_region *nd_region; in region_conflict() local
1312 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start, in nd_region_conflict()