Home
last modified time | relevance | path

Searched refs:bi_vcnt (Results 1 – 30 of 30) sorted by relevance

/linux-4.4.14/fs/logfs/
Ddev_bdev.c28 bio.bi_vcnt = 1; in sync_request()
92 bio->bi_vcnt = i; in __bdev_writeseg()
119 bio->bi_vcnt = nr_pages; in __bdev_writeseg()
160 BUG_ON(bio->bi_vcnt == 0); in erase_end_io()
182 bio->bi_vcnt = i; in do_erase()
203 bio->bi_vcnt = nr_pages; in do_erase()
/linux-4.4.14/block/
Dbio.c674 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bio_clone_bioset()
679 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bio_clone_bioset()
731 if (bio->bi_vcnt > 0) { in bio_add_pc_page()
732 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_add_pc_page()
749 if (bio->bi_vcnt >= bio->bi_max_vecs) in bio_add_pc_page()
756 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in bio_add_pc_page()
760 bio->bi_vcnt++; in bio_add_pc_page()
779 if (bio->bi_vcnt > 1 && (BIOVEC_PHYS_MERGEABLE(bvec-1, bvec))) in bio_add_pc_page()
789 bio->bi_vcnt--; in bio_add_pc_page()
822 if (bio->bi_vcnt > 0) { in bio_add_page()
[all …]
Dblk-lib.c176 bio->bi_vcnt = 1; in blkdev_issue_write_same()
Dblk-merge.c283 seg_cnt = bio->bi_vcnt; in blk_recount_segments()
398 if (bio->bi_vcnt) in __blk_bios_map_sg()
Dblk-core.c1535 bio->bi_vcnt = 1; in blk_add_request_payload()
/linux-4.4.14/Documentation/block/
Dbiovecs.txt70 reached the end of a bio, not bi_vcnt - and the bio_iovec() macro takes
104 * bi_vcnt can't be trusted or relied upon by driver code - i.e. anything that
108 biovec, in order to calculate bi_vcnt for the new bio we'd have to iterate
111 So, don't use bi_vcnt anymore.
Dbiodoc.txt437 unsigned int bi_vcnt; /* how may bio_vec's */
/linux-4.4.14/drivers/md/bcache/
Dutil.c231 BUG_ON(bio->bi_vcnt); in bch_bio_map()
236 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
Dbtree.c436 b->bio->bi_vcnt = 0; in do_btree_node_write()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dlloop.c306 LASSERT(first->bi_vcnt <= LLOOP_MAX_SEGMENTS); in loop_get_bio()
314 page_count, (*bio)->bi_vcnt); in loop_get_bio()
315 if (page_count + (*bio)->bi_vcnt > LLOOP_MAX_SEGMENTS) in loop_get_bio()
318 page_count += (*bio)->bi_vcnt; in loop_get_bio()
/linux-4.4.14/fs/btrfs/
Dcompression.c182 cb->orig_bio->bi_vcnt, in end_compressed_bio_read()
459 page = cb->orig_bio->bi_io_vec[cb->orig_bio->bi_vcnt - 1].bv_page; in add_ra_bio_pages()
570 unsigned long uncompressed_len = bio->bi_vcnt * PAGE_CACHE_SIZE; in btrfs_submit_compressed_read()
647 uncompressed_len = bio->bi_vcnt * PAGE_CACHE_SIZE; in btrfs_submit_compressed_read()
Dfile-item.c207 WARN_ON(bio->bi_vcnt <= 0); in __btrfs_lookup_bio_sums()
223 while (bio_index < bio->bi_vcnt) { in __btrfs_lookup_bio_sums()
439 WARN_ON(bio->bi_vcnt <= 0); in btrfs_csum_one_bio()
458 while (bio_index < bio->bi_vcnt) { in btrfs_csum_one_bio()
Dcheck-integrity.c2989 rw, bio->bi_vcnt, in __btrfsic_submit_bio()
2993 mapped_datav = kmalloc_array(bio->bi_vcnt, in __btrfsic_submit_bio()
2998 for (i = 0; i < bio->bi_vcnt; i++) { in __btrfsic_submit_bio()
3018 mapped_datav, bio->bi_vcnt, in __btrfsic_submit_bio()
Draid56.c1160 for (i = 0; i < bio->bi_vcnt; i++) { in index_rbio_pages()
1440 for (i = 0; i < bio->bi_vcnt; i++) { in set_bio_pages_uptodate()
Dextent_io.c2382 if (failed_bio->bi_vcnt > 1) { in btrfs_check_repairable()
2488 if (failed_bio->bi_vcnt > 1) in bio_readpage_error()
2820 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in submit_one_bio()
Dinode.c7799 if (failed_bio->bi_vcnt > 1) in dio_read_error()
8236 while (bvec <= (orig_bio->bi_io_vec + orig_bio->bi_vcnt - 1)) { in btrfs_submit_direct_hook()
/linux-4.4.14/include/linux/
Dblk_types.h88 unsigned short bi_vcnt; /* how many bio_vec's */ member
Dbio.h194 for (i = 0, bvl = (bio)->bi_io_vec; i < (bio)->bi_vcnt; i++, bvl++)
/linux-4.4.14/drivers/md/
Draid1.c130 bio->bi_vcnt = RESYNC_PAGES; in r1buf_pool_alloc()
974 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), in alloc_behind_pages()
990 r1_bio->behind_page_count = bio->bi_vcnt; in alloc_behind_pages()
995 for (i = 0; i < bio->bi_vcnt; i++) in alloc_behind_pages()
1939 b->bi_vcnt = vcnt; in process_checks()
2199 wbio->bi_vcnt = vcnt; in narrow_write_error()
2708 page = bio->bi_io_vec[bio->bi_vcnt].bv_page; in sync_request()
2711 bio->bi_io_vec[bio->bi_vcnt].bv_page = page; in sync_request()
2718 bio->bi_vcnt--; in sync_request()
2729 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()
Draid10.c1993 tbio->bi_vcnt = vcnt; in sync_request_write()
3275 page = bio->bi_io_vec[bio->bi_vcnt].bv_page; in sync_request()
3280 bio->bi_io_vec[bio->bi_vcnt].bv_page = page; in sync_request()
3285 bio2->bi_vcnt--; in sync_request()
3293 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request()
4324 read_bio->bi_vcnt = 0; in reshape_request()
4378 bio2->bi_vcnt--; in reshape_request()
Ddm-crypt.c1020 bvec = &clone->bi_io_vec[clone->bi_vcnt++]; in crypt_alloc_buffer()
Draid5.c1024 bi->bi_vcnt = 1; in ops_run_io()
1033 bi->bi_vcnt = 0; in ops_run_io()
1073 rbi->bi_vcnt = 1; in ops_run_io()
1082 rbi->bi_vcnt = 0; in ops_run_io()
Ddm.c2117 md_in_flight(md) && rq->bio && rq->bio->bi_vcnt == 1 && in dm_request_fn()
/linux-4.4.14/drivers/target/
Dtarget_core_pscsi.c952 bio->bi_vcnt, nr_vecs); in pscsi_map_sg()
954 if (bio->bi_vcnt > nr_vecs) { in pscsi_map_sg()
957 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
/linux-4.4.14/fs/exofs/
Dore_raid.c379 per_dev->bio->bi_vcnt); in _add_to_r4w()
Dore.c636 per_dev->bio->bi_vcnt, in _ore_add_stripe_unit()
/linux-4.4.14/drivers/block/
Dpktcdvd.c1163 pkt->bio->bi_vcnt = pkt->frames; in pkt_start_recovery()
1316 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
Dfloppy.c3812 bio.bi_vcnt = 1; in __floppy_read_block_0()
/linux-4.4.14/fs/
Dbuffer.c2966 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_receiver.c1440 if (bio->bi_vcnt == 0) { in drbd_submit_peer_request()