Home
last modified time | relevance | path

Searched refs:bounce_page (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/drivers/vdpa/vdpa_user/
H A Diova_domain.c111 if (!map->bounce_page) { in vduse_domain_map_bounce_page()
113 if (!map->bounce_page) in vduse_domain_map_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()
267 if (map->bounce_page) { in vduse_domain_add_user_bounce_pages()
273 __free_page(map->bounce_page); in vduse_domain_add_user_bounce_pages()
275 map->bounce_page = pages[i]; in vduse_domain_add_user_bounce_pages()
309 put_page(map->bounce_page); in vduse_domain_remove_user_bounce_pages()
[all …]
H A Diova_domain.h23 struct page *bounce_page; member
/openbmc/linux/block/
H A Dbounce.c242 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 Dcrypto.c62 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 Dpage-io.c516 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()
/openbmc/linux/include/linux/
H A Dfscrypt.h271 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 Dmessenger_v1.c1000 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 Dmessenger_v2.c1874 if (unlikely(!con->bounce_page)) { 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()
1965 bv.bv_page = con->bounce_page; in prepare_sparse_read_cont()
2013 if (unlikely(!con->bounce_page)) { in prepare_sparse_read_cont()
2015 if (!con->bounce_page) { in prepare_sparse_read_cont()
[all …]
H A Dmessenger.c523 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 Daddr.c671 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()
/openbmc/linux/include/linux/ceph/
H A Dmessenger.h501 struct page *bounce_page; member