/linux-4.1.27/fs/logfs/ |
D | dev_bdev.c | 28 bio.bi_vcnt = 1; in sync_request() 94 bio->bi_vcnt = i; in __bdev_writeseg() 121 bio->bi_vcnt = nr_pages; in __bdev_writeseg() 164 BUG_ON(bio->bi_vcnt == 0); in erase_end_io() 186 bio->bi_vcnt = i; in do_erase() 207 bio->bi_vcnt = nr_pages; in do_erase()
|
/linux-4.1.27/block/ |
D | blk-merge.c | 106 seg_cnt = bio->bi_vcnt; in blk_recount_segments() 221 if (bio->bi_vcnt) in __blk_bios_map_sg() 363 return bvec_gap_to_prev(&prev->bi_io_vec[prev->bi_vcnt - 1], in req_gap_to_prev() 595 bprev = &rq->biotail->bi_io_vec[rq->biotail->bi_vcnt - 1]; in blk_rq_merge_ok()
|
D | bio.c | 657 bio->bi_io_vec[bio->bi_vcnt++] = bio_src->bi_io_vec[0]; in bio_clone_bioset() 662 bio->bi_io_vec[bio->bi_vcnt++] = bv; in bio_clone_bioset() 723 if (bio->bi_vcnt > 0) { in __bio_add_page() 724 struct bio_vec *prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in __bio_add_page() 763 if (bio->bi_vcnt >= bio->bi_max_vecs) in __bio_add_page() 770 bvec = &bio->bi_io_vec[bio->bi_vcnt]; in __bio_add_page() 774 bio->bi_vcnt++; in __bio_add_page() 814 if (bio->bi_vcnt > 1 && (BIOVEC_PHYS_MERGEABLE(bvec-1, bvec))) in __bio_add_page() 824 bio->bi_vcnt--; in __bio_add_page()
|
D | blk-lib.c | 189 bio->bi_vcnt = 1; in blkdev_issue_write_same()
|
D | blk-core.c | 1454 bio->bi_vcnt = 1; in blk_add_request_payload()
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 70 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.
|
D | biodoc.txt | 437 unsigned int bi_vcnt; /* how may bio_vec's */
|
/linux-4.1.27/drivers/md/bcache/ |
D | util.c | 231 BUG_ON(bio->bi_vcnt); in bch_bio_map() 236 for (; size; bio->bi_vcnt++, bv++) { in bch_bio_map()
|
D | btree.c | 436 b->bio->bi_vcnt = 0; in do_btree_node_write()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 306 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() 319 page_count += (*bio)->bi_vcnt; in loop_get_bio()
|
/linux-4.1.27/include/linux/ |
D | blk_types.h | 87 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
D | bio.h | 205 for (i = 0, bvl = (bio)->bi_io_vec; i < (bio)->bi_vcnt; i++, bvl++)
|
/linux-4.1.27/fs/btrfs/ |
D | compression.c | 185 cb->orig_bio->bi_vcnt, in end_compressed_bio_read() 462 page = cb->orig_bio->bi_io_vec[cb->orig_bio->bi_vcnt - 1].bv_page; in add_ra_bio_pages() 574 unsigned long uncompressed_len = bio->bi_vcnt * PAGE_CACHE_SIZE; in btrfs_submit_compressed_read() 651 uncompressed_len = bio->bi_vcnt * PAGE_CACHE_SIZE; in btrfs_submit_compressed_read()
|
D | file-item.c | 207 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()
|
D | check-integrity.c | 2989 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()
|
D | raid56.c | 1149 for (i = 0; i < bio->bi_vcnt; i++) { in index_rbio_pages() 1430 for (i = 0; i < bio->bi_vcnt; i++) { in set_bio_pages_uptodate()
|
D | extent_io.c | 2314 if (failed_bio->bi_vcnt > 1) { in btrfs_check_repairable() 2420 if (failed_bio->bi_vcnt > 1) in bio_readpage_error() 2753 struct bio_vec *bvec = bio->bi_io_vec + bio->bi_vcnt - 1; in submit_one_bio()
|
D | volumes.c | 5732 if (WARN_ON(bio->bi_vcnt == 0)) in bio_size_ok() 5735 prev = &bio->bi_io_vec[bio->bi_vcnt - 1]; in bio_size_ok() 5795 while (bvec <= (first_bio->bi_io_vec + first_bio->bi_vcnt - 1)) { in breakup_stripe_bio()
|
D | inode.c | 7704 if (failed_bio->bi_vcnt > 1) in dio_read_error() 8142 while (bvec <= (orig_bio->bi_io_vec + orig_bio->bi_vcnt - 1)) { in btrfs_submit_direct_hook()
|
/linux-4.1.27/drivers/md/ |
D | raid1.c | 128 bio->bi_vcnt = RESYNC_PAGES; in r1buf_pool_alloc() 1006 struct bio_vec *bvecs = kzalloc(bio->bi_vcnt * sizeof(struct bio_vec), in alloc_behind_pages() 1022 r1_bio->behind_page_count = bio->bi_vcnt; in alloc_behind_pages() 1027 for (i = 0; i < bio->bi_vcnt; i++) in alloc_behind_pages() 1979 b->bi_vcnt = vcnt; in process_checks() 2239 wbio->bi_vcnt = vcnt; in narrow_write_error() 2705 page = bio->bi_io_vec[bio->bi_vcnt].bv_page; in sync_request() 2708 bio->bi_io_vec[bio->bi_vcnt].bv_page = page; in sync_request() 2715 bio->bi_vcnt--; in sync_request() 2726 } while (r1_bio->bios[disk]->bi_vcnt < RESYNC_PAGES); in sync_request()
|
D | raid10.c | 2097 tbio->bi_vcnt = vcnt; in sync_request_write() 3358 page = bio->bi_io_vec[bio->bi_vcnt].bv_page; in sync_request() 3363 bio->bi_io_vec[bio->bi_vcnt].bv_page = page; in sync_request() 3368 bio2->bi_vcnt--; in sync_request() 3376 } while (biolist->bi_vcnt < RESYNC_PAGES); in sync_request() 4396 read_bio->bi_vcnt = 0; in reshape_request() 4450 bio2->bi_vcnt--; in reshape_request()
|
D | dm-crypt.c | 1006 bvec = &clone->bi_io_vec[clone->bi_vcnt++]; in crypt_alloc_buffer()
|
D | raid5.c | 1020 bi->bi_vcnt = 1; in ops_run_io() 1029 bi->bi_vcnt = 0; in ops_run_io() 1069 rbi->bi_vcnt = 1; in ops_run_io() 1078 rbi->bi_vcnt = 0; in ops_run_io()
|
D | dm.c | 2123 md_in_flight(md) && rq->bio && rq->bio->bi_vcnt == 1 && in dm_request_fn()
|
/linux-4.1.27/drivers/target/ |
D | target_core_pscsi.c | 947 bio->bi_vcnt, nr_vecs); in pscsi_map_sg() 949 if (bio->bi_vcnt > nr_vecs) { in pscsi_map_sg() 952 " bio\n", bio->bi_vcnt, i, bio); in pscsi_map_sg()
|
/linux-4.1.27/mm/ |
D | page_io.c | 39 bio->bi_vcnt = 1; in get_swap_bio()
|
/linux-4.1.27/fs/exofs/ |
D | ore_raid.c | 379 per_dev->bio->bi_vcnt); in _add_to_r4w()
|
D | ore.c | 636 per_dev->bio->bi_vcnt, in _ore_add_stripe_unit()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_logmgr.c | 2006 bio->bi_vcnt = 1; in lbmRead() 2152 bio->bi_vcnt = 1; in lbmStartIO()
|
/linux-4.1.27/fs/ |
D | buffer.c | 2967 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod() 3029 bio->bi_vcnt = 1; in _submit_bh()
|
/linux-4.1.27/drivers/block/ |
D | pktcdvd.c | 1162 pkt->bio->bi_vcnt = pkt->frames; in pkt_start_recovery() 1315 pkt_dbg(2, pd, "vcnt=%d\n", pkt->w_bio->bi_vcnt); in pkt_start_write()
|
D | floppy.c | 3811 bio.bi_vcnt = 1; in __floppy_read_block_0()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_receiver.c | 1439 if (bio->bi_vcnt == 0) { in drbd_submit_peer_request()
|