/linux-6.3-rc2/include/linux/ |
A 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() 268 memzero_page(bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memzero_bvec() 279 WARN_ON_ONCE(PageHighMem(bvec->bv_page)); in bvec_virt() [all …]
|
A D | bio.h | 253 return bio_first_bvec_all(bio)->bv_page; in bio_first_page_all() 284 fi->folio = page_folio(bvec->bv_page); in bio_first_folio() 286 PAGE_SIZE * (bvec->bv_page - &fi->folio->page); in bio_first_folio()
|
/linux-6.3-rc2/block/ |
A 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()
|
A D | bio.c | 650 zero_user(bv.bv_page, bv.bv_offset + offset, in bio_truncate() 911 phys_addr_t vec_end_addr = page_to_phys(bv->bv_page) + bv_end - 1; in page_is_mergeable() 918 if (!zone_device_pages_have_same_pgmap(bv->bv_page, page)) in page_is_mergeable() 978 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_hw_seg() 1169 if (mark_dirty && !PageCompound(bvec->bv_page)) in __bio_release_pages() 1170 set_page_dirty_lock(bvec->bv_page); in __bio_release_pages() 1171 put_page(bvec->bv_page); in __bio_release_pages() 1440 __free_page(bvec->bv_page); in bio_free_pages() 1479 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty() 1480 set_page_dirty_lock(bvec->bv_page); in bio_set_pages_dirty() [all …]
|
A 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()
|
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() 95 if (xen_domain() && !xen_biovec_phys_mergeable(vec1, vec2->bv_page)) in biovec_phys_mergeable()
|
A 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()
|
A D | blk-map.c | 55 ret = copy_page_from_iter(bvec->bv_page, in bio_copy_from_iter() 86 ret = copy_page_to_iter(bvec->bv_page, in bio_copy_to_iter()
|
/linux-6.3-rc2/drivers/md/bcache/ |
A 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.3-rc2/mm/ |
A D | page_io.c | 263 struct page *page = sio->bvec[0].bv_page; in sio_write_complete() 280 page = sio->bvec[p].bv_page; in sio_write_complete() 286 count_swpout_vm_event(sio->bvec[p].bv_page); in sio_write_complete() 290 end_page_writeback(sio->bvec[p].bv_page); in sio_write_complete() 409 struct page *page = sio->bvec[p].bv_page; in sio_read_complete() 417 struct page *page = sio->bvec[p].bv_page; in sio_read_complete()
|
/linux-6.3-rc2/drivers/xen/ |
A D | biomerge.c | 12 unsigned long bfn1 = pfn_to_bfn(page_to_pfn(vec1->bv_page)); in xen_biovec_phys_mergeable()
|
/linux-6.3-rc2/drivers/md/ |
A 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()
|
A 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()
|
/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/drivers/mtd/ |
A 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.3-rc2/fs/gfs2/ |
A 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.3-rc2/net/ceph/ |
A D | messenger_v2.c | 152 bvec_set_page(&bv, it->bvec->bv_page, in do_try_sendpage() 166 if (sendpage_ok(bv.bv_page)) { in do_try_sendpage() 167 ret = sock->ops->sendpage(sock, bv.bv_page, in do_try_sendpage() 948 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1770 bv.bv_page = con->bounce_page; in prepare_read_data() 1788 memcpy_to_page(bv.bv_page, bv.bv_offset, in prepare_read_data_cont() 1793 con->v2.in_bvec.bv_page, in prepare_read_data_cont() 1802 bv.bv_page = con->bounce_page; in prepare_read_data_cont() 2968 con->v2.out_epil.data_crc, con->v2.out_bvec.bv_page, in queue_data_cont() 3324 con->v2.out_epil.data_crc, con->v2.out_bvec.bv_page, in revoke_at_queue_data_cont()
|
/linux-6.3-rc2/fs/ext4/ |
A D | readpage.c | 76 page = bv->bv_page; in __read_end_io()
|
/linux-6.3-rc2/fs/netfs/ |
A D | iterator.c | 186 sg_set_page(sg, bv[i].bv_page, len, off); in netfs_extract_bvec_to_sg()
|
/linux-6.3-rc2/fs/btrfs/ |
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()
|
A D | compression.c | 356 return page_offset(last->bv_page) + last->bv_len + last->bv_offset; in bio_end_offset() 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 | raid56.c | 1132 sector->page = bvec.bv_page; in index_one_bio() 1402 sector = find_stripe_sector(rbio, bvec->bv_page, pgoff); 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() 1482 ret = btrfs_check_sector_csum(fs_info, bvec->bv_page, in verify_bio_data_sectors()
|
/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/drivers/block/zram/ |
A D | zram_drv.c | 632 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async() 763 bio_add_page(&bio, bvec.bv_page, bvec.bv_len, in writeback_store() 1468 page = bvec->bv_page; in zram_bvec_read() 1502 struct page *page = bvec->bv_page; in __zram_bvec_write() 1974 flush_dcache_page(bvec->bv_page); in zram_bvec_rw()
|
/linux-6.3-rc2/io_uring/ |
A D | rsrc.c | 146 unpin_user_page(imu->bvec[i].bv_page); in io_buffer_unmap() 1098 if (!PageCompound(imu->bvec[j].bv_page)) in headpage_already_acct() 1100 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
|