/linux/include/linux/ |
A D | bvec.h | 33 struct page *bv_page; member 63 (__bvec_iter_bvec((bvec), (iter))->bv_page) 77 .bv_page = mp_bvec_iter_page((bvec), (iter)), \ 96 .bv_page = bvec_iter_page((bvec), (iter)), \ 171 bv->bv_page++; in bvec_advance() 174 bv->bv_page = bvec->bv_page + (bvec->bv_offset >> PAGE_SHIFT); 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() 229 memzero_page(bvec->bv_page, bvec->bv_offset, bvec->bv_len); in memzero_bvec() 240 WARN_ON_ONCE(PageHighMem(bvec->bv_page)); in bvec_virt() [all …]
|
/linux/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() 223 if (PageHighMem(from.bv_page)) in __blk_queue_bounce() 245 if (!PageHighMem(to->bv_page)) in __blk_queue_bounce() 252 flush_dcache_page(to->bv_page); in __blk_queue_bounce() 255 to->bv_page = bounce_page; in __blk_queue_bounce()
|
A D | bio.c | 572 zero_user(bv.bv_page, offset, bv.bv_len - offset); in bio_truncate() 862 phys_addr_t addr1 = page_to_phys(bv->bv_page) + bv->bv_offset; in bio_try_merge_hw_seg() 917 bvec->bv_page = page; in bio_add_hw_page() 1000 bv->bv_page = page; in __bio_add_page() 1042 if (mark_dirty && !PageCompound(bvec->bv_page)) in __bio_release_pages() 1043 set_page_dirty_lock(bvec->bv_page); in __bio_release_pages() 1044 put_page(bvec->bv_page); in __bio_release_pages() 1321 __free_page(bvec->bv_page); in bio_free_pages() 1360 if (!PageCompound(bvec->bv_page)) in bio_set_pages_dirty() 1361 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 | 103 phys_addr_t addr1 = page_to_phys(vec1->bv_page) + vec1->bv_offset; in biovec_phys_mergeable() 104 phys_addr_t addr2 = page_to_phys(vec2->bv_page) + vec2->bv_offset; in biovec_phys_mergeable() 108 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(q, bv->bv_page, in bvec_split_segs() 453 unsigned len = min(get_max_segment_size(q, bvec->bv_page, in blk_bvec_map_sg() 455 struct page *page = bvec->bv_page; in blk_bvec_map_sg() 483 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in __blk_bvec_map_sg()
|
A D | blk-map.c | 54 ret = copy_page_from_iter(bvec->bv_page, in bio_copy_from_iter() 85 ret = copy_page_to_iter(bvec->bv_page, in bio_copy_to_iter()
|
/linux/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/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/drivers/block/zram/ |
A D | zram_drv.c | 626 if (!bio_add_page(bio, bvec->bv_page, bvec->bv_len, bvec->bv_offset)) { in read_from_bdev_async() 699 bvec.bv_page = page; in writeback_store() 755 bio_add_page(&bio, bvec.bv_page, bvec.bv_len, in writeback_store() 1272 bvec.bv_page = page; in __zram_bvec_read() 1326 page = bvec->bv_page; in zram_bvec_read() 1339 void *dst = kmap_atomic(bvec->bv_page); in zram_bvec_read() 1362 struct page *page = bvec->bv_page; in __zram_bvec_write() 1493 src = kmap_atomic(bvec->bv_page); in zram_bvec_write() 1499 vec.bv_page = page; in zram_bvec_write() 1562 flush_dcache_page(bvec->bv_page); in zram_bvec_rw() [all …]
|
/linux/drivers/md/ |
A D | dm-ebs-target.c | 74 if (unlikely(!bv->bv_page || !bv_len)) in __ebs_rw_bvec() 100 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec() 102 flush_dcache_page(bv->bv_page); in __ebs_rw_bvec()
|
A D | dm-log-writes.c | 203 if (block->vecs[i].bv_page) in free_pending_block() 204 __free_page(block->vecs[i].bv_page); in free_pending_block() 383 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 401 ret = bio_add_page(bio, block->vecs[i].bv_page, in log_one_block() 771 block->vecs[i].bv_page = page; in log_writes_map()
|
/linux/drivers/nvdimm/ |
A D | blk.c | 92 iobuf = kmap_atomic(bv.bv_page); in nd_blk_rw_integrity() 187 err = nsblk_do_bvec(nsblk, bip, bvec.bv_page, len, in nd_blk_submit_bio()
|
A 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/fs/btrfs/ |
A D | compression.c | 263 u64 bvec_start = page_offset(bvec->bv_page) + in finish_compressed_bio_read() 267 bvec->bv_page, bvec_start, in finish_compressed_bio_read() 636 return page_offset(last->bv_page) + last->bv_len + last->bv_offset; in bio_end_offset() 1454 bvec_offset = page_offset(bvec.bv_page) + bvec.bv_offset - cb->start; in btrfs_decompress_buf2page() 1470 memcpy_to_page(bvec.bv_page, bvec.bv_offset, in btrfs_decompress_buf2page() 1472 flush_dcache_page(bvec.bv_page); in btrfs_decompress_buf2page()
|
/linux/fs/crypto/ |
A D | bio.c | 37 struct page *page = bv->bv_page; in fscrypt_decrypt_bio()
|
/linux/drivers/scsi/ |
A D | sd.c | 881 rq->special_vec.bv_page = mempool_alloc(sd_page_pool, GFP_ATOMIC); in sd_setup_unmap_cmnd() 882 if (!rq->special_vec.bv_page) in sd_setup_unmap_cmnd() 884 clear_highpage(rq->special_vec.bv_page); in sd_setup_unmap_cmnd() 916 rq->special_vec.bv_page = mempool_alloc(sd_page_pool, GFP_ATOMIC); in sd_setup_write_same16_cmnd() 917 if (!rq->special_vec.bv_page) in sd_setup_write_same16_cmnd() 919 clear_highpage(rq->special_vec.bv_page); in sd_setup_write_same16_cmnd() 948 rq->special_vec.bv_page = mempool_alloc(sd_page_pool, GFP_ATOMIC); in sd_setup_write_same10_cmnd() 949 if (!rq->special_vec.bv_page) in sd_setup_write_same10_cmnd() 951 clear_highpage(rq->special_vec.bv_page); in sd_setup_write_same10_cmnd() 1380 mempool_free(rq->special_vec.bv_page, sd_page_pool); in sd_uninit_command()
|
/linux/arch/m68k/emu/ |
A D | nfblock.c | 75 page_to_phys(bvec.bv_page) + bvec.bv_offset); in nfhd_submit_bio()
|
/linux/drivers/target/ |
A D | target_core_file.c | 281 aio_cmd->bvecs[i].bv_page = sg_page(sg); in fd_execute_rw_aio() 329 bvec[i].bv_page = sg_page(sg); in fd_do_rw() 466 bvec[i].bv_page = sg_page(&cmd->t_data_sg[0]); in fd_execute_write_same()
|
/linux/net/ceph/ |
A D | messenger_v2.c | 151 bv.bv_page = it->bvec->bv_page; in do_try_sendpage() 165 if (sendpage_ok(bv.bv_page)) { in do_try_sendpage() 166 ret = sock->ops->sendpage(sock, bv.bv_page, in do_try_sendpage() 288 con->v2.out_bvec.bv_page = ceph_zero_page; in set_out_bvec_zero() 866 bv->bv_page = page; in get_bvec_at() 951 sg_set_page(*sg, bv.bv_page, bv.bv_len, bv.bv_offset); in init_sgs_cursor() 1756 con->v2.in_bvec.bv_page, in prepare_read_data_cont() 2872 con->v2.out_epil.data_crc, con->v2.out_bvec.bv_page, in queue_data_cont() 2900 bv.bv_page = con->v2.out_enc_pages[con->v2.out_enc_i]; in queue_enc_page() 3229 con->v2.out_epil.data_crc, con->v2.out_bvec.bv_page, in revoke_at_queue_data_cont()
|
/linux/fs/verity/ |
A D | verify.c | 252 struct page *page = bv->bv_page; in fsverity_verify_bio()
|
/linux/fs/cifs/ |
A D | misc.c | 968 set_page_dirty(ctx->bv[i].bv_page); in cifs_aio_ctx_release() 969 put_page(ctx->bv[i].bv_page); in cifs_aio_ctx_release() 1049 bv[npages + i].bv_page = pages[i]; in setup_aio_ctx_iter()
|
/linux/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() 403 page = bvec->bv_page; in gfs2_end_log_read()
|
/linux/fs/orangefs/ |
A D | inode.c | 52 bv.bv_page = page; in orangefs_writepage_locked() 105 ow->bv[i].bv_page = ow->pages[i]; in orangefs_writepages_work() 303 bv.bv_page = page; in orangefs_readpage()
|
/linux/drivers/vhost/ |
A D | vringh.c | 1123 iov[ret].bv_page = pfn_to_page(pfn); in iotlb_translate() 1185 kaddr = kmap_atomic(iov.bv_page); in getu16_iotlb() 1206 kaddr = kmap_atomic(iov.bv_page); in putu16_iotlb()
|