Lines Matching refs:b_page_count
99 return bp->b_addr && bp->b_page_count > 1; in xfs_buf_is_vmapped()
106 return (bp->b_page_count * PAGE_SIZE) - bp->b_offset; in xfs_buf_vmap_len()
309 bp->b_page_count = page_count; in _xfs_buf_get_pages()
356 bp->b_page_count); in xfs_buf_free()
358 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_free()
408 bp->b_page_count = 1; in xfs_buf_allocate_memory()
425 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_allocate_memory()
432 bp->b_page_count = i; in xfs_buf_allocate_memory()
464 for (i = 0; i < bp->b_page_count; i++) in xfs_buf_allocate_memory()
479 if (bp->b_page_count == 1) { in _xfs_buf_map_pages()
498 bp->b_addr = vm_map_ram(bp->b_pages, bp->b_page_count, in _xfs_buf_map_pages()
861 bp->b_page_count = 0; in xfs_buf_set_empty()
914 for (i = 0; i < bp->b_page_count; i++) { in xfs_buf_associate_memory()
1290 int total_nr_pages = bp->b_page_count; in xfs_buf_ioapply_map()