1BIO_GET_NR_VECS(9) The Linux VFS BIO_GET_NR_VECS(9)
23
4
NAME
6bio_get_nr_vecs - return approx number of vecs
7
SYNOPSIS
9int bio_get_nr_vecs(struct block_device * bdev);
10
ARGUMENTS
12bdev
13I/O target
14
DESCRIPTION
16Return the approximate number of pages we can send to this target.
17There's no guarantee that you will be able to fit this number of pages
18into a bio, it does not account for dynamic restrictions that vary on
19offset.
20
COPYRIGHT
22Kernel Hackers Manual 2.6. November 2011 BIO_GET_NR_VECS(9)