Searched refs:chunk_nr (Results 1 – 1 of 1) sorted by relevance
1442 unsigned long chunk_nr; in do_pages_stat() local1444 chunk_nr = nr_pages; in do_pages_stat()1445 if (chunk_nr > DO_PAGES_STAT_CHUNK_NR) in do_pages_stat()1446 chunk_nr = DO_PAGES_STAT_CHUNK_NR; in do_pages_stat()1448 if (copy_from_user(chunk_pages, pages, chunk_nr * sizeof(*chunk_pages))) in do_pages_stat()1451 do_pages_stat_array(mm, chunk_nr, chunk_pages, chunk_status); in do_pages_stat()1453 if (copy_to_user(status, chunk_status, chunk_nr * sizeof(*status))) in do_pages_stat()1456 pages += chunk_nr; in do_pages_stat()1457 status += chunk_nr; in do_pages_stat()1458 nr_pages -= chunk_nr; in do_pages_stat()