Searched refs:nr_to_read (Results 1 – 4 of 4) sorted by relevance
/linux/mm/ |
A D | readahead.c | 174 unsigned long nr_to_read, unsigned long lookahead_size) in page_cache_ra_unbounded() argument 198 for (i = 0; i < nr_to_read; i++) { in page_cache_ra_unbounded() 228 if (i == nr_to_read - lookahead_size) in page_cache_ra_unbounded() 265 if (nr_to_read > end_index - index) in do_page_cache_ra() 266 nr_to_read = end_index - index + 1; in do_page_cache_ra() 276 unsigned long nr_to_read) in force_page_cache_ra() argument 293 nr_to_read = min_t(unsigned long, nr_to_read, max_pages); in force_page_cache_ra() 294 while (nr_to_read) { in force_page_cache_ra() 297 if (this_chunk > nr_to_read) in force_page_cache_ra() 298 this_chunk = nr_to_read; in force_page_cache_ra() [all …]
|
A D | internal.h | 82 void do_page_cache_ra(struct readahead_control *, unsigned long nr_to_read, 86 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead() argument 89 force_page_cache_ra(&ractl, nr_to_read); in force_page_cache_readahead()
|
/linux/kernel/power/ |
A D | swap.c | 1058 unsigned int nr_to_read) in load_image() argument 1071 pr_info("Loading image data pages (%u pages)...\n", nr_to_read); in load_image() 1072 m = nr_to_read / 10; in load_image() 1104 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_image() 1164 unsigned int nr_to_read) in load_image_lzo() argument 1285 nr_to_read); in load_image_lzo() 1286 m = nr_to_read / 10; in load_image_lzo() 1453 swsusp_show_speed(start, stop, nr_to_read, "Read"); in load_image_lzo()
|
/linux/include/linux/ |
A D | pagemap.h | 1002 unsigned long nr_to_read, unsigned long lookahead_count);
|
Completed in 12 milliseconds