Lines Matching refs:fbatch
917 struct folio_batch fbatch;
920 folio_batch_init(&fbatch);
925 filemap_get_folios(mapping, &index, ~0UL, &fbatch)) {
926 check_move_unevictable_folios(&fbatch);
927 folio_batch_release(&fbatch);
971 struct folio_batch fbatch;
985 folio_batch_init(&fbatch);
988 &fbatch, indices)) {
989 for (i = 0; i < folio_batch_count(&fbatch); i++) {
990 folio = fbatch.folios[i];
1004 folio_batch_remove_exceptionals(&fbatch);
1005 folio_batch_release(&fbatch);
1049 if (!find_get_entries(mapping, &index, end - 1, &fbatch,
1058 for (i = 0; i < folio_batch_count(&fbatch); i++) {
1059 folio = fbatch.folios[i];
1105 folio_batch_remove_exceptionals(&fbatch);
1106 folio_batch_release(&fbatch);
1274 pgoff_t start, struct folio_batch *fbatch,
1297 indices[folio_batch_count(fbatch)] = xas.xa_index;
1298 if (!folio_batch_add(fbatch, folio))
1316 struct folio_batch *fbatch, pgoff_t *indices)
1323 for (i = 0; i < folio_batch_count(fbatch); i++) {
1324 struct folio *folio = fbatch->folios[i];
1349 struct folio_batch fbatch;
1354 folio_batch_init(&fbatch);
1355 shmem_find_swap_entries(mapping, start, &fbatch, indices, type);
1356 if (folio_batch_count(&fbatch) == 0) {
1361 ret = shmem_unuse_swap_entries(inode, &fbatch, indices);
1365 start = indices[folio_batch_count(&fbatch) - 1];