1DISK_EXPAND_PART_TBL(9) Block Devices DISK_EXPAND_PART_TBL(9)
2
3
4
6 disk_expand_part_tbl - expand disk->part_tbl
7
9 int disk_expand_part_tbl(struct gendisk * disk, int partno);
10
12 disk
13 disk to expand part_tbl for
14
15 partno
16 expand such that this partno can fit in
17
19 Expand disk->part_tbl such that partno can fit in. disk->part_tbl uses
20 RCU to allow unlocked dereferencing for stats and other stuff.
21
23 Matching bd_mutex locked, might sleep.
24
26 0 on success, -errno on failure.
27
29Kernel Hackers Manual 3.10 June 2019 DISK_EXPAND_PART_TBL(9)