Lines Matching defs:nd_region
62 static int nd_region_invalidate_memregion(struct nd_region *nd_region) in nd_region_invalidate_memregion()
104 int nd_region_activate(struct nd_region *nd_region) in nd_region_activate()
172 struct nd_region *nd_region = to_nd_region(dev); in nd_region_release() local
189 struct nd_region *nd_region = container_of(dev, struct nd_region, dev); in to_nd_region() local
196 struct device *nd_region_dev(struct nd_region *nd_region) in nd_region_dev()
204 void *nd_region_provider_data(struct nd_region *nd_region) in nd_region_provider_data()
218 int nd_region_to_nstype(struct nd_region *nd_region) in nd_region_to_nstype()
240 static unsigned long long region_size(struct nd_region *nd_region) in region_size()
256 struct nd_region *nd_region = to_nd_region(dev); in size_show() local
265 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_show() local
279 struct nd_region *nd_region = to_nd_region(dev); in deep_flush_store() local
296 struct nd_region *nd_region = to_nd_region(dev); in mappings_show() local
305 struct nd_region *nd_region = to_nd_region(dev); in nstype_show() local
314 struct nd_region *nd_region = to_nd_region(dev); in set_cookie_show() local
354 resource_size_t nd_region_available_dpa(struct nd_region *nd_region) in nd_region_available_dpa()
376 resource_size_t nd_region_allocatable_dpa(struct nd_region *nd_region) in nd_region_allocatable_dpa()
394 struct nd_region *nd_region = to_nd_region(dev); in available_size_show() local
417 struct nd_region *nd_region = to_nd_region(dev); in max_available_extent_show() local
451 struct nd_region *nd_region = to_nd_region(dev); in namespace_seed_show() local
467 struct nd_region *nd_region = to_nd_region(dev); in btt_seed_show() local
484 struct nd_region *nd_region = to_nd_region(dev); in pfn_seed_show() local
501 struct nd_region *nd_region = to_nd_region(dev); in dax_seed_show() local
518 struct nd_region *nd_region = to_nd_region(dev); in read_only_show() local
534 struct nd_region *nd_region = to_nd_region(dev); in read_only_store() local
548 struct nd_region *nd_region = to_nd_region(dev); in align_show() local
556 struct nd_region *nd_region = to_nd_region(dev); in align_store() local
594 struct nd_region *nd_region = to_nd_region(dev); in region_badblocks_show() local
611 struct nd_region *nd_region = to_nd_region(dev); in resource_show() local
620 struct nd_region *nd_region = to_nd_region(dev); in persistence_domain_show() local
655 struct nd_region *nd_region = to_nd_region(dev); in region_visible() local
707 struct nd_region *nd_region = to_nd_region(dev); in mappingN() local
769 struct nd_region *nd_region = to_nd_region(dev); in mapping_visible() local
852 u64 nd_region_interleave_set_cookie(struct nd_region *nd_region, in nd_region_interleave_set_cookie()
866 u64 nd_region_interleave_set_altcookie(struct nd_region *nd_region) in nd_region_interleave_set_altcookie()
890 void nd_region_advance_seeds(struct nd_region *nd_region, struct device *dev) in nd_region_advance_seeds()
937 unsigned int nd_region_acquire_lane(struct nd_region *nd_region) in nd_region_acquire_lane()
957 void nd_region_release_lane(struct nd_region *nd_region, unsigned int lane) in nd_region_release_lane()
979 static unsigned long default_align(struct nd_region *nd_region) in default_align()
1003 struct nd_region *nd_region; in nd_region_create() local
1122 void nvdimm_region_delete(struct nd_region *nd_region) in nvdimm_region_delete()
1129 int nvdimm_flush(struct nd_region *nd_region, struct bio *bio) in nvdimm_flush()
1146 int generic_nvdimm_flush(struct nd_region *nd_region) in generic_nvdimm_flush()
1183 int nvdimm_has_flush(struct nd_region *nd_region) in nvdimm_has_flush()
1214 int nvdimm_has_cache(struct nd_region *nd_region) in nvdimm_has_cache()
1221 bool is_nvdimm_sync(struct nd_region *nd_region) in is_nvdimm_sync()
1232 struct nd_region *nd_region; member
1238 struct nd_region *nd_region; in region_conflict() local
1259 int nd_region_conflict(struct nd_region *nd_region, resource_size_t start, in nd_region_conflict()