Home
last modified time | relevance | path

Searched refs:_nr_pages (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/mm/
Dreadahead.c259 i = ractl->_index + ractl->_nr_pages - index; in page_cache_ra_unbounded()
275 i = ractl->_index + ractl->_nr_pages - index; in page_cache_ra_unbounded()
281 ractl->_nr_pages += min_nrpages; in page_cache_ra_unbounded()
447 ractl->_nr_pages += 1UL << order; in ra_alloc_folio()
770 ractl->_nr_pages += min_nrpages; in readahead_expand()
778 while (ractl->_nr_pages < new_nr_pages) { in readahead_expand()
779 unsigned long index = ractl->_index + ractl->_nr_pages; in readahead_expand()
799 ractl->_nr_pages += min_nrpages; in readahead_expand()
/linux-6.12.1/include/linux/
Dpagemap.h1351 unsigned int _nr_pages; member
1423 BUG_ON(ractl->_batch_count > ractl->_nr_pages); in __readahead_folio()
1424 ractl->_nr_pages -= ractl->_batch_count; in __readahead_folio()
1427 if (!ractl->_nr_pages) { in __readahead_folio()
1479 BUG_ON(rac->_batch_count > rac->_nr_pages); in __readahead_batch()
1480 rac->_nr_pages -= rac->_batch_count; in __readahead_batch()
1486 xas_for_each(&xas, page, rac->_index + rac->_nr_pages - 1) { in __readahead_batch()
1530 return rac->_nr_pages * PAGE_SIZE; in readahead_length()
1548 return rac->_nr_pages; in readahead_count()
Dgfp.h226 #define alloc_pages_bulk_list(_gfp, _nr_pages, _list) \ argument
227 __alloc_pages_bulk(_gfp, numa_mem_id(), NULL, _nr_pages, _list, NULL)
229 #define alloc_pages_bulk_array(_gfp, _nr_pages, _page_array) \ argument
230 __alloc_pages_bulk(_gfp, numa_mem_id(), NULL, _nr_pages, NULL, _page_array)
Dmmzone.h2096 #define subsection_map_init(_pfn, _nr_pages) do {} while (0) argument
/linux-6.12.1/fs/bcachefs/
Dfs-io-buffered.c56 ractl->_nr_pages += folio_nr_pages(folio); in readpages_iter_init()