/kernel/linux/linux-6.6/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 111 if (!map->bounce_page) { in vduse_domain_map_bounce_page() 112 map->bounce_page = alloc_page(GFP_ATOMIC); in vduse_domain_map_bounce_page() 113 if (!map->bounce_page) in vduse_domain_map_bounce_page() 177 if (WARN_ON(!map->bounce_page || in vduse_domain_bounce() 181 addr = kmap_local_page(map->bounce_page); in vduse_domain_bounce() 218 if (domain->user_bounce_pages || !map->bounce_page) in vduse_domain_get_bounce_page() 221 page = map->bounce_page; in vduse_domain_get_bounce_page() 242 if (!map->bounce_page) in vduse_domain_free_kernel_bounce_pages() 245 __free_page(map->bounce_page); in vduse_domain_free_kernel_bounce_pages() 246 map->bounce_page in vduse_domain_free_kernel_bounce_pages() [all...] |
H A D | iova_domain.h | 23 struct page *bounce_page; member
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | page-io.c | 107 struct page *bounce_page = NULL; in ext4_finish_bio() local 118 bounce_page = page; in ext4_finish_bio() 119 page = fscrypt_pagecache_page(bounce_page); in ext4_finish_bio() 147 fscrypt_free_bounce_page(bounce_page); in ext4_finish_bio() 420 struct page *bounce_page, in io_submit_add_bh() 434 ret = bio_add_page(io->io_bio, bounce_page ?: pagecache_page, in io_submit_add_bh() 448 struct page *bounce_page = NULL; in ext4_bio_write_page() local 527 bounce_page = fscrypt_encrypt_pagecache_blocks(page, enc_bytes, in ext4_bio_write_page() 529 if (IS_ERR(bounce_page)) { in ext4_bio_write_page() 530 ret = PTR_ERR(bounce_page); in ext4_bio_write_page() 417 io_submit_add_bh(struct ext4_io_submit *io, struct inode *inode, struct page *pagecache_page, struct page *bounce_page, struct buffer_head *bh) io_submit_add_bh() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | bounce.c | 242 struct page *bounce_page; in __blk_queue_bounce() local 247 bounce_page = mempool_alloc(&page_pool, GFP_NOIO); in __blk_queue_bounce() 248 inc_zone_page_state(bounce_page, NR_BOUNCE); in __blk_queue_bounce() 252 memcpy_from_bvec(page_address(bounce_page), to); in __blk_queue_bounce() 254 to->bv_page = bounce_page; in __blk_queue_bounce()
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | crypto.c | 57 * @bounce_page: the bounce page to free, or NULL 62 void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument 64 if (!bounce_page) in fscrypt_free_bounce_page() 66 set_page_private(bounce_page, (unsigned long)NULL); in fscrypt_free_bounce_page() 67 ClearPagePrivate(bounce_page); in fscrypt_free_bounce_page() 68 mempool_free(bounce_page, fscrypt_bounce_page_pool); in fscrypt_free_bounce_page()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H A D | crypto.c | 57 * @bounce_page: the bounce page to free, or NULL 62 void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument 64 if (!bounce_page) in fscrypt_free_bounce_page() 66 set_page_private(bounce_page, (unsigned long)NULL); in fscrypt_free_bounce_page() 67 ClearPagePrivate(bounce_page); in fscrypt_free_bounce_page() 68 mempool_free(bounce_page, fscrypt_bounce_page_pool); in fscrypt_free_bounce_page()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | fscrypt.h | 165 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 167 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page() 170 void fscrypt_free_bounce_page(struct page *bounce_page); 324 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 330 static inline void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | page-io.c | 516 struct page *bounce_page; in ext4_bio_write_folio() local 526 bounce_page = fscrypt_encrypt_pagecache_blocks(&folio->page, in ext4_bio_write_folio() 528 if (IS_ERR(bounce_page)) { in ext4_bio_write_folio() 529 ret = PTR_ERR(bounce_page); in ext4_bio_write_folio() 554 io_folio = page_folio(bounce_page); in ext4_bio_write_folio()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | fscrypt.h | 271 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 273 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page() 286 void fscrypt_free_bounce_page(struct page *bounce_page); 453 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 470 static inline void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | messenger_v1.c | 1000 if (do_bounce && unlikely(!con->bounce_page)) { in read_partial_sparse_msg_extent() 1001 con->bounce_page = alloc_page(GFP_NOIO); in read_partial_sparse_msg_extent() 1002 if (!con->bounce_page) { in read_partial_sparse_msg_extent() 1014 rpage = do_bounce ? con->bounce_page : page; in read_partial_sparse_msg_extent() 1112 if (unlikely(!con->bounce_page)) { in read_partial_msg_data_bounce() 1113 con->bounce_page = alloc_page(GFP_NOIO); in read_partial_msg_data_bounce() 1114 if (!con->bounce_page) { in read_partial_msg_data_bounce() 1128 ret = ceph_tcp_recvpage(con->sock, con->bounce_page, 0, len); in read_partial_msg_data_bounce() 1134 crc = crc32c(crc, page_address(con->bounce_page), ret); in read_partial_msg_data_bounce() 1135 memcpy_to_page(page, off, page_address(con->bounce_page), re in read_partial_msg_data_bounce() [all...] |
H A D | messenger_v2.c | 1874 if (unlikely(!con->bounce_page)) { in prepare_read_data() 1875 con->bounce_page = alloc_page(GFP_NOIO); in prepare_read_data() 1876 if (!con->bounce_page) { in prepare_read_data() 1882 bv.bv_page = con->bounce_page; in prepare_read_data() 1896 page_address(con->bounce_page), in prepare_read_data_cont() 1901 page_address(con->bounce_page), in prepare_read_data_cont() 1914 bv.bv_page = con->bounce_page; in prepare_read_data_cont() 1942 page_address(con->bounce_page), in prepare_sparse_read_cont() 1946 page_address(con->bounce_page), in prepare_sparse_read_cont() 1965 bv.bv_page = con->bounce_page; in prepare_sparse_read_cont() [all...] |
H A D | messenger.c | 523 if (con->bounce_page) { in ceph_con_reset_protocol() 524 __free_page(con->bounce_page); in ceph_con_reset_protocol() 525 con->bounce_page = NULL; in ceph_con_reset_protocol()
|
/kernel/linux/linux-6.6/fs/ceph/ |
H A D | addr.c | 671 struct page *bounce_page = NULL; in writepage_nounlock() local 734 bounce_page = fscrypt_encrypt_pagecache_blocks(page, in writepage_nounlock() 737 if (IS_ERR(bounce_page)) { in writepage_nounlock() 741 return PTR_ERR(bounce_page); in writepage_nounlock() 748 bounce_page ? &bounce_page : &page, wlen, 0, in writepage_nounlock() 759 fscrypt_free_bounce_page(bounce_page); in writepage_nounlock()
|
/kernel/linux/linux-6.6/include/linux/ceph/ |
H A D | messenger.h | 501 struct page *bounce_page; member
|