Home
last modified time | relevance | path

Searched refs:bvec (Results 1 – 4 of 4) sorted by relevance

/block/
Dbio.c737 struct bio_vec *bvec; in __bio_add_pc_page() local
756 bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_add_pc_page()
757 if (bvec_gap_to_prev(q, bvec, offset)) in __bio_add_pc_page()
767 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_pc_page()
768 bvec->bv_page = page; in __bio_add_pc_page()
769 bvec->bv_len = len; in __bio_add_pc_page()
770 bvec->bv_offset = offset; in __bio_add_pc_page()
878 struct bio_vec *bvec; in bio_release_pages() local
883 bio_for_each_segment_all(bvec, bio, iter_all) { in bio_release_pages()
884 if (mark_dirty && !PageCompound(bvec->bv_page)) in bio_release_pages()
[all …]
Dblk-merge.c399 struct bio_vec *bvec, struct scatterlist *sglist, in blk_bvec_map_sg() argument
402 unsigned nbytes = bvec->bv_len; in blk_bvec_map_sg()
406 unsigned offset = bvec->bv_offset + total; in blk_bvec_map_sg()
408 struct page *page = bvec->bv_page; in blk_bvec_map_sg()
442 __blk_segment_map_sg_merge(struct request_queue *q, struct bio_vec *bvec, in __blk_segment_map_sg_merge() argument
446 int nbytes = bvec->bv_len; in __blk_segment_map_sg_merge()
454 if (!biovec_phys_mergeable(q, bvprv, bvec)) in __blk_segment_map_sg_merge()
466 struct bio_vec uninitialized_var(bvec), bvprv = { NULL }; in __blk_bios_map_sg()
472 bio_for_each_bvec(bvec, bio, iter) { in __blk_bios_map_sg()
479 __blk_segment_map_sg_merge(q, &bvec, &bvprv, sg)) in __blk_bios_map_sg()
[all …]
Dbounce.c165 struct bio_vec *bvec, orig_vec; in bounce_end_io() local
172 bio_for_each_segment_all(bvec, bio, iter_all) { in bounce_end_io()
174 if (bvec->bv_page != orig_vec.bv_page) { in bounce_end_io()
175 dec_zone_page_state(bvec->bv_page, NR_BOUNCE); in bounce_end_io()
176 mempool_free(bvec->bv_page, pool); in bounce_end_io()
Dblk-core.c1534 struct bio_vec bvec; in rq_flush_dcache_pages() local
1536 rq_for_each_segment(bvec, rq, iter) in rq_flush_dcache_pages()
1537 flush_dcache_page(bvec.bv_page); in rq_flush_dcache_pages()