/linux-4.4.14/fs/logfs/ |
D | dev_bdev.c | 28 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/ |
D | bio.c | 674 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 …]
|
D | blk-lib.c | 176 bio->bi_vcnt = 1; in blkdev_issue_write_same()
|
D | blk-merge.c | 283 seg_cnt = bio->bi_vcnt; in blk_recount_segments() 398 if (bio->bi_vcnt) in __blk_bios_map_sg()
|
D | blk-core.c | 1535 bio->bi_vcnt = 1; in blk_add_request_payload()
|
/linux-4.4.14/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.4.14/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.4.14/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() 318 page_count += (*bio)->bi_vcnt; in loop_get_bio()
|
/linux-4.4.14/fs/btrfs/ |
D | compression.c | 182 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()
|
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 | 1160 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()
|
D | extent_io.c | 2382 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()
|
D | inode.c | 7799 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/ |
D | blk_types.h | 88 unsigned short bi_vcnt; /* how many bio_vec's */ member
|
D | bio.h | 194 for (i = 0, bvl = (bio)->bi_io_vec; i < (bio)->bi_vcnt; i++, bvl++)
|
/linux-4.4.14/drivers/md/ |
D | raid1.c | 130 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()
|
D | raid10.c | 1993 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()
|
D | dm-crypt.c | 1020 bvec = &clone->bi_io_vec[clone->bi_vcnt++]; in crypt_alloc_buffer()
|
D | raid5.c | 1024 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()
|
D | dm.c | 2117 md_in_flight(md) && rq->bio && rq->bio->bi_vcnt == 1 && in dm_request_fn()
|
/linux-4.4.14/drivers/target/ |
D | target_core_pscsi.c | 952 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/ |
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.4.14/drivers/block/ |
D | pktcdvd.c | 1163 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()
|
D | floppy.c | 3812 bio.bi_vcnt = 1; in __floppy_read_block_0()
|
/linux-4.4.14/fs/ |
D | buffer.c | 2966 struct bio_vec *bvec = &bio->bi_io_vec[bio->bi_vcnt - 1]; in guard_bio_eod()
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_receiver.c | 1440 if (bio->bi_vcnt == 0) { in drbd_submit_peer_request()
|