/Linux-v5.4/include/linux/ |
D | bvec.h | 21 unsigned int bv_offset; member 56 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done) 65 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \ 84 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 143 bv->bv_offset = 0; in bvec_advance() 145 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 146 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance() 148 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance() 165 unsigned total = bvec->bv_offset + bvec->bv_len; in mp_bvec_last_segment() 171 if (bvec->bv_offset >= last_page * PAGE_SIZE) { in mp_bvec_last_segment() [all …]
|
D | bio.h | 544 return (char *) addr + bvec->bv_offset; in bvec_kmap_irq() 558 return page_address(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_irq()
|
/Linux-v5.4/block/ |
D | bounce.c | 81 memcpy(vto + to->bv_offset, vfrom, to->bv_len); in bounce_copy_vec() 88 memcpy(page_address((to)->bv_page) + (to)->bv_offset, vfrom, (to)->bv_len) 153 tovec.bv_offset; in copy_to_high_bio_irq() 335 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce() 336 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
|
D | blk.h | 78 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 79 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 94 ((bprv->bv_offset + bprv->bv_len) & queue_virt_boundary(q)); in __bvec_gap_to_prev() 138 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_back_merge() 148 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_front_merge()
|
D | blk-merge.c | 32 if (pb.bv_offset & queue_virt_boundary(q)) in bio_will_gap() 48 return __bvec_gap_to_prev(q, &pb, nb.bv_offset); in bio_will_gap() 204 seg_size = get_max_segment_size(q, bv->bv_offset + total_len); in bvec_split_segs() 211 if ((bv->bv_offset + total_len) & queue_virt_boundary(q)) in bvec_split_segs() 256 if (bvprvp && bvec_gap_to_prev(q, bvprvp, bv.bv_offset)) in blk_bio_segment_split() 261 bv.bv_offset + bv.bv_len <= PAGE_SIZE) { in blk_bio_segment_split() 406 unsigned offset = bvec->bv_offset + total; in blk_bvec_map_sg() 436 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg() 482 if (bvec.bv_offset + bvec.bv_len <= PAGE_SIZE) in __blk_bios_map_sg()
|
D | bio-integrity.c | 97 bip->bip_vec->bv_offset); in bio_integrity_free() 140 iv->bv_offset = offset; in bio_integrity_add_page() 163 bip->bip_vec->bv_offset; in bio_integrity_process() 173 iter.data_buf = kaddr + bv.bv_offset; in bio_integrity_process()
|
D | t10-pi.c | 153 p = pmap + iv.bv_offset; in t10_pi_type1_prepare() 201 p = pmap + iv.bv_offset; in t10_pi_type1_complete()
|
D | bio.c | 635 bv->bv_offset + bv->bv_len - 1; in page_is_mergeable() 655 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_pc_page() 718 bvec->bv_offset = offset; in __bio_add_pc_page() 786 bv->bv_offset = off; in __bio_add_page() 847 bv->bv_offset + iter->iov_offset); in __bio_iov_bvec_add_pages() 1015 memcpy(dst_p + dst_bv.bv_offset, in bio_copy_data_iter() 1016 src_p + src_bv.bv_offset, in bio_copy_data_iter() 1123 bvec->bv_offset, in bio_copy_from_iter() 1154 bvec->bv_offset, in bio_copy_to_iter()
|
D | blk-lib.c | 162 bio->bi_io_vec->bv_offset = 0; in __blkdev_issue_write_same()
|
/Linux-v5.4/drivers/md/bcache/ |
D | util.c | 239 bv->bv_offset = base ? offset_in_page(base) : 0; in bch_bio_map() 243 bv->bv_offset = 0; in bch_bio_map() 244 start: bv->bv_len = min_t(size_t, PAGE_SIZE - bv->bv_offset, in bch_bio_map()
|
D | debug.c | 136 cache_set_err_on(memcmp(p1 + bv.bv_offset, in bch_data_verify() 137 p2 + bv.bv_offset, in bch_data_verify()
|
/Linux-v5.4/lib/ |
D | iov_iter.c | 612 memcpy_to_page(v.bv_page, v.bv_offset, in _copy_to_iter() 713 rem = memcpy_mcsafe_to_page(v.bv_page, v.bv_offset, in _copy_to_iter_mcsafe() 749 v.bv_offset, v.bv_len), in _copy_from_iter() 775 v.bv_offset, v.bv_len), in _copy_from_iter_full() 795 v.bv_offset, v.bv_len), in _copy_from_iter_nocache() 829 v.bv_offset, v.bv_len), in _copy_from_iter_flushcache() 854 v.bv_offset, v.bv_len), in _copy_from_iter_full_nocache() 955 memzero_page(v.bv_page, v.bv_offset, v.bv_len), in iov_iter_zero() 979 v.bv_offset, v.bv_len), in iov_iter_copy_from_user_atomic() 1202 res |= v.bv_offset | v.bv_len, in iov_iter_alignment() [all …]
|
/Linux-v5.4/drivers/xen/ |
D | biomerge.c | 15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
|
/Linux-v5.4/fs/crypto/ |
D | bio.c | 37 bv->bv_offset); in __fscrypt_decrypt_bio()
|
/Linux-v5.4/drivers/nvdimm/ |
D | blk.c | 93 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 187 bvec.bv_offset, rw, iter.bi_sector); in nd_blk_make_request()
|
/Linux-v5.4/drivers/block/zram/ |
D | zram_drv.c | 600 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async() 662 bvec.bv_offset = 0; in writeback_store() 717 bvec.bv_offset); in writeback_store() 1229 bvec.bv_offset = 0; in __zram_bvec_read() 1296 memcpy(dst + bvec->bv_offset, src + offset, bvec->bv_len); in zram_bvec_read() 1448 memcpy(dst + offset, src + bvec->bv_offset, bvec->bv_len); in zram_bvec_write() 1454 vec.bv_offset = 0; in zram_bvec_write() 1574 bv.bv_offset += bv.bv_len; in __zram_make_request() 1649 bv.bv_offset = 0; in zram_rw_page()
|
/Linux-v5.4/drivers/s390/block/ |
D | dasd_fba.c | 512 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_build_cp_regular() 517 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp_regular() 519 dst = copy + bv.bv_offset; in dasd_fba_build_cp_regular() 594 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_free_cp()
|
D | xpram.c | 208 kmap(bvec.bv_page) + bvec.bv_offset; in xpram_make_request()
|
/Linux-v5.4/arch/m68k/emu/ |
D | nfblock.c | 76 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_make_request()
|
/Linux-v5.4/fs/orangefs/ |
D | inode.c | 53 bv.bv_offset = off % PAGE_SIZE; in orangefs_writepage_locked() 114 ow->bv[i].bv_offset = ow->off - in orangefs_writepages_work() 117 ow->bv[i].bv_offset = 0; in orangefs_writepages_work() 310 bv.bv_offset = 0; in orangefs_readpage()
|
/Linux-v5.4/drivers/target/ |
D | target_core_file.c | 288 bvec[i].bv_offset = sg->offset; in fd_execute_rw_aio() 338 bvec[i].bv_offset = sg->offset; in fd_do_rw() 475 bvec[i].bv_offset = cmd->t_data_sg[0].offset; in fd_execute_write_same()
|
/Linux-v5.4/fs/9p/ |
D | vfs_addr.c | 163 bvec.bv_offset = 0; in v9fs_vfs_writepage_locked()
|
/Linux-v5.4/Documentation/block/ |
D | biovecs.rst | 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
|
/Linux-v5.4/fs/btrfs/ |
D | file-item.c | 217 offset = page_offset(bvec.bv_page) + bvec.bv_offset; in __btrfs_lookup_bio_sums() 474 offset = page_offset(bvec.bv_page) + bvec.bv_offset; in btrfs_csum_one_bio() 513 crypto_shash_update(shash, data + bvec.bv_offset in btrfs_csum_one_bio()
|
/Linux-v5.4/arch/xtensa/platforms/iss/ |
D | simdisk.c | 112 char *buffer = kmap_atomic(bvec.bv_page) + bvec.bv_offset; in simdisk_make_request()
|