1DISK_EXPAND_PART_TBL(9)          Block Devices         DISK_EXPAND_PART_TBL(9)
2
3
4

NAME

6       disk_expand_part_tbl - expand disk->part_tbl
7

SYNOPSIS

9       int disk_expand_part_tbl(struct gendisk * disk, int partno);
10

ARGUMENTS

12       disk
13           disk to expand part_tbl for
14
15       partno
16           expand such that this partno can fit in
17

DESCRIPTION

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

LOCKING

23       Matching bd_mutex locked, might sleep.
24

RETURNS

26       0 on success, -errno on failure.
27
29Kernel Hackers Manual 3.10         June 2019           DISK_EXPAND_PART_TBL(9)
Impressum