Home
last modified time | relevance | path

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

/mm/
Dreadahead.c184 void page_cache_ra_unbounded(struct readahead_control *ractl, in page_cache_ra_unbounded() argument
187 struct address_space *mapping = ractl->mapping; in page_cache_ra_unbounded()
188 unsigned long index = readahead_index(ractl); in page_cache_ra_unbounded()
211 BUG_ON(index + i != ractl->_index + ractl->_nr_pages); in page_cache_ra_unbounded()
222 read_pages(ractl, &page_pool, true); in page_cache_ra_unbounded()
235 read_pages(ractl, &page_pool, true); in page_cache_ra_unbounded()
240 ractl->_nr_pages++; in page_cache_ra_unbounded()
248 read_pages(ractl, &page_pool, false); in page_cache_ra_unbounded()
259 void do_page_cache_ra(struct readahead_control *ractl, in do_page_cache_ra() argument
262 struct inode *inode = ractl->mapping->host; in do_page_cache_ra()
[all …]
Dinternal.h79 DEFINE_READAHEAD(ractl, file, mapping, index); in force_page_cache_readahead()
80 force_page_cache_ra(&ractl, &file->f_ra, nr_to_read); in force_page_cache_readahead()
Dfilemap.c2632 DEFINE_READAHEAD(ractl, file, mapping, vmf->pgoff); in do_sync_mmap_readahead()
2644 page_cache_sync_ra(&ractl, ra, ra->ra_pages); in do_sync_mmap_readahead()
2669 ractl._index = ra->start; in do_sync_mmap_readahead()
2670 do_page_cache_ra(&ractl, ra->size, ra->async_size); in do_sync_mmap_readahead()