/linux-4.1.27/block/ |
D | bounce.c | 59 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec() 67 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len) 115 tovec.bv_offset; in copy_to_high_bio_irq() 232 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce() 233 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
|
D | bio-integrity.c | 105 bip->bip_vec->bv_offset); in bio_integrity_free() 145 iv->bv_offset = offset; in bio_integrity_add_page() 224 bip->bip_vec->bv_offset; in bio_integrity_process() 234 iter.data_buf = kaddr + bv.bv_offset; in bio_integrity_process()
|
D | blk-merge.c | 195 sg_set_page(*sg, bvec->bv_page, nbytes, bvec->bv_offset); in __blk_segment_map_sg() 231 sg_set_page(*sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); in __blk_bios_map_sg() 364 next->bio->bi_io_vec[0].bv_offset); in req_gap_to_prev() 596 if (bvec_gap_to_prev(bprev, bio->bi_io_vec[0].bv_offset)) in blk_rq_merge_ok()
|
D | bio.c | 727 offset == prev->bv_offset + prev->bv_len) { in __bio_add_page() 773 bvec->bv_offset = offset; in __bio_add_page() 823 bvec->bv_offset = 0; in __bio_add_page() 1010 memcpy(dst_p + dst_bv.bv_offset, in bio_copy_data() 1011 src_p + src_bv.bv_offset, in bio_copy_data() 1056 bvec->bv_offset, in bio_copy_from_iter() 1087 bvec->bv_offset, in bio_copy_to_iter()
|
D | blk-lib.c | 191 bio->bi_io_vec->bv_offset = 0; in blkdev_issue_write_same()
|
D | blk-integrity.c | 120 sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); in blk_rq_map_integrity_sg()
|
D | blk-core.c | 1450 bio->bi_io_vec->bv_offset = 0; in blk_add_request_payload()
|
/linux-4.1.27/lib/ |
D | iov_iter.c | 65 __v.bv_offset = __p->bv_offset + skip; \ 76 __v.bv_offset = __p->bv_offset; \ 398 memcpy_to_page(v.bv_page, v.bv_offset, in copy_to_iter() 420 v.bv_offset, v.bv_len), in copy_from_iter() 441 v.bv_offset, v.bv_len), in copy_from_iter_nocache() 485 memzero_page(v.bv_page, v.bv_offset, v.bv_len), in iov_iter_zero() 501 v.bv_offset, v.bv_len), in iov_iter_copy_from_user_atomic() 565 res |= v.bv_offset | v.bv_len, in iov_iter_alignment() 598 *start = v.bv_offset; in iov_iter_get_pages() 649 *start = v.bv_offset; in iov_iter_get_pages_alloc() [all …]
|
/linux-4.1.27/include/linux/ |
D | bio.h | 74 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done) 80 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 154 #define bvec_to_phys(bv) (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset) 164 bio_iter_iovec((bio), (iter)).bv_offset) 195 return offset || ((bprv->bv_offset + bprv->bv_len) & (PAGE_SIZE - 1)); in bvec_gap_to_prev() 497 return (char *) addr + bvec->bv_offset; in bvec_kmap_irq() 511 return page_address(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_irq()
|
D | blk_types.h | 26 unsigned int bv_offset; member
|
/linux-4.1.27/drivers/md/bcache/ |
D | util.c | 233 bv->bv_offset = base ? ((unsigned long) base) % PAGE_SIZE : 0; in bch_bio_map() 237 bv->bv_offset = 0; in bch_bio_map() 238 start: bv->bv_len = min_t(size_t, PAGE_SIZE - bv->bv_offset, in bch_bio_map()
|
D | debug.c | 126 cache_set_err_on(memcmp(p1 + bv.bv_offset, in bch_data_verify() 127 p2 + bv.bv_offset, in bch_data_verify()
|
D | request.c | 45 void *d = kmap(bv.bv_page) + bv.bv_offset; in bio_csum()
|
/linux-4.1.27/drivers/scsi/ |
D | sd_dif.c | 137 pi = kmap_atomic(iv.bv_page) + iv.bv_offset; in sd_dif_prepare() 184 pi = kmap_atomic(iv.bv_page) + iv.bv_offset; in sd_dif_complete()
|
/linux-4.1.27/fs/logfs/ |
D | dev_bdev.c | 27 bio_vec.bv_offset = 0; in sync_request() 115 bio->bi_io_vec[i].bv_offset = 0; in __bdev_writeseg() 205 bio->bi_io_vec[i].bv_offset = 0; in do_erase()
|
/linux-4.1.27/drivers/s390/block/ |
D | dasd_fba.c | 327 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_build_cp() 332 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp() 334 dst = copy + bv.bv_offset; in dasd_fba_build_cp() 400 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_free_cp()
|
D | xpram.c | 205 kmap(bvec.bv_page) + bvec.bv_offset; in xpram_make_request()
|
D | dasd_eckd.c | 2686 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_cmd_single() 2691 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_eckd_build_cp_cmd_single() 2693 dst = copy + bv.bv_offset; in dasd_eckd_build_cp_cmd_single() 2849 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_cmd_track() 3161 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_tpm_track() 3194 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_tpm_track() 3414 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_raw_build_cp() 3478 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_free_cp()
|
D | dasd_diag.c | 548 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_diag_build_cp()
|
D | scm_blk.c | 204 WARN_ON(bv.bv_offset); in scm_request_prepare()
|
D | dcssblk.c | 860 page_address(bvec.bv_page) + bvec.bv_offset; in dcssblk_make_request()
|
/linux-4.1.27/drivers/block/zram/ |
D | zram_drv.c | 438 memset(user_mem + bvec->bv_offset, 0, bvec->bv_len); in handle_zero_page() 552 memcpy(user_mem + bvec->bv_offset, uncmem + offset, in zram_bvec_read() 613 memcpy(uncmem + offset, user_mem + bvec->bv_offset, in zram_bvec_write() 952 bv.bv_offset = bvec.bv_offset; in __zram_make_request() 958 bv.bv_offset += max_transfer_size; in __zram_make_request() 1039 bv.bv_offset = 0; in zram_rw_page()
|
/linux-4.1.27/mm/ |
D | page_io.c | 38 bio->bi_io_vec[0].bv_offset = 0; in get_swap_bio() 270 .bv_offset = 0 in __swap_writepage()
|
/linux-4.1.27/fs/btrfs/ |
D | file-item.c | 225 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in __btrfs_lookup_bio_sums() 451 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio() 460 offset = page_offset(bvec->bv_page) + bvec->bv_offset; in btrfs_csum_one_bio() 485 sums->sums[index] = btrfs_csum_data(data + bvec->bv_offset, in btrfs_csum_one_bio()
|
D | extent_io.c | 2499 if (bvec->bv_offset || bvec->bv_len != PAGE_CACHE_SIZE) { in end_bio_extent_writepage() 2500 if (bvec->bv_offset + bvec->bv_len != PAGE_CACHE_SIZE) in end_bio_extent_writepage() 2503 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2508 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2512 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_writepage() 2579 if (bvec->bv_offset || bvec->bv_len != PAGE_CACHE_SIZE) { in end_bio_extent_readpage() 2580 if (bvec->bv_offset + bvec->bv_len != PAGE_CACHE_SIZE) in end_bio_extent_readpage() 2583 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 2588 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 2592 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_readpage() [all …]
|
D | compression.c | 1075 unsigned long off = bvec[pg_index].bv_offset; in btrfs_clear_biovec_end()
|
D | check-integrity.c | 3014 bio->bi_io_vec[i].bv_offset); in __btrfsic_submit_bio()
|
D | volumes.c | 5797 bvec->bv_offset) < bvec->bv_len) { in breakup_stripe_bio()
|
D | inode.c | 8145 bvec->bv_offset) < bvec->bv_len) { in btrfs_submit_direct_hook()
|
/linux-4.1.27/Documentation/block/ |
D | biovecs.txt | 13 ended up partway through a biovec, it would increment bv_offset and decrement 18 bi_size and bi_idx have been moved there; and instead of modifying bv_offset
|
D | biodoc.txt | 425 unsigned short bv_offset;
|
/linux-4.1.27/drivers/block/ |
D | pmem.c | 80 pmem_do_bvec(pmem, bvec.bv_page, bvec.bv_len, bvec.bv_offset, in pmem_make_request()
|
D | nbd.c | 221 result = sock_xmit(nbd, 1, kaddr + bvec->bv_offset, in sock_send_bvec() 307 result = sock_xmit(nbd, 0, kaddr + bvec->bv_offset, bvec->bv_len, in sock_recv_bvec()
|
D | loop.c | 263 bvec.bv_offset, bvec.bv_len, pos >> 9); in lo_write_transfer() 268 b.bv_offset = 0; in lo_write_transfer() 326 b.bv_offset = 0; in lo_read_transfer() 337 bvec.bv_offset, len, offset >> 9); in lo_read_transfer()
|
D | pktcdvd.c | 962 void *vfrom = kmap_atomic(bvec[f].bv_page) + bvec[f].bv_offset; in pkt_make_local_copy() 967 bvec[f].bv_offset = offs; in pkt_make_local_copy() 969 BUG_ON(bvec[f].bv_offset != offs); in pkt_make_local_copy() 1311 bvec[f].bv_offset = (f * CD_FRAMESIZE) % PAGE_SIZE; in pkt_start_write() 1312 if (!bio_add_page(pkt->w_bio, bvec[f].bv_page, CD_FRAMESIZE, bvec[f].bv_offset)) in pkt_start_write()
|
D | brd.c | 353 bvec.bv_offset, rw, sector); in brd_make_request()
|
D | ps3vram.c | 564 char *ptr = page_address(bvec.bv_page) + bvec.bv_offset; in ps3vram_do_bio()
|
D | floppy.c | 2377 if (page_address(bv.bv_page) + bv.bv_offset != base + size) in buffer_chain_size() 2447 buffer = page_address(bv.bv_page) + bv.bv_offset; in copy_buffer() 3810 bio_vec.bv_offset = 0; in __floppy_read_block_0()
|
D | umem.c | 370 vec.bv_offset, in add_bio()
|
D | nvme-core.c | 519 pmap = kmap_atomic(bip->bip_vec->bv_page) + bip->bip_vec->bv_offset; in nvme_dif_remap()
|
/linux-4.1.27/fs/9p/ |
D | vfs_addr.c | 175 bvec.bv_offset = 0; in v9fs_vfs_writepage_locked()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | axonram.c | 126 user_mem = page_address(vec.bv_page) + vec.bv_offset; in axon_ram_make_request()
|
/linux-4.1.27/drivers/target/ |
D | target_core_file.c | 341 bvec[i].bv_offset = sg->offset; in fd_do_rw() 467 bvec[i].bv_offset = cmd->t_data_sg[0].offset; in fd_execute_write_same()
|
/linux-4.1.27/fs/ext4/ |
D | page-io.c | 74 unsigned bio_start = bvec->bv_offset; in ext4_finish_bio()
|
/linux-4.1.27/drivers/md/ |
D | dm-io.c | 209 *offset = bvec->bv_offset + dp->context_u; in bio_get_page()
|
D | dm-crypt.c | 853 bv_in.bv_offset); in crypt_convert_block() 857 bv_out.bv_offset); in crypt_convert_block() 1009 bvec->bv_offset = 0; in crypt_alloc_buffer()
|
D | dm-log-writes.c | 646 memcpy(dst, src + bv.bv_offset, bv.bv_len); in log_writes_map()
|
D | dm-verity.c | 415 r = crypto_shash_update(desc, page + bv.bv_offset, len); in verity_verify_io()
|
D | raid1.c | 1016 memcpy(kmap(bvecs[i].bv_page) + bvec->bv_offset, in alloc_behind_pages() 1017 kmap(bvec->bv_page) + bvec->bv_offset, bvec->bv_len); in alloc_behind_pages() 1991 bi->bv_offset = 0; in process_checks()
|
D | raid5.c | 1022 bi->bi_io_vec[0].bv_offset = 0; in ops_run_io() 1071 rbi->bi_io_vec[0].bv_offset = 0; in ops_run_io() 1141 b_offset += bvl.bv_offset; in async_copy_data()
|
D | raid10.c | 2104 tbio->bi_io_vec[j].bv_offset = 0; in sync_request_write()
|
/linux-4.1.27/drivers/scsi/mpt3sas/ |
D | mpt3sas_transport.c | 1942 page_address(bvec.bv_page) + bvec.bv_offset, in _transport_smp_handler() 2072 bvec.bv_offset, pci_addr_in + in _transport_smp_handler() 2077 bvec.bv_offset, pci_addr_in + in _transport_smp_handler()
|
/linux-4.1.27/drivers/scsi/mpt2sas/ |
D | mpt2sas_transport.c | 1959 page_address(bvec.bv_page) + bvec.bv_offset, in _transport_smp_handler() 2111 bvec.bv_offset, pci_addr_in + in _transport_smp_handler() 2116 bvec.bv_offset, pci_addr_in + in _transport_smp_handler()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | lloop.c | 221 BUG_ON(bvec.bv_offset != 0); in do_bio_lustrebacked()
|
/linux-4.1.27/fs/gfs2/ |
D | lops.c | 181 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh()
|
/linux-4.1.27/fs/jfs/ |
D | jfs_logmgr.c | 2004 bio->bi_io_vec[0].bv_offset = bp->l_offset; in lbmRead() 2150 bio->bi_io_vec[0].bv_offset = bp->l_offset; in lbmStartIO()
|
/linux-4.1.27/drivers/block/aoe/ |
D | aoecmd.c | 304 bv.bv_offset, bv.bv_len); in skb_fillup() 1095 char *p = page_address(bv.bv_page) + bv.bv_offset; in bvcpy()
|
/linux-4.1.27/drivers/block/rsxx/ |
D | dma.c | 728 bv_off = bvec.bv_offset; in rsxx_dma_queue_bio()
|
/linux-4.1.27/fs/exofs/ |
D | ore.c | 416 zero_user(bv->bv_page, bv->bv_offset, this_count); in _clear_bio()
|
/linux-4.1.27/fs/ |
D | buffer.c | 2995 zero_user(bvec->bv_page, bvec->bv_offset + bvec->bv_len, in guard_bio_eod() 3027 bio->bi_io_vec[0].bv_offset = bh_offset(bh); in _submit_bh()
|
D | splice.c | 1008 array[n].bv_offset = buf->offset; in iter_file_splice_write()
|
/linux-4.1.27/drivers/block/drbd/ |
D | drbd_main.c | 1558 bvec.bv_offset, bvec.bv_len, in _drbd_send_bio() 1577 bvec.bv_offset, bvec.bv_len, in _drbd_send_zc_bio()
|
D | drbd_worker.c | 335 sg_set_page(&sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); in drbd_csum_bio()
|
D | drbd_receiver.c | 1732 void *mapped = kmap(bvec.bv_page) + bvec.bv_offset; in recv_dless_read()
|
/linux-4.1.27/net/ceph/ |
D | messenger.c | 861 *page_offset = (size_t) bio_vec.bv_offset; in ceph_msg_data_bio_next()
|