Searched refs:chunk_nr (Results 1 – 1 of 1) sorted by relevance
2319 unsigned long chunk_nr) in get_compat_pages_array() argument2325 for (i = 0; i < chunk_nr; i++) { in get_compat_pages_array()2347 unsigned long chunk_nr = min(nr_pages, DO_PAGES_STAT_CHUNK_NR); in do_pages_stat() local2351 chunk_nr)) in do_pages_stat()2355 chunk_nr * sizeof(*chunk_pages))) in do_pages_stat()2359 do_pages_stat_array(mm, chunk_nr, chunk_pages, chunk_status); in do_pages_stat()2361 if (copy_to_user(status, chunk_status, chunk_nr * sizeof(*status))) in do_pages_stat()2364 pages += chunk_nr; in do_pages_stat()2365 status += chunk_nr; in do_pages_stat()2366 nr_pages -= chunk_nr; in do_pages_stat()