Searched refs:new_ptbl (Results 1 – 1 of 1) sorted by relevance
1047 struct disk_part_tbl *new_ptbl) in disk_replace_part_tbl() argument1051 rcu_assign_pointer(disk->part_tbl, new_ptbl); in disk_replace_part_tbl()1076 struct disk_part_tbl *new_ptbl; in disk_expand_part_tbl() local1096 size = sizeof(*new_ptbl) + target * sizeof(new_ptbl->part[0]); in disk_expand_part_tbl()1097 new_ptbl = kzalloc_node(size, GFP_KERNEL, disk->node_id); in disk_expand_part_tbl()1098 if (!new_ptbl) in disk_expand_part_tbl()1101 new_ptbl->len = target; in disk_expand_part_tbl()1104 rcu_assign_pointer(new_ptbl->part[i], old_ptbl->part[i]); in disk_expand_part_tbl()1106 disk_replace_part_tbl(disk, new_ptbl); in disk_expand_part_tbl()