Home
last modified time | relevance | path

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

/linux-6.6.21/mm/
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()
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()
/linux-6.6.21/include/linux/
Dlist_lru.h53 int shrinker_id; member
Dmemcontrol.h1744 void set_shrinker_bit(struct mem_cgroup *memcg, int nid, int shrinker_id);
1756 int nid, int shrinker_id) in set_shrinker_bit() argument