Searched refs:nr_to_read (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/mm/ |
H A D | readahead.c | 206 unsigned long nr_to_read, unsigned long lookahead_size) in page_cache_ra_unbounded() argument 229 for (i = 0; i < nr_to_read; i++) { in page_cache_ra_unbounded() 258 if (i == nr_to_read - lookahead_size) in page_cache_ra_unbounded() 282 unsigned long nr_to_read, unsigned long lookahead_size) in do_page_cache_ra() argument 296 if (nr_to_read > end_index - index) in do_page_cache_ra() 297 nr_to_read = end_index - index + 1; in do_page_cache_ra() 299 page_cache_ra_unbounded(ractl, nr_to_read, lookahead_size); in do_page_cache_ra() 307 unsigned long nr_to_read) in force_page_cache_ra() argument 323 nr_to_read = min_t(unsigned long, nr_to_read, max_pages); in force_page_cache_ra() 324 while (nr_to_read) { in force_page_cache_ra() [all …]
|
H A D | internal.h | 172 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead() argument 175 force_page_cache_ra(&ractl, nr_to_read); in force_page_cache_readahead()
|
/openbmc/linux/kernel/power/ |
H A D | swap.c | 1060 unsigned int nr_to_read) in load_image() argument 1073 pr_info("Loading image data pages (%u pages)...\n", nr_to_read); in load_image() 1074 m = nr_to_read / 10; in load_image() 1106 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_image() 1166 unsigned int nr_to_read) in load_image_lzo() argument 1287 nr_to_read); in load_image_lzo() 1288 m = nr_to_read / 10; in load_image_lzo() 1455 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_image_lzo()
|
/openbmc/linux/include/linux/ |
H A D | pagemap.h | 1299 unsigned long nr_to_read, unsigned long lookahead_count);
|