Lines Matching refs:page_count
217 int page_count, in _xfs_buf_get_pages() argument
223 bp->b_page_count = page_count; in _xfs_buf_get_pages()
224 if (page_count <= XB_PAGES) { in _xfs_buf_get_pages()
228 page_count, xb_to_km(flags)); in _xfs_buf_get_pages()
232 memset(bp->b_pages, 0, sizeof(struct page *) * page_count); in _xfs_buf_get_pages()
294 unsigned short page_count, i; in xfs_buf_allocate_memory() local
328 page_count = xfs_buf_btoc(end) - xfs_buf_btoct(bp->b_file_offset); in xfs_buf_allocate_memory()
329 error = _xfs_buf_get_pages(bp, page_count, flags); in xfs_buf_allocate_memory()
738 int page_count; in xfs_buf_associate_memory() local
743 page_count = buflen >> PAGE_SHIFT; in xfs_buf_associate_memory()
752 rval = _xfs_buf_get_pages(bp, page_count, XBF_DONT_BLOCK); in xfs_buf_associate_memory()
776 unsigned long page_count = PAGE_ALIGN(len) >> PAGE_SHIFT; in xfs_buf_get_uncached() local
784 error = _xfs_buf_get_pages(bp, page_count, 0); in xfs_buf_get_uncached()
788 for (i = 0; i < page_count; i++) { in xfs_buf_get_uncached()