Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 3 of 3) sorted by relevance

/block/
Dblk-merge.c16 struct bio_vec bv, bvprv = { NULL }; in __blk_recalc_rq_segments() local
41 bio_for_each_segment(bv, bio, iter) { in __blk_recalc_rq_segments()
54 high = page_to_pfn(bv.bv_page) > queue_bounce_pfn(q); in __blk_recalc_rq_segments()
56 if (seg_size + bv.bv_len in __blk_recalc_rq_segments()
59 if (!BIOVEC_PHYS_MERGEABLE(&bvprv, &bv)) in __blk_recalc_rq_segments()
61 if (!BIOVEC_SEG_BOUNDARY(q, &bvprv, &bv)) in __blk_recalc_rq_segments()
64 seg_size += bv.bv_len; in __blk_recalc_rq_segments()
65 bvprv = bv; in __blk_recalc_rq_segments()
74 bvprv = bv; in __blk_recalc_rq_segments()
75 seg_size = bv.bv_len; in __blk_recalc_rq_segments()
Dbio.c162 void bvec_free(mempool_t *pool, struct bio_vec *bv, unsigned int idx) in bvec_free() argument
167 mempool_free(bv, pool); in bvec_free()
171 kmem_cache_free(bvs->slab, bv); in bvec_free()
506 struct bio_vec bv; in zero_fill_bio() local
509 bio_for_each_segment(bv, bio, iter) { in zero_fill_bio()
510 char *data = bvec_kmap_irq(&bv, &flags); in zero_fill_bio()
511 memset(data, 0, bv.bv_len); in zero_fill_bio()
512 flush_dcache_page(bv.bv_page); in zero_fill_bio()
620 struct bio_vec bv; in bio_clone_bioset() local
662 bio_for_each_segment(bv, bio_src, iter) in bio_clone_bioset()
[all …]
Dbio-integrity.c220 struct bio_vec bv; in bio_integrity_process() local
231 bio_for_each_segment(bv, bio, bviter) { in bio_integrity_process()
232 void *kaddr = kmap_atomic(bv.bv_page); in bio_integrity_process()
234 iter.data_buf = kaddr + bv.bv_offset; in bio_integrity_process()
235 iter.data_size = bv.bv_len; in bio_integrity_process()