/linux-6.3-rc2/include/linux/ |
A D | bvec.h | 34 unsigned int bv_offset; member 49 bv->bv_offset = offset; in bvec_set_page() 118 .bv_offset = mp_bvec_iter_offset((bvec), (iter)), \ 137 .bv_offset = bvec_iter_offset((bvec), (iter)), \ 211 bv->bv_offset = 0; in bvec_advance() 213 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 214 bv->bv_offset = bvec->bv_offset & ~PAGE_MASK; in bvec_advance() 216 bv->bv_len = min_t(unsigned int, PAGE_SIZE - bv->bv_offset, in bvec_advance() 235 return kmap_local_page(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_local() 268 memzero_page(bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memzero_bvec() [all …]
|
A D | skbuff.h | 2415 frag->bv_offset = off; in __skb_fill_page_desc_noacc() 3329 return frag->bv_offset; in skb_frag_off() 3339 frag->bv_offset += delta; in skb_frag_off_add() 3349 frag->bv_offset = offset; in skb_frag_off_set() 3360 fragto->bv_offset = fragfrom->bv_offset; in skb_frag_off_copy()
|
/linux-6.3-rc2/block/ |
A D | blk.h | 83 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 84 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 106 ((bprv->bv_offset + bprv->bv_len) & lim->virt_boundary_mask); in __bvec_gap_to_prev() 203 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_back_merge() 214 bip_next->bip_vec[0].bv_offset); in integrity_req_gap_front_merge() 323 bio->bi_io_vec->bv_len + bio->bi_io_vec->bv_offset > PAGE_SIZE; in bio_may_exceed_limits()
|
A D | blk-merge.c | 69 if (pb.bv_offset & queue_virt_boundary(q)) in bio_will_gap() 85 return __bvec_gap_to_prev(&q->limits, &pb, nb.bv_offset); in bio_will_gap() 242 bv->bv_offset + total_len); in bvec_split_segs() 249 if ((bv->bv_offset + total_len) & lim->virt_boundary_mask) in bvec_split_segs() 291 if (bvprvp && bvec_gap_to_prev(lim, bvprvp, bv.bv_offset)) in bio_split_rw() 296 bv.bv_offset + bv.bv_len <= PAGE_SIZE) { in bio_split_rw() 470 unsigned offset = bvec->bv_offset + total; in blk_bvec_map_sg() 501 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg() 547 if (bvec.bv_offset + bvec.bv_len <= PAGE_SIZE) in __blk_bios_map_sg()
|
A D | blk-map.c | 56 bvec->bv_offset, in bio_copy_from_iter() 87 bvec->bv_offset, in bio_copy_to_iter() 588 if (bvprvp && bvec_gap_to_prev(lim, bvprvp, bv->bv_offset)) { in blk_rq_map_user_bvec() 597 if (bv->bv_offset + bv->bv_len > PAGE_SIZE) in blk_rq_map_user_bvec()
|
A D | blk-crypto-fallback.c | 330 enc_bvec->bv_offset); in blk_crypto_fallback_encrypt_bio() 332 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()
|
A D | bounce.c | 96 tovec.bv_offset); in copy_to_high_bio_irq()
|
A D | blk-crypto.c | 220 if (!IS_ALIGNED(bv.bv_len | bv.bv_offset, data_unit_size)) in bio_crypt_check_alignment()
|
A D | bio.c | 650 zero_user(bv.bv_page, bv.bv_offset + offset, in bio_truncate() 910 size_t bv_end = bv->bv_offset + bv->bv_len; in page_is_mergeable() 978 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_hw_seg()
|
A D | blk-integrity.c | 95 sg_set_page(sg, iv.bv_page, iv.bv_len, iv.bv_offset); in blk_rq_map_integrity_sg()
|
/linux-6.3-rc2/drivers/md/bcache/ |
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-6.3-rc2/drivers/xen/ |
A D | biomerge.c | 15 return bfn1 + PFN_DOWN(vec1->bv_offset + vec1->bv_len) == bfn2; in xen_biovec_phys_mergeable()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | raid56.c | 1133 sector->pgoff = bvec.bv_offset + bvec_offset; in index_one_bio() 1400 for (pgoff = bvec->bv_offset; pgoff - bvec->bv_offset < bvec->bv_len; in set_bio_pages_uptodate() 1419 if (sector->page == bv->bv_page && sector->pgoff == bv->bv_offset) in get_bio_sector_nr() 1422 if (sector->page == bv->bv_page && sector->pgoff == bv->bv_offset) in get_bio_sector_nr() 1468 int bv_offset; in verify_bio_data_sectors() local 1470 for (bv_offset = bvec->bv_offset; in verify_bio_data_sectors() 1471 bv_offset < bvec->bv_offset + bvec->bv_len; in verify_bio_data_sectors() 1472 bv_offset += fs_info->sectorsize, total_sector_nr++) { in verify_bio_data_sectors() 1483 bv_offset, csum_buf, expected_csum); in verify_bio_data_sectors()
|
A D | compression.c | 356 return page_offset(last->bv_page) + last->bv_len + last->bv_offset; in bio_end_offset() 540 file_offset = bio_first_bvec_all(bio)->bv_offset + in btrfs_submit_compressed_read() 1131 bvec_offset = page_offset(bvec.bv_page) + bvec.bv_offset - cb->start; in btrfs_decompress_buf2page() 1147 memcpy_to_page(bvec.bv_page, bvec.bv_offset, in btrfs_decompress_buf2page()
|
A D | extent_io.c | 597 if (!IS_ALIGNED(bvec->bv_offset, sectorsize)) in end_bio_extent_writepage() 600 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 604 bvec->bv_offset, bvec->bv_len); in end_bio_extent_writepage() 606 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_writepage() 772 if (!IS_ALIGNED(bvec->bv_offset, sectorsize)) in end_bio_extent_readpage() 775 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 776 else if (!IS_ALIGNED(bvec->bv_offset + bvec->bv_len, in end_bio_extent_readpage() 780 bvec->bv_offset, bvec->bv_len); in end_bio_extent_readpage() 782 start = page_offset(page) + bvec->bv_offset; in end_bio_extent_readpage() 923 page_offset(bvec->bv_page) + bvec->bv_offset + in btrfs_bio_add_page() [all …]
|
A D | bio.c | 176 bv->bv_page, bv->bv_offset, mirror); in btrfs_end_repair_bio() 227 bio_add_page(repair_bio, bv->bv_page, bv->bv_len, bv->bv_offset); in repair_one_sector()
|
/linux-6.3-rc2/drivers/block/ |
A D | n64cart.c | 68 WARN_ON_ONCE((bv->bv_offset & (MIN_ALIGNMENT - 1)) || in n64cart_do_bvec()
|
A D | brd.c | 299 WARN_ON_ONCE((bvec.bv_offset & (SECTOR_SIZE - 1)) || in brd_submit_bio() 302 err = brd_do_bvec(brd, bvec.bv_page, len, bvec.bv_offset, in brd_submit_bio()
|
/linux-6.3-rc2/arch/m68k/emu/ |
A D | nfblock.c | 74 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()
|
/linux-6.3-rc2/Documentation/block/ |
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-6.3-rc2/lib/ |
A D | iov_iter.c | 55 unsigned offset = p->bv_offset + skip; \ 1128 if ((unsigned long)(i->bvec[k].bv_offset + skip) & addr_mask) in iov_iter_aligned_bvec() 1220 res |= (unsigned long)i->bvec[k].bv_offset + skip; in iov_iter_alignment_bvec() 1420 skip += i->bvec->bv_offset; in first_bvec_segment() 1638 unsigned offs = (p->bv_offset + skip) % PAGE_SIZE; in bvec_npages() 1997 skip += i->bvec->bv_offset; in iov_iter_extract_bvec_pages()
|
/linux-6.3-rc2/fs/netfs/ |
A D | iterator.c | 184 off = bv[i].bv_offset + start; in netfs_extract_bvec_to_sg()
|
/linux-6.3-rc2/drivers/nvdimm/ |
A D | pmem.c | 219 rc = pmem_do_write(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio() 222 rc = pmem_do_read(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio()
|
/linux-6.3-rc2/net/ceph/ |
A D | messenger_v2.c | 155 it->bvec->bv_offset + it->iov_offset); in do_try_sendpage() 168 bv.bv_offset, bv.bv_len, in do_try_sendpage() 948 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1771 bv.bv_offset = 0; in prepare_read_data() 1788 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_read_data_cont() 1794 con->v2.in_bvec.bv_offset, in prepare_read_data_cont() 1803 bv.bv_offset = 0; in prepare_read_data_cont() 2969 con->v2.out_bvec.bv_offset, con->v2.out_bvec.bv_len); in queue_data_cont() 3325 con->v2.out_bvec.bv_offset, sent); in revoke_at_queue_data_cont()
|
/linux-6.3-rc2/drivers/s390/block/ |
A D | dasd_fba.c | 509 memcpy(copy + bv.bv_offset, dst, bv.bv_len); in dasd_fba_build_cp_regular() 511 dst = copy + bv.bv_offset; in dasd_fba_build_cp_regular()
|