Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dreadahead.c206 unsigned long nr_to_read, unsigned long lookahead_size) in page_cache_ra_unbounded() argument
235 ra_folio_index = round_up(readahead_index(ractl) + nr_to_read - lookahead_size, in page_cache_ra_unbounded()
238 nr_to_read += readahead_index(ractl) - index; in page_cache_ra_unbounded()
244 while (i < nr_to_read) { in page_cache_ra_unbounded()
303 unsigned long nr_to_read, unsigned long lookahead_size) in do_page_cache_ra() argument
317 if (nr_to_read > end_index - index) in do_page_cache_ra()
318 nr_to_read = end_index - index + 1; in do_page_cache_ra()
320 page_cache_ra_unbounded(ractl, nr_to_read, lookahead_size); in do_page_cache_ra()
328 unsigned long nr_to_read) in force_page_cache_ra() argument
343 nr_to_read = min_t(unsigned long, nr_to_read, max_pages); in force_page_cache_ra()
[all …]
Dinternal.h399 struct file *file, pgoff_t index, unsigned long nr_to_read) in force_page_cache_readahead() argument
402 force_page_cache_ra(&ractl, nr_to_read); in force_page_cache_readahead()
/linux-6.12.1/kernel/power/
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()
/linux-6.12.1/include/linux/
Dpagemap.h1368 unsigned long nr_to_read, unsigned long lookahead_count);