Lines Matching defs:refs
384 int refs;
397 refs = lru_get_refs_flags(old_flags);
398 if (refs == LRU_REFS_MAX) {
403 lru_set_refs_flags(&new_flags, refs + 1);
996 * @refs: The number of refs to subtract from each folio.
1002 * to reinitialise it. If @refs is NULL, we subtract one from each
1008 void folios_put_refs(struct folio_batch *folios, unsigned int *refs)
1016 unsigned int nr_refs = refs ? refs[i] : 1;
1082 int refs[FOLIO_BATCH_SIZE];
1092 refs[fbatch.nr] = 1;
1095 refs[fbatch.nr] = encoded_nr_pages(encoded[++i]);
1099 folios_put_refs(&fbatch, refs);
1103 folios_put_refs(&fbatch, refs);