Home
last modified time | relevance | path

Searched refs:b_pages (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_buf_mem.c172 bp->b_pages = bp->b_page_array; in xmbuf_map_page()
173 bp->b_pages[0] = page; in xmbuf_map_page()
183 struct page *page = bp->b_pages[0]; in xmbuf_unmap_page()
190 bp->b_pages[0] = NULL; in xmbuf_unmap_page()
191 bp->b_pages = NULL; in xmbuf_unmap_page()
Dxfs_buf.c293 if (bp->b_pages[i]) in xfs_buf_free_pages()
294 __free_page(bp->b_pages[i]); in xfs_buf_free_pages()
298 if (bp->b_pages != bp->b_page_array) in xfs_buf_free_pages()
299 kfree(bp->b_pages); in xfs_buf_free_pages()
300 bp->b_pages = NULL; in xfs_buf_free_pages()
356 bp->b_pages = bp->b_page_array; in xfs_buf_alloc_kmem()
357 bp->b_pages[0] = kmem_to_page(bp->b_addr); in xfs_buf_alloc_kmem()
377 bp->b_pages = bp->b_page_array; in xfs_buf_alloc_pages()
379 bp->b_pages = kzalloc(sizeof(struct page *) * bp->b_page_count, in xfs_buf_alloc_pages()
381 if (!bp->b_pages) in xfs_buf_alloc_pages()
[all …]
Dxfs_buf.h195 struct page **b_pages; /* array of page pointers */ member