Home
last modified time | relevance | path

Searched refs:bv_offset (Results 1 – 25 of 96) sorted by relevance

1234

/kernel/linux/linux-5.10/include/linux/
Dbvec.h34 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/
Dbounce.c81 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()
Dblk-merge.c33 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()
Dblk.h58 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()
Dbio-integrity.c113 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()
Dbio.c578 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()
Dt10-pi.c154 p = pmap + iv.bv_offset; in t10_pi_type1_prepare()
202 p = pmap + iv.bv_offset; in t10_pi_type1_complete()
Dblk-crypto-fallback.c327 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/
Dblock.c53 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()
Dzlib_wrapper.c79 data = page_address(bvec->bv_page) + bvec->bv_offset; in zlib_uncompress()
Dlzo_wrapper.c79 data = page_address(bvec->bv_page) + bvec->bv_offset; in lzo_uncompress()
Dzstd_wrapper.c97 data = page_address(bvec->bv_page) + bvec->bv_offset; in zstd_uncompress()
Dlz4_wrapper.c104 data = page_address(bvec->bv_page) + bvec->bv_offset; in lz4_uncompress()
Dxz_wrapper.c149 data = page_address(bvec->bv_page) + bvec->bv_offset; in squashfs_xz_uncompress()
/kernel/linux/linux-5.10/drivers/md/bcache/
Dutil.c239 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()
Ddebug.c136 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/
Diov_iter.c641 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/
Dbiomerge.c15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
/kernel/linux/linux-5.10/drivers/nvdimm/
Dblk.c93 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/
Dzram_drv.c552 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/
Ddasd_fba.c513 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/
Dbio.c37 bv->bv_offset); in fscrypt_decrypt_bio()
/kernel/linux/linux-5.10/drivers/block/
Dbrd.c301 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/
Dinode.c53 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/
Dnfblock.c76 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()

1234