Home
last modified time | relevance | path

Searched refs:lru_disable_count (Results 1 – 1 of 1) sorted by relevance

/mm/
Dswap.c946 static atomic_t lru_disable_count = ATOMIC_INIT(0); variable
950 return atomic_read(&lru_disable_count) != 0; in lru_cache_disabled()
955 atomic_dec(&lru_disable_count); in lru_cache_enable()
973 if (atomic_inc_not_zero(&lru_disable_count)) in lru_cache_disable()
988 atomic_inc(&lru_disable_count); in lru_cache_disable()