Searched refs:bounce_page (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/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 = NULL; in vduse_domain_free_kernel_bounce_pages() [all …]
|
H A D | iova_domain.h | 23 struct page *bounce_page; member
|
/openbmc/linux/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()
|
/openbmc/linux/fs/crypto/ |
H A D | crypto.c | 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()
|
/openbmc/linux/fs/ext4/ |
H A 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()
|
/openbmc/linux/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
|
/openbmc/linux/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), ret); in read_partial_msg_data_bounce()
|
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()
|
/openbmc/linux/fs/ceph/ |
H A D | addr.c | 675 struct page *bounce_page = NULL; in writepage_nounlock() local 738 bounce_page = fscrypt_encrypt_pagecache_blocks(page, in writepage_nounlock() 741 if (IS_ERR(bounce_page)) { in writepage_nounlock() 745 return PTR_ERR(bounce_page); in writepage_nounlock() 752 bounce_page ? &bounce_page : &page, wlen, 0, in writepage_nounlock() 763 fscrypt_free_bounce_page(bounce_page); in writepage_nounlock()
|
/openbmc/linux/include/linux/ceph/ |
H A D | messenger.h | 501 struct page *bounce_page; member
|