| /Linux-v5.15/include/linux/ |
| D | bvec.h | 35 unsigned int bv_offset; member 70 (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done) 79 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \ 98 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 172 bv->bv_offset = 0; in bvec_advance() 174 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 175 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance() 177 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance() 196 return kmap_local_page(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_local() 207 memcpy_from_page(to, bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memcpy_from_bvec() [all …]
|
| /Linux-v5.15/block/ |
| D | blk.h | 66 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 67 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 82 ((bprv->bv_offset + bprv->bv_len) & queue_virt_boundary(q)); in __bvec_gap_to_prev() 120 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_back_merge() 130 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_front_merge()
|
| 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() 335 (*bio)->bi_io_vec[0].bv_offset) <= PAGE_SIZE) { in __blk_queue_split() 432 unsigned offset = bvec->bv_offset + total; in blk_bvec_map_sg() 463 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg() 509 if (bvec.bv_offset + bvec.bv_len <= PAGE_SIZE) in __blk_bios_map_sg()
|
| D | blk-crypto-fallback.c | 331 enc_bvec->bv_offset); in blk_crypto_fallback_encrypt_bio() 333 enc_bvec->bv_offset); in blk_crypto_fallback_encrypt_bio() 420 sg_set_page(&sg, page, data_unit_size, bv.bv_offset); in blk_crypto_fallback_decrypt_bio()
|
| D | blk-map.c | 55 bvec->bv_offset, in bio_copy_from_iter() 86 bvec->bv_offset, in bio_copy_to_iter()
|
| D | bounce.c | 95 tovec.bv_offset); in copy_to_high_bio_irq()
|
| D | bio.c | 779 size_t bv_end = bv->bv_offset + bv->bv_len; in page_is_mergeable() 805 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_hw_seg() 862 bvec->bv_offset = offset; in bio_add_hw_page() 983 bv->bv_offset = off; in __bio_add_page()
|
| D | blk-crypto.c | 212 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment()
|
| /Linux-v5.15/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.15/drivers/xen/ |
| D | biomerge.c | 15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
|
| /Linux-v5.15/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()
|
| D | pmem.c | 212 rc = pmem_do_write(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio() 215 rc = pmem_do_read(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio()
|
| /Linux-v5.15/drivers/block/zram/ |
| D | zram_drv.c | 596 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async() 671 bvec.bv_offset = 0; in writeback_store() 726 bvec.bv_offset); in writeback_store() 1244 bvec.bv_offset = 0; in __zram_bvec_read() 1312 memcpy(dst + bvec->bv_offset, src + offset, bvec->bv_len); in zram_bvec_read() 1465 memcpy(dst + offset, src + bvec->bv_offset, bvec->bv_len); in zram_bvec_write() 1471 vec.bv_offset = 0; in zram_bvec_write() 1588 bv.bv_offset += bv.bv_len; in __zram_make_request() 1660 bv.bv_offset = 0; in zram_rw_page()
|
| /Linux-v5.15/drivers/block/ |
| D | n64cart.c | 68 WARN_ON_ONCE((bv->bv_offset & (MIN_ALIGNMENT - 1)) || in n64cart_do_bvec()
|
| D | brd.c | 297 WARN_ON_ONCE((bvec.bv_offset & (SECTOR_SIZE - 1)) || in brd_submit_bio() 300 err = brd_do_bvec(brd, bvec.bv_page, len, bvec.bv_offset, in brd_submit_bio()
|
| /Linux-v5.15/fs/crypto/ |
| D | bio.c | 37 bv->bv_offset); in fscrypt_decrypt_bio()
|
| /Linux-v5.15/arch/m68k/emu/ |
| D | nfblock.c | 75 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()
|
| /Linux-v5.15/fs/orangefs/ |
| D | inode.c | 54 bv.bv_offset = off % PAGE_SIZE; in orangefs_writepage_locked() 110 ow->bv[i].bv_offset = ow->off - in orangefs_writepages_work() 113 ow->bv[i].bv_offset = 0; in orangefs_writepages_work() 305 bv.bv_offset = 0; in orangefs_readpage()
|
| /Linux-v5.15/drivers/target/ |
| D | target_core_file.c | 282 aio_cmd->bvecs[i].bv_offset = sg->offset; in fd_execute_rw_aio() 330 bvec[i].bv_offset = sg->offset; in fd_do_rw() 467 bvec[i].bv_offset = cmd->t_data_sg[0].offset; in fd_execute_write_same()
|
| /Linux-v5.15/fs/9p/ |
| D | vfs_addr.c | 164 bvec.bv_offset = 0; in v9fs_vfs_writepage_locked()
|
| /Linux-v5.15/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.15/fs/btrfs/ |
| D | compression.c | 540 return page_offset(last->bv_page) + last->bv_len + last->bv_offset; in bio_end_offset() 696 file_offset = bio_first_bvec_all(bio)->bv_offset + in btrfs_submit_compressed_read() 1326 bvec_offset = page_offset(bvec.bv_page) + bvec.bv_offset - cb->start; in btrfs_decompress_buf2page() 1342 memcpy_to_page(bvec.bv_page, bvec.bv_offset, in btrfs_decompress_buf2page()
|
| /Linux-v5.15/net/ceph/ |
| D | messenger_v2.c | 152 bv.bv_offset = it->bvec->bv_offset + it->iov_offset; in do_try_sendpage() 167 bv.bv_offset, bv.bv_len, in do_try_sendpage() 289 con->v2.out_bvec.bv_offset = 0; in set_out_bvec_zero() 867 bv->bv_offset = off; in get_bvec_at() 951 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1757 con->v2.in_bvec.bv_offset, in prepare_read_data_cont() 2873 con->v2.out_bvec.bv_offset, con->v2.out_bvec.bv_len); in queue_data_cont() 2901 bv.bv_offset = 0; in queue_enc_page() 3230 con->v2.out_bvec.bv_offset, sent); in revoke_at_queue_data_cont()
|
| /Linux-v5.15/arch/xtensa/platforms/iss/ |
| D | simdisk.c | 111 char *buffer = kmap_atomic(bvec.bv_page) + bvec.bv_offset; in simdisk_submit_bio()
|