Lines Matching defs:folios
226 struct folio *folio = fbatch->folios[i];
418 struct folio *batch_folio = fbatch->folios[i];
643 * Lazyfree folios are clean anonymous folios. They have
645 * anonymous folios
964 * folios_put_refs - Reduce the reference count on a batch of folios.
965 * @folios: The folios.
968 * Like folio_put(), but for a batch of folios. This is more efficient
970 * to be taken if the folios are freed. The folios batch is returned
978 void folios_put_refs(struct folio_batch *folios, unsigned int *refs)
984 for (i = 0, j = 0; i < folios->nr; i++) {
985 struct folio *folio = folios->folios[i];
1022 folios->folios[j] = folio;
1028 folio_batch_reinit(folios);
1032 folios->nr = j;
1033 mem_cgroup_uncharge_folios(folios);
1034 free_unref_folios(folios);
1079 * The folios which we're about to release may be in the deferred lru-addition
1081 * OK from a correctness point of view but is inefficient - those folios may be
1099 * folio_batch_remove_exceptionals() - Prune non-folios from a batch.
1102 * find_get_entries() fills a batch with both folios and shadow/swap/DAX
1112 struct folio *folio = fbatch->folios[i];
1114 fbatch->folios[j++] = folio;