1BIO_GET_NR_VECS(9)               The Linux VFS              BIO_GET_NR_VECS(9)
2
3
4

NAME

6       bio_get_nr_vecs - return approx number of vecs
7

SYNOPSIS

9       int bio_get_nr_vecs(struct block_device * bdev);
10

ARGUMENTS

12       bdev
13           I/O target
14

DESCRIPTION

16       Return the approximate number of pages we can send to this target.
17       There's no guarantee that you will be able to fit this number of pages
18       into a bio, it does not account for dynamic restrictions that vary on
19       offset.
20
22Kernel Hackers Manual 3.10         June 2019                BIO_GET_NR_VECS(9)
Impressum