table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
BIO_ADVANCE(9) | The Linux VFS | BIO_ADVANCE(9) |
NAME¶
bio_advance - increment/complete a bio by some number of bytesSYNOPSIS¶
void
bio_advance(struct bio * bio,
unsigned bytes);
ARGUMENTS¶
biobio to advance
bytes
number of bytes to complete
DESCRIPTION¶
This updates bi_sector, bi_size and bi_idx; if the number of bytes to complete doesn't align with a bvec boundary, then bv_len and bv_offset will be updated on the last bvec as well.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |