Lines Matching defs:rac
146 static void read_pages(struct readahead_control *rac)
148 const struct address_space_operations *aops = rac->mapping->a_ops;
152 if (!readahead_count(rac))
155 if (unlikely(rac->_workingset))
156 psi_memstall_enter(&rac->_pflags);
160 aops->readahead(rac);
166 while ((folio = readahead_folio(rac)) != NULL) {
170 rac->ra->size -= nr;
171 if (rac->ra->async_size >= nr) {
172 rac->ra->async_size -= nr;
179 while ((folio = readahead_folio(rac)) != NULL)
180 aops->read_folio(rac->file, folio);
184 if (unlikely(rac->_workingset))
185 psi_memstall_leave(&rac->_pflags);
186 rac->_workingset = false;
188 BUG_ON(readahead_count(rac));