Lines Matching defs:nd_region
63 static int nd_region_invalidate_memregion(struct nd_region *nd_region) in nd_region_invalidate_memregion()
105 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
173 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
190 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
197 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
205 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
219 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
241 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
257 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
266 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
280 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
297 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
306 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
315 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
355 resource_size_t nd_region_available_dpa(struct nd_region *nd_region) in nd_region_available_dpa()
377 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region) in nd_region_allocatable_dpa()
395 struct nd_region *nd_region = to_nd_region(dev); in available_size_show() local
418 struct nd_region *nd_region = to_nd_region(dev); in max_available_extent_show() local
452 struct nd_region *nd_region = to_nd_region(dev); in namespace_seed_show() local
468 struct nd_region *nd_region = to_nd_region(dev); in btt_seed_show() local
485 struct nd_region *nd_region = to_nd_region(dev); in pfn_seed_show() local
502 struct nd_region *nd_region = to_nd_region(dev); in dax_seed_show() local
519 struct nd_region *nd_region = to_nd_region(dev); in read_only_show() local
535 struct nd_region *nd_region = to_nd_region(dev); in read_only_store() local
549 struct nd_region *nd_region = to_nd_region(dev); in align_show() local
557 struct nd_region *nd_region = to_nd_region(dev); in align_store() local
595 struct nd_region *nd_region = to_nd_region(dev); in region_badblocks_show() local
612 struct nd_region *nd_region = to_nd_region(dev); in resource_show() local
621 struct nd_region *nd_region = to_nd_region(dev); in persistence_domain_show() local
656 struct nd_region *nd_region = to_nd_region(dev); in region_visible() local
708 struct nd_region *nd_region = to_nd_region(dev); in mappingN() local
770 struct nd_region *nd_region = to_nd_region(dev); in mapping_visible() local
853 u64 nd_region_interleave_set_cookie(struct nd_region *nd_region, in nd_region_interleave_set_cookie()
867 u64 nd_region_interleave_set_altcookie(struct nd_region *nd_region) in nd_region_interleave_set_altcookie()
891 void nd_region_advance_seeds(struct nd_region *nd_region, struct device *dev) in nd_region_advance_seeds()
938 unsigned int nd_region_acquire_lane(struct nd_region *nd_region) in nd_region_acquire_lane()
959 void nd_region_release_lane(struct nd_region *nd_region, unsigned int lane) in nd_region_release_lane()
980 static unsigned long default_align(struct nd_region *nd_region) in default_align()
1004 struct nd_region *nd_region; in nd_region_create() local
1123 void nvdimm_region_delete(struct nd_region *nd_region) in nvdimm_region_delete()
1130 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio) in nvdimm_flush()
1147 int generic_nvdimm_flush(struct nd_region *nd_region) in generic_nvdimm_flush()
1184 int nvdimm_has_flush(struct nd_region *nd_region) in nvdimm_has_flush()
1215 int nvdimm_has_cache(struct nd_region *nd_region) in nvdimm_has_cache()
1222 bool is_nvdimm_sync(struct nd_region *nd_region) in is_nvdimm_sync()
1233 struct nd_region *nd_region; member
1239 struct nd_region *nd_region; in region_conflict() local
1260 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start, in nd_region_conflict()