• Home
  • Raw
  • Download

Lines Matching refs:count

237 	unsigned count, loop;  in afs_kill_pages()  local
247 count = last - first + 1; in afs_kill_pages()
248 if (count > PAGEVEC_SIZE) in afs_kill_pages()
249 count = PAGEVEC_SIZE; in afs_kill_pages()
250 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_kill_pages()
251 ASSERTCMP(pv.nr, ==, count); in afs_kill_pages()
253 for (loop = 0; loop < count; loop++) { in afs_kill_pages()
280 unsigned count, loop; in afs_redirty_pages() local
290 count = last - first + 1; in afs_redirty_pages()
291 if (count > PAGEVEC_SIZE) in afs_redirty_pages()
292 count = PAGEVEC_SIZE; in afs_redirty_pages()
293 pv.nr = find_get_pages_contig(mapping, first, count, pv.pages); in afs_redirty_pages()
294 ASSERTCMP(pv.nr, ==, count); in afs_redirty_pages()
296 for (loop = 0; loop < count; loop++) { in afs_redirty_pages()
319 unsigned count, loop; in afs_pages_written_back() local
329 count = last - first + 1; in afs_pages_written_back()
330 if (count > PAGEVEC_SIZE) in afs_pages_written_back()
331 count = PAGEVEC_SIZE; in afs_pages_written_back()
333 first, count, pv.pages); in afs_pages_written_back()
334 ASSERTCMP(pv.nr, ==, count); in afs_pages_written_back()
336 for (loop = 0; loop < count; loop++) { in afs_pages_written_back()
343 first += count; in afs_pages_written_back()
458 unsigned long count, priv; in afs_write_back_from_locked_page() local
465 count = 1; in afs_write_back_from_locked_page()
492 _debug("more %lx [%lx]", start, count); in afs_write_back_from_locked_page()
541 count += loop; in afs_write_back_from_locked_page()
549 } while (start <= final_page && count < 65536); in afs_write_back_from_locked_page()
559 last = first + count - 1; in afs_write_back_from_locked_page()
566 ret = count; in afs_write_back_from_locked_page()
735 size_t count = iov_iter_count(from); in afs_file_write() local
738 vnode->fid.vid, vnode->fid.vnode, count); in afs_file_write()
746 if (!count) in afs_file_write()