1BIO_SECTOR_OFFSET(9) The Linux VFS BIO_SECTOR_OFFSET(9)
2
3
4
6 bio_sector_offset - Find hardware sector offset in bio
7
9 sector_t bio_sector_offset(struct bio * bio, unsigned short index,
10 unsigned int offset);
11
13 bio
14 bio to inspect
15
16 index
17 bio_vec index
18
19 offset
20 offset in bv_page
21
23 Return the number of hardware sectors between beginning of bio and an
24 end point indicated by a bio_vec index and an offset within that
25 vector's page.
26
28Kernel Hackers Manual 3.10 June 2019 BIO_SECTOR_OFFSET(9)