Searched refs:b_page_count (Results 1 – 3 of 3) sorted by relevance
80 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()87 return (bp->b_page_count * PAGE_SIZE); in xfs_buf_vmap_len()290 vm_unmap_ram(bp->b_addr, bp->b_page_count); in xfs_buf_free_pages()292 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_free_pages()296 mm_account_reclaimed_pages(bp->b_page_count); in xfs_buf_free_pages()358 bp->b_page_count = 1; in xfs_buf_alloc_kmem()375 bp->b_page_count = DIV_ROUND_UP(BBTOB(bp->b_length), PAGE_SIZE); in xfs_buf_alloc_pages()376 if (bp->b_page_count <= XB_PAGES) { in xfs_buf_alloc_pages()379 bp->b_pages = kzalloc(sizeof(struct page *) * bp->b_page_count, in xfs_buf_alloc_pages()398 filled = alloc_pages_bulk_array(gfp_mask, bp->b_page_count, in xfs_buf_alloc_pages()[all …]
174 bp->b_page_count = 1; in xmbuf_map_page()192 bp->b_page_count = 0; in xmbuf_unmap_page()
202 unsigned int b_page_count; /* size of page array */ member