Lines Matching defs:nd_region

40 	struct nd_region *nd_region = to_nd_region(dev->parent);  in namespace_blk_release()  local
135 struct nd_region *nd_region = to_nd_region(dev->parent); in pmem_should_map_pages() local
157 struct nd_region *nd_region = to_nd_region(ndns->dev.parent); in nvdimm_namespace_disk_name() local
212 struct nd_region *nd_region = to_nd_region(dev->parent); in nstype_show() local
266 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in nd_namespace_blk_size() local
284 struct nd_region *nd_region = to_nd_region(nsblk->common.dev.parent); in __nd_namespace_blk_validate() local
341 static int nd_namespace_label_update(struct nd_region *nd_region, in nd_namespace_label_update()
380 struct nd_region *nd_region = to_nd_region(dev->parent); in alt_name_store() local
416 static int scan_free(struct nd_region *nd_region, in scan_free()
474 static int shrink_dpa_allocation(struct nd_region *nd_region, in shrink_dpa_allocation()
492 struct nd_region *nd_region, struct nd_mapping *nd_mapping, in init_dpa_allocation()
535 static resource_size_t scan_allocate(struct nd_region *nd_region, in scan_allocate()
684 static int merge_dpa(struct nd_region *nd_region, in merge_dpa()
718 struct nd_region *nd_region; in __reserve_free_pmem() local
789 static int grow_dpa_allocation(struct nd_region *nd_region, in grow_dpa_allocation()
838 static void nd_namespace_pmem_set_size(struct nd_region *nd_region, in nd_namespace_pmem_set_size()
850 struct nd_region *nd_region = to_nd_region(dev->parent); in __size_store() local
944 struct nd_region *nd_region = to_nd_region(dev->parent); in size_store() local
1052 static int namespace_update_uuid(struct nd_region *nd_region, in namespace_update_uuid()
1107 struct nd_region *nd_region = to_nd_region(dev->parent); in uuid_store() local
1186 struct nd_region *nd_region = to_nd_region(dev->parent); in sector_size_store() local
1214 struct nd_region *nd_region = to_nd_region(dev->parent); in dpa_extents_show() local
1415 static struct device **create_namespace_io(struct nd_region *nd_region) in create_namespace_io()
1444 static bool has_uuid_at_pos(struct nd_region *nd_region, u8 *uuid, in has_uuid_at_pos()
1487 static int select_pmem_id(struct nd_region *nd_region, u8 *pmem_id) in select_pmem_id()
1534 static int find_pmem_label_set(struct nd_region *nd_region, in find_pmem_label_set()
1634 static struct device **create_namespace_pmem(struct nd_region *nd_region) in create_namespace_pmem()
1682 struct resource *nsblk_add_resource(struct nd_region *nd_region, in nsblk_add_resource()
1705 static struct device *nd_namespace_blk_create(struct nd_region *nd_region) in nd_namespace_blk_create()
1731 void nd_region_create_blk_seed(struct nd_region *nd_region) in nd_region_create_blk_seed()
1745 void nd_region_create_btt_seed(struct nd_region *nd_region) in nd_region_create_btt_seed()
1757 static struct device **create_namespace_blk(struct nd_region *nd_region) in create_namespace_blk()
1864 static int init_active_labels(struct nd_region *nd_region) in init_active_labels()
1908 int nd_region_register_namespaces(struct nd_region *nd_region, int *err) in nd_region_register_namespaces()