Lines Matching refs:num_pages
2353 cifs_write_allocate_pages(struct page **pages, unsigned long num_pages)
2358 for (i = 0; i < num_pages; i++) {
2365 num_pages = i;
2372 for (i = 0; i < num_pages; i++)
2381 size_t num_pages;
2385 num_pages = DIV_ROUND_UP(clen, PAGE_SIZE);
2390 return num_pages;
2426 size_t *len, unsigned long *num_pages)
2429 unsigned long i, nr_pages = *num_pages;
2462 *num_pages = i + 1;
2473 unsigned long nr_pages, num_pages, i;
2512 num_pages = nr_pages;
2513 rc = wdata_fill_from_iovec(wdata, from, &cur_len, &num_pages);
2526 for ( ; nr_pages > num_pages; nr_pages--)
3460 struct list_head *page_list, unsigned num_pages)
3477 &num_pages);
3489 cifs_dbg(FYI, "%s: file=%p mapping=%p num_pages=%u\n",
3490 __func__, file, mapping, num_pages);