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

NAME

6       bdget_disk - do bdget by gendisk and partition number
7

SYNOPSIS

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

ARGUMENTS

12       disk
13           gendisk of interest
14
15       partno
16           partition number
17

DESCRIPTION

19       Find partition partno from disk, do bdget on it.
20

CONTEXT

22       Don't care.
23

RETURNS

25       Resulting block_device on success, NULL on failure.
26
28Kernel Hackers Manual 2.6.       November 2011                   BDGET_DISK(9)
Impressum