Home
last modified time | relevance | path

Searched refs:b_page_count (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/fs/xfs/
Dxfs_buf.c74 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
81 return (bp->b_page_count * PAGE_SIZE); in xfs_buf_vmap_len()
283 vm_unmap_ram(bp->b_addr, bp->b_page_count); in xfs_buf_free_pages()
285 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_free_pages()
289 mm_account_reclaimed_pages(bp->b_page_count); in xfs_buf_free_pages()
349 bp->b_page_count = 1; in xfs_buf_alloc_kmem()
368 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()
369 if (bp->b_page_count <= XB_PAGES) { in xfs_buf_alloc_pages()
372 bp->b_pages = kzalloc(sizeof(struct page *) * bp->b_page_count, in xfs_buf_alloc_pages()
391 filled = alloc_pages_bulk_array(gfp_mask, bp->b_page_count, in xfs_buf_alloc_pages()
[all …]
Dxfs_buf.h189 unsigned int b_page_count; /* size of page array */ member