Searched refs:bounce_page (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/drivers/vdpa/vdpa_user/ |
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() 178 if (WARN_ON(!map->bounce_page || in vduse_domain_bounce() 183 map->user_bounce_page : map->bounce_page; in vduse_domain_bounce() 222 if (domain->user_bounce_pages || !map->bounce_page) in vduse_domain_get_bounce_page() 225 page = map->bounce_page; in vduse_domain_get_bounce_page() 246 if (!map->bounce_page) in vduse_domain_free_kernel_bounce_pages() 249 __free_page(map->bounce_page); in vduse_domain_free_kernel_bounce_pages() 250 map->bounce_page = NULL; in vduse_domain_free_kernel_bounce_pages() [all …]
|
D | iova_domain.h | 23 struct page *bounce_page; member
|
/linux-6.12.1/block/ |
D | bounce.c | 243 struct page *bounce_page; in __blk_queue_bounce() local 248 bounce_page = mempool_alloc(&page_pool, GFP_NOIO); in __blk_queue_bounce() 249 inc_zone_page_state(bounce_page, NR_BOUNCE); in __blk_queue_bounce() 253 memcpy_from_bvec(page_address(bounce_page), to); in __blk_queue_bounce() 255 to->bv_page = bounce_page; in __blk_queue_bounce()
|
/linux-6.12.1/fs/crypto/ |
D | crypto.c | 69 void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument 71 if (!bounce_page) in fscrypt_free_bounce_page() 73 set_page_private(bounce_page, (unsigned long)NULL); in fscrypt_free_bounce_page() 74 ClearPagePrivate(bounce_page); in fscrypt_free_bounce_page() 75 mempool_free(bounce_page, fscrypt_bounce_page_pool); in fscrypt_free_bounce_page()
|
/linux-6.12.1/fs/ext4/ |
D | page-io.c | 513 struct page *bounce_page; in ext4_bio_write_folio() local 523 bounce_page = fscrypt_encrypt_pagecache_blocks(&folio->page, in ext4_bio_write_folio() 525 if (IS_ERR(bounce_page)) { in ext4_bio_write_folio() 526 ret = PTR_ERR(bounce_page); in ext4_bio_write_folio() 551 io_folio = page_folio(bounce_page); in ext4_bio_write_folio()
|
/linux-6.12.1/include/linux/ |
D | fscrypt.h | 331 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 333 return (struct page *)page_private(bounce_page); in fscrypt_pagecache_page() 346 void fscrypt_free_bounce_page(struct page *bounce_page); 518 static inline struct page *fscrypt_pagecache_page(struct page *bounce_page) in fscrypt_pagecache_page() argument 535 static inline void fscrypt_free_bounce_page(struct page *bounce_page) in fscrypt_free_bounce_page() argument
|
/linux-6.12.1/net/ceph/ |
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), ret); in read_partial_msg_data_bounce()
|
D | messenger_v2.c | 1870 if (unlikely(!con->bounce_page)) { in prepare_read_data() 1871 con->bounce_page = alloc_page(GFP_NOIO); in prepare_read_data() 1872 if (!con->bounce_page) { in prepare_read_data() 1878 bv.bv_page = con->bounce_page; in prepare_read_data() 1892 page_address(con->bounce_page), in prepare_read_data_cont() 1897 page_address(con->bounce_page), in prepare_read_data_cont() 1910 bv.bv_page = con->bounce_page; in prepare_read_data_cont() 1938 page_address(con->bounce_page), in prepare_sparse_read_cont() 1942 page_address(con->bounce_page), in prepare_sparse_read_cont() 1961 bv.bv_page = con->bounce_page; in prepare_sparse_read_cont() [all …]
|
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()
|
/linux-6.12.1/fs/ceph/ |
D | addr.c | 680 struct page *bounce_page = NULL; in writepage_nounlock() local 746 bounce_page = fscrypt_encrypt_pagecache_blocks(page, in writepage_nounlock() 749 if (IS_ERR(bounce_page)) { in writepage_nounlock() 753 return PTR_ERR(bounce_page); in writepage_nounlock() 760 bounce_page ? &bounce_page : &page, wlen, 0, in writepage_nounlock() 772 fscrypt_free_bounce_page(bounce_page); in writepage_nounlock()
|
/linux-6.12.1/include/linux/ceph/ |
D | messenger.h | 501 struct page *bounce_page; member
|