Lines Matching defs:nd_region
27 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local
90 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
142 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
186 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
233 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
262 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
294 static int scan_free(struct nd_region *nd_region, in scan_free()
341 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
359 struct nd_region *nd_region, struct nd_mapping *nd_mapping, in init_dpa_allocation()
392 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
432 static resource_size_t scan_allocate(struct nd_region *nd_region, in scan_allocate()
574 static int merge_dpa(struct nd_region *nd_region, in merge_dpa()
608 struct nd_region *nd_region; in __reserve_free_pmem() local
666 static int grow_dpa_allocation(struct nd_region *nd_region, in grow_dpa_allocation()
692 static void nd_namespace_pmem_set_resource(struct nd_region *nd_region, in nd_namespace_pmem_set_resource()
746 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store() local
838 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store() local
903 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked() local
955 static int namespace_update_uuid(struct nd_region *nd_region, in namespace_update_uuid()
1027 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store() local
1101 struct nd_region *nd_region = to_nd_region(dev->parent); in sector_size_store() local
1134 struct nd_region *nd_region = to_nd_region(dev->parent); in dpa_extents_show() local
1170 struct nd_region *nd_region = to_nd_region(dev->parent); in btt_claim_class() local
1271 struct nd_region *nd_region = to_nd_region(dev->parent); in holder_class_store() local
1525 static struct device **create_namespace_io(struct nd_region *nd_region) in create_namespace_io()
1554 static bool has_uuid_at_pos(struct nd_region *nd_region, const uuid_t *uuid, in has_uuid_at_pos()
1603 static int select_pmem_id(struct nd_region *nd_region, const uuid_t *pmem_id) in select_pmem_id()
1662 static struct device *create_namespace_pmem(struct nd_region *nd_region, in create_namespace_pmem()
1793 static struct device *nd_namespace_pmem_create(struct nd_region *nd_region) in nd_namespace_pmem_create()
1826 void nd_region_create_ns_seed(struct nd_region *nd_region) in nd_region_create_ns_seed()
1849 void nd_region_create_dax_seed(struct nd_region *nd_region) in nd_region_create_dax_seed()
1861 void nd_region_create_pfn_seed(struct nd_region *nd_region) in nd_region_create_pfn_seed()
1873 void nd_region_create_btt_seed(struct nd_region *nd_region) in nd_region_create_btt_seed()
1885 static int add_namespace_resource(struct nd_region *nd_region, in add_namespace_resource()
1927 static struct device **scan_labels(struct nd_region *nd_region) in scan_labels()
2037 static struct device **create_namespaces(struct nd_region *nd_region) in create_namespaces()
2066 struct nd_region *nd_region = region; in deactivate_labels() local
2085 static int init_active_labels(struct nd_region *nd_region) in init_active_labels()
2154 int nd_region_register_namespaces(struct nd_region *nd_region, int *err) in nd_region_register_namespaces()