| /linux-4.4.14/block/ |
| D | bounce.c | 60 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec() 68 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len) 116 tovec.bv_offset; in copy_to_high_bio_irq() 213 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce() 214 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
|
| D | bio-integrity.c | 110 bip->bip_vec->bv_offset); in bio_integrity_free() 155 iv->bv_offset = offset; in bio_integrity_add_page() 234 bip->bip_vec->bv_offset; in bio_integrity_process() 244 iter.data_buf = kaddr + bv.bv_offset; in bio_integrity_process()
|
| D | bio.c | 735 offset == prev->bv_offset + prev->bv_len) { in bio_add_pc_page() 759 bvec->bv_offset = offset; in bio_add_pc_page() 788 bvec->bv_offset = 0; in bio_add_pc_page() 826 offset == bv->bv_offset + bv->bv_len) { in bio_add_page() 838 bv->bv_offset = offset; in bio_add_page() 978 memcpy(dst_p + dst_bv.bv_offset, in bio_copy_data() 979 src_p + src_bv.bv_offset, in bio_copy_data() 1024 bvec->bv_offset, in bio_copy_from_iter() 1055 bvec->bv_offset, in bio_copy_to_iter()
|
| D | blk-merge.c | 101 if (bvprvp && bvec_gap_to_prev(q, bvprvp, bv.bv_offset)) in blk_bio_segment_split() 372 sg_set_page(*sg, bvec->bv_page, nbytes, bvec->bv_offset); in __blk_segment_map_sg() 408 sg_set_page(*sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); in __blk_bios_map_sg()
|
| D | blk-lib.c | 178 bio->bi_io_vec->bv_offset = 0; in blkdev_issue_write_same()
|
| D | blk-integrity.c | 117 sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); in blk_rq_map_integrity_sg()
|
| D | blk-core.c | 1531 bio->bi_io_vec->bv_offset = 0; in blk_add_request_payload()
|
| /linux-4.4.14/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.4.14/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 | 46 void *d = kmap(bv.bv_page) + bv.bv_offset; in bio_csum()
|
| /linux-4.4.14/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) 555 return (char *) addr + bvec->bv_offset; in bvec_kmap_irq() 569 return page_address(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_irq()
|
| D | blk_types.h | 26 unsigned int bv_offset; member
|
| D | blkdev.h | 1374 ((bprv->bv_offset + bprv->bv_len) & queue_virt_boundary(q)); in __bvec_gap_to_prev() 1398 return __bvec_gap_to_prev(q, &pb, nb.bv_offset); in bio_will_gap() 1543 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_back_merge() 1553 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_front_merge()
|
| /linux-4.4.14/drivers/scsi/ |
| D | sd_dif.c | 142 pi = kmap_atomic(iv.bv_page) + iv.bv_offset; in sd_dif_prepare() 189 pi = kmap_atomic(iv.bv_page) + iv.bv_offset; in sd_dif_complete()
|
| /linux-4.4.14/fs/logfs/ |
| D | dev_bdev.c | 27 bio_vec.bv_offset = 0; in sync_request() 113 bio->bi_io_vec[i].bv_offset = 0; in __bdev_writeseg() 201 bio->bi_io_vec[i].bv_offset = 0; in do_erase()
|
| /linux-4.4.14/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 | 207 kmap(bvec.bv_page) + bvec.bv_offset; in xpram_make_request()
|
| D | dasd_eckd.c | 2724 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_cmd_single() 2729 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_eckd_build_cp_cmd_single() 2731 dst = copy + bv.bv_offset; in dasd_eckd_build_cp_cmd_single() 2887 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_cmd_track() 3199 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_tpm_track() 3232 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_build_cp_tpm_track() 3452 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_raw_build_cp() 3516 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_eckd_free_cp()
|
| D | scm_blk.c | 204 WARN_ON(bv.bv_offset); in scm_request_prepare()
|
| D | dasd_diag.c | 555 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_diag_build_cp()
|
| D | dcssblk.c | 863 page_address(bvec.bv_page) + bvec.bv_offset; in dcssblk_make_request()
|
| /linux-4.4.14/drivers/block/zram/ |
| D | zram_drv.c | 182 memset(user_mem + bvec->bv_offset, 0, bvec->bv_len); in handle_zero_page() 636 memcpy(user_mem + bvec->bv_offset, uncmem + offset, in zram_bvec_read() 680 memcpy(uncmem + offset, user_mem + bvec->bv_offset, in zram_bvec_write() 871 bv.bv_offset = bvec.bv_offset; in __zram_make_request() 877 bv.bv_offset += max_transfer_size; in __zram_make_request() 960 bv.bv_offset = 0; in zram_rw_page()
|
| /linux-4.4.14/drivers/nvdimm/ |
| D | blk.c | 94 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 196 bvec.bv_offset, rw, iter.bi_sector); in nd_blk_make_request()
|
| D | btt.c | 936 mem + bv.bv_offset, cur_len); in btt_rw_integrity() 939 mem + bv.bv_offset, cur_len); in btt_rw_integrity() 1185 err = btt_do_bvec(btt, bip, bvec.bv_page, len, bvec.bv_offset, in btt_make_request()
|
| D | pmem.c | 78 pmem_do_bvec(pmem, bvec.bv_page, bvec.bv_len, bvec.bv_offset, in pmem_make_request()
|
| /linux-4.4.14/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 | 2567 if (bvec->bv_offset || bvec->bv_len != PAGE_CACHE_SIZE) { in end_bio_extent_writepage() 2568 if (bvec->bv_offset + bvec->bv_len != PAGE_CACHE_SIZE) in end_bio_extent_writepage() 2571 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2576 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 2580 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_writepage() 2644 if (bvec->bv_offset || bvec->bv_len != PAGE_CACHE_SIZE) { in end_bio_extent_readpage() 2645 if (bvec->bv_offset + bvec->bv_len != PAGE_CACHE_SIZE) in end_bio_extent_readpage() 2648 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 2653 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 2657 end = start + bvec->bv_offset + bvec->bv_len - 1; in end_bio_extent_readpage() [all …]
|
| D | compression.c | 1080 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 | inode.c | 8239 bvec->bv_offset) < bvec->bv_len) { in btrfs_submit_direct_hook()
|
| /linux-4.4.14/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.4.14/fs/9p/ |
| D | vfs_addr.c | 175 bvec.bv_offset = 0; in v9fs_vfs_writepage_locked()
|
| /linux-4.4.14/drivers/target/ |
| D | target_core_file.c | 269 bvec[i].bv_offset = sg->offset; in fd_do_rw() 395 bvec[i].bv_offset = cmd->t_data_sg[0].offset; in fd_execute_write_same()
|
| /linux-4.4.14/mm/ |
| D | page_io.c | 266 .bv_offset = 0 in __swap_writepage()
|
| /linux-4.4.14/arch/powerpc/sysdev/ |
| D | axonram.c | 126 user_mem = page_address(vec.bv_page) + vec.bv_offset; in axon_ram_make_request()
|
| /linux-4.4.14/drivers/block/ |
| D | loop.c | 319 bvec.bv_offset, bvec.bv_len, pos >> 9); in lo_write_transfer() 324 b.bv_offset = 0; in lo_write_transfer() 382 b.bv_offset = 0; in lo_read_transfer() 393 bvec.bv_offset, len, offset >> 9); in lo_read_transfer()
|
| D | nbd.c | 229 result = sock_xmit(nbd, 1, kaddr + bvec->bv_offset, in sock_send_bvec() 326 result = sock_xmit(nbd, 0, kaddr + bvec->bv_offset, bvec->bv_len, in sock_recv_bvec()
|
| D | pktcdvd.c | 963 void *vfrom = kmap_atomic(bvec[f].bv_page) + bvec[f].bv_offset; in pkt_make_local_copy() 968 bvec[f].bv_offset = offs; in pkt_make_local_copy() 970 BUG_ON(bvec[f].bv_offset != offs); in pkt_make_local_copy() 1312 bvec[f].bv_offset = (f * CD_FRAMESIZE) % PAGE_SIZE; in pkt_start_write() 1313 if (!bio_add_page(pkt->w_bio, bvec[f].bv_page, CD_FRAMESIZE, bvec[f].bv_offset)) in pkt_start_write()
|
| D | brd.c | 356 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() 3811 bio_vec.bv_offset = 0; in __floppy_read_block_0()
|
| D | umem.c | 370 vec.bv_offset, in add_bio()
|
| /linux-4.4.14/fs/ext4/ |
| D | page-io.c | 73 unsigned bio_start = bvec->bv_offset; in ext4_finish_bio()
|
| /linux-4.4.14/drivers/md/ |
| D | dm-io.c | 210 *offset = bvec->bv_offset + dp->context_u; in bio_get_page()
|
| D | dm-crypt.c | 854 bv_in.bv_offset); in crypt_convert_block() 858 bv_out.bv_offset); in crypt_convert_block() 1023 bvec->bv_offset = 0; in crypt_alloc_buffer()
|
| D | dm-log-writes.c | 648 memcpy(dst, src + bv.bv_offset, bv.bv_len); in log_writes_map()
|
| D | dm-verity.c | 411 r = crypto_shash_update(desc, page + bv.bv_offset, len); in verity_verify_io()
|
| D | raid1.c | 984 memcpy(kmap(bvecs[i].bv_page) + bvec->bv_offset, in alloc_behind_pages() 985 kmap(bvec->bv_page) + bvec->bv_offset, bvec->bv_len); in alloc_behind_pages() 1951 bi->bv_offset = 0; in process_checks()
|
| D | raid5.c | 1026 bi->bi_io_vec[0].bv_offset = 0; in ops_run_io() 1075 rbi->bi_io_vec[0].bv_offset = 0; in ops_run_io() 1145 b_offset += bvl.bv_offset; in async_copy_data()
|
| /linux-4.4.14/drivers/scsi/mpt3sas/ |
| D | mpt3sas_transport.c | 1966 page_address(bvec.bv_page) + bvec.bv_offset, in _transport_smp_handler() 2096 bvec.bv_offset, pci_addr_in + in _transport_smp_handler() 2101 bvec.bv_offset, pci_addr_in + in _transport_smp_handler()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/llite/ |
| D | lloop.c | 221 BUG_ON(bvec.bv_offset != 0); in do_bio_lustrebacked()
|
| /linux-4.4.14/fs/gfs2/ |
| D | lops.c | 181 while (bh_offset(bh) < bvec->bv_offset) in gfs2_end_log_write_bh()
|
| /linux-4.4.14/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.4.14/drivers/block/rsxx/ |
| D | dma.c | 728 bv_off = bvec.bv_offset; in rsxx_dma_queue_bio()
|
| /linux-4.4.14/fs/exofs/ |
| D | ore.c | 416 zero_user(bv->bv_page, bv->bv_offset, this_count); in _clear_bio()
|
| /linux-4.4.14/fs/ |
| D | splice.c | 1017 array[n].bv_offset = buf->offset; in iter_file_splice_write()
|
| D | buffer.c | 2994 zero_user(bvec->bv_page, bvec->bv_offset + bvec->bv_len, in guard_bio_eod()
|
| /linux-4.4.14/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 | 313 sg_set_page(&sg, bvec.bv_page, bvec.bv_len, bvec.bv_offset); in drbd_csum_bio()
|
| D | drbd_receiver.c | 1733 void *mapped = kmap(bvec.bv_page) + bvec.bv_offset; in recv_dless_read()
|
| /linux-4.4.14/net/ceph/ |
| D | messenger.c | 858 *page_offset = (size_t) bio_vec.bv_offset; in ceph_msg_data_bio_next()
|
| /linux-4.4.14/drivers/nvme/host/ |
| D | pci.c | 537 pmap = kmap_atomic(bip->bip_vec->bv_page) + bip->bip_vec->bv_offset; in nvme_dif_remap()
|