Lines Matching defs:nd_region
26 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_pmem_release() local
38 struct nd_region *nd_region = to_nd_region(dev->parent); in namespace_blk_release() local
107 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
159 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
218 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
271 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
289 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
346 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
385 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
421 static int scan_free(struct nd_region *nd_region, in scan_free()
479 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
497 struct nd_region *nd_region, struct nd_mapping *nd_mapping, in init_dpa_allocation()
538 static void space_valid(struct nd_region *nd_region, struct nvdimm_drvdata *ndd, in space_valid()
594 static resource_size_t scan_allocate(struct nd_region *nd_region, in scan_allocate()
746 static int merge_dpa(struct nd_region *nd_region, in merge_dpa()
780 struct nd_region *nd_region; in __reserve_free_pmem() local
851 static int grow_dpa_allocation(struct nd_region *nd_region, in grow_dpa_allocation()
900 static void nd_namespace_pmem_set_resource(struct nd_region *nd_region, in nd_namespace_pmem_set_resource()
953 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store() local
1051 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store() local
1127 struct nd_region *nd_region = to_nd_region(dev->parent); in nvdimm_namespace_locked() local
1183 static int namespace_update_uuid(struct nd_region *nd_region, in namespace_update_uuid()
1253 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store() local
1341 struct nd_region *nd_region = to_nd_region(dev->parent); in sector_size_store() local
1379 struct nd_region *nd_region = to_nd_region(dev->parent); in dpa_extents_show() local
1420 struct nd_region *nd_region = to_nd_region(dev->parent); in btt_claim_class() local
1521 struct nd_region *nd_region = to_nd_region(dev->parent); in holder_class_store() local
1805 static struct device **create_namespace_io(struct nd_region *nd_region) in create_namespace_io()
1834 static bool has_uuid_at_pos(struct nd_region *nd_region, u8 *uuid, in has_uuid_at_pos()
1884 static int select_pmem_id(struct nd_region *nd_region, u8 *pmem_id) in select_pmem_id()
1942 static struct device *create_namespace_pmem(struct nd_region *nd_region, in create_namespace_pmem()
2073 struct resource *nsblk_add_resource(struct nd_region *nd_region, in nsblk_add_resource()
2096 static struct device *nd_namespace_blk_create(struct nd_region *nd_region) in nd_namespace_blk_create()
2121 static struct device *nd_namespace_pmem_create(struct nd_region *nd_region) in nd_namespace_pmem_create()
2152 void nd_region_create_ns_seed(struct nd_region *nd_region) in nd_region_create_ns_seed()
2175 void nd_region_create_dax_seed(struct nd_region *nd_region) in nd_region_create_dax_seed()
2187 void nd_region_create_pfn_seed(struct nd_region *nd_region) in nd_region_create_pfn_seed()
2199 void nd_region_create_btt_seed(struct nd_region *nd_region) in nd_region_create_btt_seed()
2211 static int add_namespace_resource(struct nd_region *nd_region, in add_namespace_resource()
2249 static struct device *create_namespace_blk(struct nd_region *nd_region, in create_namespace_blk()
2320 static struct device **scan_labels(struct nd_region *nd_region) in scan_labels()
2455 static struct device **create_namespaces(struct nd_region *nd_region) in create_namespaces()
2484 struct nd_region *nd_region = region; in deactivate_labels() local
2503 static int init_active_labels(struct nd_region *nd_region) in init_active_labels()
2578 int nd_region_register_namespaces(struct nd_region *nd_region, int *err) in nd_region_register_namespaces()