Lines Matching refs:b_page_count
78 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
85 return (bp->b_page_count * PAGE_SIZE) - bp->b_offset; in xfs_buf_vmap_len()
288 bp->b_page_count = page_count; in _xfs_buf_get_pages()
335 bp->b_page_count); in xfs_buf_free()
337 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_free()
387 bp->b_page_count = 1; in xfs_buf_allocate_memory()
404 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_allocate_memory()
411 bp->b_page_count = i; in xfs_buf_allocate_memory()
443 for (i = 0; i < bp->b_page_count; i++) in xfs_buf_allocate_memory()
458 if (bp->b_page_count == 1) { in _xfs_buf_map_pages()
477 bp->b_addr = vm_map_ram(bp->b_pages, bp->b_page_count, in _xfs_buf_map_pages()
884 bp->b_page_count = 0; in xfs_buf_set_empty()
937 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_associate_memory()
1312 int total_nr_pages = bp->b_page_count; in xfs_buf_ioapply_map()