Home
last modified time | relevance | path

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

/linux-6.1.9/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()
290 current->reclaim_state->reclaimed_slab += bp->b_page_count; in xfs_buf_free_pages()
350 bp->b_page_count = 1; in xfs_buf_alloc_kmem()
369 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()
370 if (bp->b_page_count <= XB_PAGES) { in xfs_buf_alloc_pages()
373 bp->b_pages = kzalloc(sizeof(struct page *) * bp->b_page_count, in xfs_buf_alloc_pages()
392 filled = alloc_pages_bulk_array(gfp_mask, bp->b_page_count, in xfs_buf_alloc_pages()
[all …]
Dxfs_buf.h176 unsigned int b_page_count; /* size of page array */ member