Lines Matching refs:bytes
248 const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, in bvec_split_segs() argument
251 unsigned max_len = max_bytes - *bytes; in bvec_split_segs()
267 *bytes += total_len; in bvec_split_segs()
298 unsigned nsegs = 0, bytes = 0; in bio_split_rw_at() local
309 bytes + bv.bv_len <= max_bytes && in bio_split_rw_at()
312 bytes += bv.bv_len; in bio_split_rw_at()
314 if (bvec_split_segs(lim, &bv, &nsegs, &bytes, in bio_split_rw_at()
343 bytes = ALIGN_DOWN(bytes, bio_split_alignment(bio, lim)); in bio_split_rw_at()
351 return bytes >> SECTOR_SHIFT; in bio_split_rw_at()
424 unsigned int bytes = 0; in blk_recalc_rq_segments() local
449 bvec_split_segs(&rq->q->limits, &bv, &nr_phys_segs, &bytes, in blk_recalc_rq_segments()