Lines Matching defs:page
109 static struct page *__bio_alloc_page_pool(struct bch_fs *c, bool *using_mempool)
111 struct page *page;
114 page = alloc_page(GFP_NOFS);
115 if (unlikely(!page)) {
123 page = mempool_alloc(&c->bio_bounce_pages, GFP_NOFS);
126 return page;
135 struct page *page = __bio_alloc_page_pool(c, &using_mempool);
138 BUG_ON(!bio_add_page(bio, page, len, 0));