Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dlist_lru.c49 return lru->shrinker_id; in lru_shrinker_id()
566 lru->shrinker_id = shrinker->id; in __list_lru_init()
568 lru->shrinker_id = -1; in __list_lru_init()
602 lru->shrinker_id = -1; in list_lru_destroy()
H A Dvmscan.c335 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id) in set_shrinker_bit() argument
337 if (shrinker_id >= 0 && memcg && !mem_cgroup_is_root(memcg)) { in set_shrinker_bit()
342 if (!WARN_ON_ONCE(shrinker_id >= info->map_nr_max)) { in set_shrinker_bit()
345 set_bit(shrinker_id, info->map); in set_shrinker_bit()
/openbmc/linux/include/linux/
H A Dlist_lru.h53 int shrinker_id; member
H A Dmemcontrol.h1730 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id);
1742 int nid, int shrinker_id) in set_shrinker_bit() argument