Lines Matching refs:page_count
269 int page_count) in _xfs_buf_get_pages() argument
273 bp->b_page_count = page_count; in _xfs_buf_get_pages()
274 if (page_count <= XB_PAGES) { in _xfs_buf_get_pages()
278 page_count, KM_NOFS); in _xfs_buf_get_pages()
282 memset(bp->b_pages, 0, sizeof(struct page *) * page_count); in _xfs_buf_get_pages()
345 unsigned short page_count, i; in xfs_buf_allocate_memory() local
392 page_count = end - start; in xfs_buf_allocate_memory()
393 error = _xfs_buf_get_pages(bp, page_count); in xfs_buf_allocate_memory()
914 unsigned long page_count; in xfs_buf_get_uncached() local
924 page_count = PAGE_ALIGN(numblks << BBSHIFT) >> PAGE_SHIFT; in xfs_buf_get_uncached()
925 error = _xfs_buf_get_pages(bp, page_count); in xfs_buf_get_uncached()
929 for (i = 0; i < page_count; i++) { in xfs_buf_get_uncached()