Lines Matching refs:sectors
684 * This allows us to do IO even on the odd last sectors of a device, even if the
973 * @max_sectors: maximum number of sectors that can be added
1643 * @sectors: number of sectors to split from the front of @bio
1647 * Allocates and returns a new bio which represents @sectors from the start of
1648 * @bio, and updates @bio to represent the remaining sectors.
1654 struct bio *bio_split(struct bio *bio, int sectors,
1659 BUG_ON(sectors <= 0);
1660 BUG_ON(sectors >= bio_sectors(bio));
1670 split->bi_iter.bi_size = sectors << 9;
1687 * @offset: number of sectors to trim from the front of @bio
1688 * @size: size we want to trim @bio to, in sectors