BIO_SECTOR_OFFSET(9) The Linux VFS BIO_SECTOR_OFFSET(9)

NAME bio_sector_offset - Find hardware sector offset in bio

SYNOPSIS sector_t bio_sector_offset(struct bio * bio, unsigned short index, unsigned int offset);

ARGUMENTS bio bio to inspect

index bio_vec index

offset offset in bv_page

DESCRIPTION Return the number of hardware sectors between beginning of bio and an end point indicated by a bio_vec index and an offset within that vector´s page.

COPYRIGHT Kernel Hackers Manual 2.6. April 2016 BIO_SECTOR_OFFSET(9)