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
143 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
150 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
158 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
172 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
194 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
210 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
219 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
233 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
250 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
259 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
268 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
308 resource_size_t nd_region_available_dpa(struct nd_region *nd_region) in nd_region_available_dpa()
330 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region) in nd_region_allocatable_dpa()
348 struct nd_region *nd_region = to_nd_region(dev); in available_size_show() local
371 struct nd_region *nd_region = to_nd_region(dev); in max_available_extent_show() local
405 struct nd_region *nd_region = to_nd_region(dev); in namespace_seed_show() local
421 struct nd_region *nd_region = to_nd_region(dev); in btt_seed_show() local
438 struct nd_region *nd_region = to_nd_region(dev); in pfn_seed_show() local
455 struct nd_region *nd_region = to_nd_region(dev); in dax_seed_show() local
472 struct nd_region *nd_region = to_nd_region(dev); in read_only_show() local
488 struct nd_region *nd_region = to_nd_region(dev); in read_only_store() local
502 struct nd_region *nd_region = to_nd_region(dev); in align_show() local
510 struct nd_region *nd_region = to_nd_region(dev); in align_store() local
548 struct nd_region *nd_region = to_nd_region(dev); in region_badblocks_show() local
565 struct nd_region *nd_region = to_nd_region(dev); in resource_show() local
574 struct nd_region *nd_region = to_nd_region(dev); in persistence_domain_show() local
609 struct nd_region *nd_region = to_nd_region(dev); in region_visible() local
661 struct nd_region *nd_region = to_nd_region(dev); in mappingN() local
723 struct nd_region *nd_region = to_nd_region(dev); in mapping_visible() local
806 u64 nd_region_interleave_set_cookie(struct nd_region *nd_region, in nd_region_interleave_set_cookie()
820 u64 nd_region_interleave_set_altcookie(struct nd_region *nd_region) in nd_region_interleave_set_altcookie()
844 void nd_region_advance_seeds(struct nd_region *nd_region, struct device *dev) in nd_region_advance_seeds()
891 unsigned int nd_region_acquire_lane(struct nd_region *nd_region) in nd_region_acquire_lane()
911 void nd_region_release_lane(struct nd_region *nd_region, unsigned int lane) in nd_region_release_lane()
933 static unsigned long default_align(struct nd_region *nd_region) in default_align()
957 struct nd_region *nd_region; in nd_region_create() local
1076 void nvdimm_region_delete(struct nd_region *nd_region) in nvdimm_region_delete()
1083 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio) in nvdimm_flush()
1100 int generic_nvdimm_flush(struct nd_region *nd_region) in generic_nvdimm_flush()
1137 int nvdimm_has_flush(struct nd_region *nd_region) in nvdimm_has_flush()
1168 int nvdimm_has_cache(struct nd_region *nd_region) in nvdimm_has_cache()
1175 bool is_nvdimm_sync(struct nd_region *nd_region) in is_nvdimm_sync()
1186 struct nd_region *nd_region; member
1192 struct nd_region *nd_region; in region_conflict() local
1213 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start, in nd_region_conflict()