Searched refs:may_deactivate (Results 1 – 4 of 4) sorted by relevance
376 sc->may_deactivate |= DEACTIVATE_ANON; in shrink_node_hyperhold()378 sc->may_deactivate &= ~DEACTIVATE_ANON; in shrink_node_hyperhold()390 sc->may_deactivate |= DEACTIVATE_FILE; in shrink_node_hyperhold()396 sc->may_deactivate |= DEACTIVATE_FILE; in shrink_node_hyperhold()399 sc->may_deactivate &= ~DEACTIVATE_FILE; in shrink_node_hyperhold()401 sc->may_deactivate = DEACTIVATE_ANON | DEACTIVATE_FILE; in shrink_node_hyperhold()413 if (file >> sc->priority && !(sc->may_deactivate & DEACTIVATE_FILE)) in shrink_node_hyperhold()454 !(sc->may_deactivate & DEACTIVATE_ANON) && in shrink_node_hyperhold()
2141 if (sc->may_deactivate & (1 << is_file_lru(lru))) in shrink_list()2692 sc->may_deactivate |= DEACTIVATE_ANON; in shrink_node()2694 sc->may_deactivate &= ~DEACTIVATE_ANON; in shrink_node()2705 sc->may_deactivate |= DEACTIVATE_FILE; in shrink_node()2707 sc->may_deactivate &= ~DEACTIVATE_FILE; in shrink_node()2709 sc->may_deactivate = DEACTIVATE_ANON | DEACTIVATE_FILE; in shrink_node()2717 if (file >> sc->priority && !(sc->may_deactivate & DEACTIVATE_FILE)) in shrink_node()2757 !(sc->may_deactivate & DEACTIVATE_ANON) && in shrink_node()4387 .may_deactivate = DEACTIVATE_ANON, in purgeable()
76 unsigned int may_deactivate:2; member
541 if (sc->may_deactivate & (1 << is_file_lru(lru))) in zswapd_shrink_list()