Home
last modified time | relevance | path

Searched refs:nr_to_read (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dreadahead.c206 unsigned long nr_to_read, unsigned long lookahead_size) in page_cache_ra_unbounded() argument
235 if (lookahead_size <= nr_to_read) { in page_cache_ra_unbounded()
239 nr_to_read - lookahead_size, in page_cache_ra_unbounded()
243 nr_to_read += readahead_index(ractl) - index; in page_cache_ra_unbounded()
249 while (i < nr_to_read) { in page_cache_ra_unbounded()
308 unsigned long nr_to_read, unsigned long lookahead_size) in do_page_cache_ra() argument
322 if (nr_to_read > end_index - index) in do_page_cache_ra()
323 nr_to_read = end_index - index + 1; in do_page_cache_ra()
325 page_cache_ra_unbounded(ractl, nr_to_read, lookahead_size); in do_page_cache_ra()
333 unsigned long nr_to_read) in force_page_cache_ra() argument
[all …]
H A Dinternal.h400 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead() argument
403 force_page_cache_ra(&ractl, nr_to_read); in force_page_cache_readahead()
/linux/kernel/power/
H A Dswap.c1090 unsigned int nr_to_read) in load_image() argument
1103 pr_info("Loading image data pages (%u pages)...\n", nr_to_read); in load_image()
1104 m = nr_to_read / 10; in load_image()
1136 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_image()
1200 unsigned int nr_to_read) in load_compressed_image() argument
1328 nr_to_read); in load_compressed_image()
1329 m = nr_to_read / 10; in load_compressed_image()
1496 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_compressed_image()