Home
last modified time | relevance | path

Searched refs:new_ptbl (Results 1 – 1 of 1) sorted by relevance

/OK3568_Linux_fs/kernel/block/
H A Dgenhd.c1471 struct disk_part_tbl *new_ptbl) in disk_replace_part_tbl() argument
1476 rcu_assign_pointer(disk->part_tbl, new_ptbl); in disk_replace_part_tbl()
1503 struct disk_part_tbl *new_ptbl; in disk_expand_part_tbl() local
1522 new_ptbl = kzalloc_node(struct_size(new_ptbl, part, target), GFP_KERNEL, in disk_expand_part_tbl()
1524 if (!new_ptbl) in disk_expand_part_tbl()
1527 new_ptbl->len = target; in disk_expand_part_tbl()
1530 rcu_assign_pointer(new_ptbl->part[i], old_ptbl->part[i]); in disk_expand_part_tbl()
1532 disk_replace_part_tbl(disk, new_ptbl); in disk_expand_part_tbl()