| /linux/include/linux/ |
| H A D | bvec.h | 31 unsigned int bv_offset; member 46 bv->bv_offset = offset; in bvec_set_page() 109 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done) 118 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \ 137 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 217 bv->bv_offset = 0; in bvec_advance() 219 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 220 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance() 222 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance() 241 return kmap_local_page(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_local() [all …]
|
| H A D | iov_iter.h | 117 size_t offset = p->bv_offset + skip, part; in iterate_bvec()
|
| H A D | bio.h | 293 fi->offset = bvec->bv_offset + in bio_first_folio()
|
| /linux/drivers/md/bcache/ |
| H A 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()
|
| /linux/drivers/xen/ |
| H A D | biomerge.c | 15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
|
| /linux/drivers/block/ |
| H A D | n64cart.c | 68 WARN_ON_ONCE((bv->bv_offset & (MIN_ALIGNMENT - 1)) || in n64cart_do_bvec()
|
| /linux/block/ |
| H A D | blk-map.c | 76 bvec->bv_offset, in bio_copy_from_iter() 107 bvec->bv_offset, in bio_copy_to_iter()
|
| H A D | blk-crypto.c | 231 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment()
|
| H A D | bio.c | 669 memzero_page(bv.bv_page, bv.bv_offset + offset, in bio_truncate() 932 size_t bv_end = bv->bv_offset + bv->bv_len; in bvec_try_merge_page()
|
| /linux/net/ceph/ |
| H A D | messenger_v2.c | 157 it->bvec->bv_offset + it->iov_offset); in do_try_sendpage() 930 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1093 memcpy_page(bv.bv_page, bv.bv_offset, in process_v2_sparse_read() 1853 bv.bv_offset = 0; in prepare_read_data() 1870 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_read_data_cont() 1876 con->v2.in_bvec.bv_offset, in prepare_read_data_cont() 1885 bv.bv_offset = 0; in prepare_read_data_cont() 1915 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_sparse_read_cont() 1921 con->v2.in_bvec.bv_offset, in prepare_sparse_read_cont() 1936 bv.bv_offset = 0; in prepare_sparse_read_cont() [all …]
|
| H A D | messenger.c | 746 *page_offset = bv.bv_offset; in ceph_msg_data_bio_next() 801 *page_offset = bv.bv_offset; in ceph_msg_data_bvecs_next()
|
| /linux/Documentation/block/ |
| H A 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/fs/erofs/ |
| H A D | zdata.c | 1509 bvec->bv_offset = 0; in z_erofs_fill_bio_vec() 1535 bvec->bv_offset = round_up(-zbv.offset, bs); in z_erofs_fill_bio_vec() 1536 bvec->bv_len = round_up(zbv.end, bs) - bvec->bv_offset; in z_erofs_fill_bio_vec() 1771 bvec.bv_offset)) in z_erofs_submit_queue()
|
| /linux/io_uring/ |
| H A D | rsrc.c | 1114 nr_segs = (offset + len + bvec->bv_offset + folio_mask) >> imu->folio_shift; in io_import_fixed() 1378 offset += imu->bvec[0].bv_offset; in io_vec_fill_bvec()
|
| H A D | net.c | 1418 truesize += PAGE_ALIGN(v.bv_len + v.bv_offset); in io_sg_from_iter() 1420 v.bv_offset, v.bv_len); in io_sg_from_iter()
|
| /linux/drivers/md/ |
| H A D | dm-integrity.c | 1952 …integrity_sector_checksum(ic, &dio->ahash_req, sector, mem, bv_copy.bv_offset + pos, checksums_ptr… in integrity_metadata() 1976 bv_copy.bv_offset += pos; in integrity_metadata() 2041 bv.bv_offset, bv.bv_len, ic->sectors_per_block); in dm_integrity_check_limits() 2175 mem_ptr = mem + bv.bv_offset; in __journal_read_write() 2215 memcpy(js, mem + bv.bv_offset, ic->sectors_per_block << SECTOR_SHIFT); in __journal_read_write() 2247 bv.bv_offset += ic->sectors_per_block << SECTOR_SHIFT; in __journal_read_write() 2609 …ecksum(ic, &dio->ahash_req, dio->bio_details.bi_iter.bi_sector, mem, bv.bv_offset, dio->integrity_… in dm_integrity_map_inline() 2722 …ector_checksum(ic, &dio->ahash_req, dio->bio_details.bi_iter.bi_sector, mem, bv.bv_offset, digest); in dm_integrity_check()
|
| H A D | dm-crypt.c | 1326 sg_set_page(&dmreq->sg_in[2], bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_aead() 1332 sg_set_page(&dmreq->sg_out[2], bv_out.bv_page, cc->sector_size, bv_out.bv_offset); in crypt_convert_block_aead() 1423 sg_set_page(sg_in, bv_in.bv_page, cc->sector_size, bv_in.bv_offset); in crypt_convert_block_skcipher() 1426 sg_set_page(sg_out, bv_out.bv_page, cc->sector_size, bv_out.bv_offset); in crypt_convert_block_skcipher()
|
| /linux/drivers/nvme/host/ |
| H A D | apple.c | 524 unsigned int offset = bv->bv_offset & (NVME_CTRL_PAGE_SIZE - 1); in apple_nvme_setup_prp_simple() 549 if (bv.bv_offset + bv.bv_len <= NVME_CTRL_PAGE_SIZE * 2) in apple_nvme_map_data()
|
| /linux/lib/ |
| H A D | scatterlist.c | 1165 off = bv[i].bv_offset + start; in extract_bvec_to_sg()
|
| /linux/fs/gfs2/ |
| H A D | lops.c | 220 gfs2_end_log_write_bh(sdp, folio, bvec->bv_offset, in gfs2_end_log_write()
|
| /linux/fs/nfs/ |
| H A D | localio.c | 380 if ((unsigned long)(bvec->bv_offset + skip) & addr_mask) in nfs_iov_iter_aligned_bvec()
|
| /linux/fs/btrfs/ |
| H A D | compression.c | 1190 return (page_pgoff(folio, page) << PAGE_SHIFT) + bvec->bv_offset; in file_offset_from_bvec()
|
| /linux/fs/ |
| H A D | splice.c | 354 bv[i].bv_offset = 0; in copy_splice_read()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_main.c | 1574 bvec.bv_offset, bvec.bv_len, in _drbd_send_bio() 1593 bvec.bv_offset, bvec.bv_len, in _drbd_send_zc_bio()
|
| /linux/drivers/block/aoe/ |
| H A D | aoecmd.c | 303 bv.bv_offset, bv.bv_len); in skb_fillup()
|