BIO_GET_NR_VECS(9) The Linux VFS BIO_GET_NR_VECS(9)NAMEbio_get_nr_vecs - return approx number of vecs
SYNOPSIS
int bio_get_nr_vecs(struct block_device * bdev);
ARGUMENTS
bdev
I/O target
DESCRIPTION
Return the approximate number of pages we can send to this target.
ThereĀ“s no guarantee that you will be able to fit this number of pages
into a bio, it does not account for dynamic restrictions that vary on
offset.
COPYRIGHTKernel Hackers Manual 2.6. November 2013 BIO_GET_NR_VECS(9)