Lines Matching defs:fbatch
933 struct folio_batch fbatch;
963 folio_batch_init(&fbatch);
1030 end, tag, &fbatch);
1035 page = &fbatch.folios[i]->page;
1145 /* note position of first page in fbatch */
1175 fbatch.folios[i] = NULL;
1184 /* shift unused page to beginning of fbatch */
1186 if (!fbatch.folios[j])
1189 fbatch.folios[n] = fbatch.folios[j];
1192 fbatch.nr = n;
1196 dout("reached end fbatch, trying for more\n");
1197 folio_batch_release(&fbatch);
1348 dout("folio_batch release on %d folios (%p)\n", (int)fbatch.nr,
1349 fbatch.nr ? fbatch.folios[0] : NULL);
1350 folio_batch_release(&fbatch);
1370 &fbatch))) {
1372 page = &fbatch.folios[i]->page;
1377 folio_batch_release(&fbatch);