/kernel/linux/linux-5.10/include/linux/ |
D | bvec.h | 34 unsigned int bv_offset; member 69 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done) 78 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \ 97 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 161 bv->bv_offset = 0; in bvec_advance() 163 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 164 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance() 166 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance()
|
/kernel/linux/linux-5.10/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() 336 vto = page_address(to->bv_page) + to->bv_offset; in __blk_queue_bounce() 337 vfrom = kmap_atomic(page) + to->bv_offset; in __blk_queue_bounce()
|
D | blk-merge.c | 33 if (pb.bv_offset & queue_virt_boundary(q)) in bio_will_gap() 49 return __bvec_gap_to_prev(q, &pb, nb.bv_offset); in bio_will_gap() 209 bv->bv_offset + total_len); in bvec_split_segs() 216 if ((bv->bv_offset + total_len) & queue_virt_boundary(q)) in bvec_split_segs() 261 if (bvprvp && bvec_gap_to_prev(q, bvprvp, bv.bv_offset)) in blk_bio_segment_split() 266 bv.bv_offset + bv.bv_len <= PAGE_SIZE) { in blk_bio_segment_split() 328 (*bio)->bi_io_vec[0].bv_offset) <= PAGE_SIZE) { in __blk_queue_split() 425 unsigned offset = bvec->bv_offset + total; in blk_bvec_map_sg() 456 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg() 502 if (bvec.bv_offset + bvec.bv_len <= PAGE_SIZE) in __blk_bios_map_sg()
|
D | blk.h | 58 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 59 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 74 ((bprv->bv_offset + bprv->bv_len) & queue_virt_boundary(q)); in __bvec_gap_to_prev() 124 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_back_merge() 134 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_front_merge()
|
D | bio-integrity.c | 113 bip->bip_vec->bv_offset); in bio_integrity_free() 149 iv->bv_offset = offset; in bio_integrity_add_page() 172 bip->bip_vec->bv_offset; in bio_integrity_process() 182 iter.data_buf = kaddr + bv.bv_offset; in bio_integrity_process()
|
D | bio.c | 578 zero_user(bv.bv_page, bv.bv_offset + offset, in bio_truncate() 742 size_t bv_end = bv->bv_offset + bv->bv_len; in page_is_mergeable() 768 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_hw_seg() 825 bvec->bv_offset = offset; in bio_add_hw_page() 913 bv->bv_offset = off; in __bio_add_page() 975 bv->bv_offset + iter->iov_offset); in __bio_iov_bvec_add_pages() 1218 memcpy(dst_p + dst_bv.bv_offset, in bio_copy_data_iter() 1219 src_p + src_bv.bv_offset, in bio_copy_data_iter()
|
D | t10-pi.c | 154 p = pmap + iv.bv_offset; in t10_pi_type1_prepare() 202 p = pmap + iv.bv_offset; in t10_pi_type1_complete()
|
D | blk-crypto-fallback.c | 327 enc_bvec->bv_offset); in blk_crypto_fallback_encrypt_bio() 329 enc_bvec->bv_offset); in blk_crypto_fallback_encrypt_bio() 416 sg_set_page(&sg, page, data_unit_size, bv.bv_offset); in blk_crypto_fallback_decrypt_bio()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
D | block.c | 53 page_address(bvec->bv_page) + bvec->bv_offset + offset, in copy_bio_to_actor() 180 data = page_address(bvec->bv_page) + bvec->bv_offset; in squashfs_read_data() 189 data = page_address(bvec->bv_page) + bvec->bv_offset; in squashfs_read_data()
|
D | zlib_wrapper.c | 79 data = page_address(bvec->bv_page) + bvec->bv_offset; in zlib_uncompress()
|
D | lzo_wrapper.c | 79 data = page_address(bvec->bv_page) + bvec->bv_offset; in lzo_uncompress()
|
D | zstd_wrapper.c | 97 data = page_address(bvec->bv_page) + bvec->bv_offset; in zstd_uncompress()
|
D | lz4_wrapper.c | 104 data = page_address(bvec->bv_page) + bvec->bv_offset; in lz4_uncompress()
|
D | xz_wrapper.c | 149 data = page_address(bvec->bv_page) + bvec->bv_offset; in squashfs_xz_uncompress()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/lib/ |
D | iov_iter.c | 641 memcpy_to_page(v.bv_page, v.bv_offset, in _copy_to_iter() 743 rem = copy_mc_to_page(v.bv_page, v.bv_offset, in _copy_mc_to_iter() 779 v.bv_offset, v.bv_len), in _copy_from_iter() 805 v.bv_offset, v.bv_len), in _copy_from_iter_full() 825 v.bv_offset, v.bv_len), in _copy_from_iter_nocache() 859 v.bv_offset, v.bv_len), in _copy_from_iter_flushcache() 884 v.bv_offset, v.bv_len), in _copy_from_iter_full_nocache() 991 memzero_page(v.bv_page, v.bv_offset, v.bv_len), in iov_iter_zero() 1015 v.bv_offset, v.bv_len), in iov_iter_copy_from_user_atomic() 1250 res |= v.bv_offset | v.bv_len, in iov_iter_alignment() [all …]
|
/kernel/linux/linux-5.10/drivers/xen/ |
D | biomerge.c | 15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
|
/kernel/linux/linux-5.10/drivers/nvdimm/ |
D | blk.c | 93 err = ndbr->do_io(ndbr, dev_offset, iobuf + bv.bv_offset, in nd_blk_rw_integrity() 188 bvec.bv_offset, rw, iter.bi_sector); in nd_blk_submit_bio()
|
/kernel/linux/linux-5.10/drivers/block/zram/ |
D | zram_drv.c | 552 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async() 614 bvec.bv_offset = 0; in writeback_store() 669 bvec.bv_offset); in writeback_store() 1256 bvec.bv_offset = 0; in __zram_bvec_read() 1337 memcpy(dst + bvec->bv_offset, src + offset, bvec->bv_len); in zram_bvec_read() 1492 memcpy(dst + offset, src + bvec->bv_offset, bvec->bv_len); in zram_bvec_write() 1498 vec.bv_offset = 0; in zram_bvec_write() 1615 bv.bv_offset += bv.bv_len; in __zram_make_request() 1687 bv.bv_offset = 0; in zram_rw_page()
|
/kernel/linux/linux-5.10/drivers/s390/block/ |
D | dasd_fba.c | 513 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_build_cp_regular() 518 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp_regular() 520 dst = copy + bv.bv_offset; in dasd_fba_build_cp_regular() 595 dst = page_address(bv.bv_page) + bv.bv_offset; in dasd_fba_free_cp()
|
/kernel/linux/linux-5.10/fs/crypto/ |
D | bio.c | 37 bv->bv_offset); in fscrypt_decrypt_bio()
|
/kernel/linux/linux-5.10/drivers/block/ |
D | brd.c | 301 WARN_ON_ONCE((bvec.bv_offset & (SECTOR_SIZE - 1)) || in brd_submit_bio() 304 err = brd_do_bvec(brd, bvec.bv_page, len, bvec.bv_offset, in brd_submit_bio()
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | inode.c | 53 bv.bv_offset = off % PAGE_SIZE; in orangefs_writepage_locked() 109 ow->bv[i].bv_offset = ow->off - in orangefs_writepages_work() 112 ow->bv[i].bv_offset = 0; in orangefs_writepages_work() 278 bv.bv_offset = 0; in orangefs_readpage()
|
/kernel/linux/linux-5.10/arch/m68k/emu/ |
D | nfblock.c | 76 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()
|