/linux-6.6.21/include/linux/ |
D | bvec.h | 32 struct page *bv_page; member 47 bv->bv_page = page; in bvec_set_page() 102 (__bvec_iter_bvec((bvec), (iter))->bv_page) 116 .bv_page = mp_bvec_iter_page((bvec), (iter)), \ 135 .bv_page = bvec_iter_page((bvec), (iter)), \ 210 bv->bv_page++; in bvec_advance() 213 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); in bvec_advance() 235 return kmap_local_page(bvec->bv_page) + bvec->bv_offset; in bvec_kmap_local() 246 memcpy_from_page(to, bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memcpy_from_bvec() 257 memcpy_to_page(bvec->bv_page, bvec->bv_offset, from, bvec->bv_len); in memcpy_to_bvec() [all …]
|
D | bio.h | 253 return bio_first_bvec_all(bio)->bv_page; in bio_first_page_all() 294 fi->folio = page_folio(bvec->bv_page); in bio_first_folio() 296 PAGE_SIZE * (bvec->bv_page - &fi->folio->page); in bio_first_folio()
|
/linux-6.6.21/block/ |
D | bounce.c | 89 if (tovec.bv_page != fromvec.bv_page) { in copy_to_high_bio_irq() 95 memcpy_to_bvec(&tovec, page_address(fromvec.bv_page) + in copy_to_high_bio_irq() 114 if (bvec->bv_page != orig_vec.bv_page) { in bounce_end_io() 115 dec_zone_page_state(bvec->bv_page, NR_BOUNCE); in bounce_end_io() 116 mempool_free(bvec->bv_page, &page_pool); in bounce_end_io() 215 if (PageHighMem(from.bv_page)) in __blk_queue_bounce() 244 if (!PageHighMem(to->bv_page)) in __blk_queue_bounce() 251 flush_dcache_page(to->bv_page); in __blk_queue_bounce() 254 to->bv_page = bounce_page; in __blk_queue_bounce()
|
D | blk-crypto-fallback.c | 150 mempool_free(enc_bio->bi_io_vec[i].bv_page, in blk_crypto_fallback_encrypt_endio() 318 struct page *plaintext_page = enc_bvec->bv_page; in blk_crypto_fallback_encrypt_bio() 322 enc_bvec->bv_page = ciphertext_page; in blk_crypto_fallback_encrypt_bio() 359 mempool_free(enc_bio->bi_io_vec[--i].bv_page, in blk_crypto_fallback_encrypt_bio() 418 struct page *page = bv.bv_page; in blk_crypto_fallback_decrypt_bio()
|
D | blk.h | 86 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 87 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 98 if (xen_domain() && !xen_biovec_phys_mergeable(vec1, vec2->bv_page)) in biovec_phys_mergeable()
|
D | bio.c | 650 zero_user(bv.bv_page, bv.bv_offset + offset, in bio_truncate() 910 phys_addr_t vec_end_addr = page_to_phys(bv->bv_page) + bv_end - 1; in bvec_try_merge_page() 917 if (!zone_device_pages_have_same_pgmap(bv->bv_page, page)) in bvec_try_merge_page() 924 if (bv->bv_page + bv_end / PAGE_SIZE != page + off / PAGE_SIZE) in bvec_try_merge_page() 942 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bvec_try_merge_hw_page() 1443 __free_page(bvec->bv_page); in bio_free_pages()
|
D | blk-merge.c | 241 seg_size = get_max_segment_size(lim, bv->bv_page, in bvec_split_segs() 472 bvec->bv_page, offset), nbytes); in blk_bvec_map_sg() 473 struct page *page = bvec->bv_page; in blk_bvec_map_sg() 501 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg()
|
D | blk-map.c | 56 ret = copy_page_from_iter(bvec->bv_page, in bio_copy_from_iter() 87 ret = copy_page_to_iter(bvec->bv_page, in bio_copy_to_iter()
|
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.6.21/drivers/md/bcache/ |
D | util.c | 247 bv->bv_page = is_vmalloc_addr(base) in bch_bio_map() 278 bv->bv_page = alloc_page(gfp_mask); in bch_bio_alloc_pages() 279 if (!bv->bv_page) { in bch_bio_alloc_pages() 281 __free_page(bv->bv_page); in bch_bio_alloc_pages()
|
/linux-6.6.21/mm/ |
D | page_io.c | 260 struct page *page = sio->bvec[0].bv_page; in sio_write_complete() 277 page = sio->bvec[p].bv_page; in sio_write_complete() 283 count_swpout_vm_event(page_folio(sio->bvec[p].bv_page)); in sio_write_complete() 287 end_page_writeback(sio->bvec[p].bv_page); in sio_write_complete() 408 struct folio *folio = page_folio(sio->bvec[p].bv_page); in sio_read_complete() 416 struct folio *folio = page_folio(sio->bvec[p].bv_page); in sio_read_complete()
|
/linux-6.6.21/drivers/xen/ |
D | biomerge.c | 12 unsigned long bfn1 = pfn_to_bfn(page_to_pfn(vec1->bv_page)); in xen_biovec_phys_mergeable()
|
/linux-6.6.21/drivers/md/ |
D | dm-ebs-target.c | 76 if (unlikely(!bv->bv_page || !bv_len)) in __ebs_rw_bvec() 102 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec() 104 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec()
|
D | dm-log-writes.c | 204 if (block->vecs[i].bv_page) in free_pending_block() 205 __free_page(block->vecs[i].bv_page); in free_pending_block() 366 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 379 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 749 block->vecs[i].bv_page = page; in log_writes_map()
|
D | dm-io.c | 222 *p = bvec.bv_page; in bio_get_page()
|
/linux-6.6.21/arch/m68k/emu/ |
D | nfblock.c | 74 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()
|
/linux-6.6.21/net/ceph/ |
D | messenger_v2.c | 154 bvec_set_page(&bv, it->bvec->bv_page, in do_try_sendpage() 168 if (sendpage_ok(bv.bv_page)) in do_try_sendpage() 960 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1120 memcpy_page(bv.bv_page, bv.bv_offset, in process_v2_sparse_read() 1882 bv.bv_page = con->bounce_page; in prepare_read_data() 1900 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_read_data_cont() 1905 con->v2.in_bvec.bv_page, in prepare_read_data_cont() 1914 bv.bv_page = con->bounce_page; in prepare_read_data_cont() 1945 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_sparse_read_cont() 1950 con->v2.in_bvec.bv_page, in prepare_sparse_read_cont() [all …]
|
/linux-6.6.21/drivers/mtd/ |
D | mtd_blkdevs.c | 77 flush_dcache_page(bvec.bv_page); in do_blktrans_request() 84 flush_dcache_page(bvec.bv_page); in do_blktrans_request()
|
/linux-6.6.21/fs/gfs2/ |
D | lops.c | 174 struct page *page = bvec->bv_page; in gfs2_end_log_write_bh() 220 page = bvec->bv_page; in gfs2_end_log_write() 402 page = bvec->bv_page; in gfs2_end_log_read()
|
/linux-6.6.21/fs/squashfs/ |
D | block.c | 93 struct page *page = bv->bv_page; in squashfs_bio_read_cached()
|
/linux-6.6.21/drivers/nvdimm/ |
D | pmem.c | 220 rc = pmem_do_write(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio() 223 rc = pmem_do_read(pmem, bvec.bv_page, bvec.bv_offset, in pmem_submit_bio()
|
/linux-6.6.21/io_uring/ |
D | rsrc.c | 143 unpin_user_page(imu->bvec[i].bv_page); in io_buffer_unmap() 994 if (!PageCompound(imu->bvec[j].bv_page)) in headpage_already_acct() 996 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
|
/linux-6.6.21/fs/btrfs/ |
D | raid56.c | 1122 sector->page = bvec.bv_page; in index_one_bio() 1403 sector = find_stripe_sector(rbio, bvec->bv_page, pgoff); in set_bio_pages_uptodate() 1420 if (sector->page == bv->bv_page && sector->pgoff == bv->bv_offset) in get_bio_sector_nr() 1423 if (sector->page == bv->bv_page && sector->pgoff == bv->bv_offset) in get_bio_sector_nr() 1483 ret = btrfs_check_sector_csum(fs_info, bvec->bv_page, in verify_bio_data_sectors()
|
D | bio.c | 218 bv->bv_page, bv->bv_offset, mirror); in btrfs_end_repair_bio() 269 __bio_add_page(repair_bio, bv->bv_page, bv->bv_len, bv->bv_offset); in repair_one_sector()
|
/linux-6.6.21/drivers/block/ |
D | brd.c | 258 err = brd_do_bvec(brd, bvec.bv_page, len, bvec.bv_offset, in brd_submit_bio()
|