H A D | list_lru.c | 22 static inline bool list_lru_memcg_aware(struct list_lru *lru) in list_lru_memcg_aware() argument 24 return lru->memcg_aware; in list_lru_memcg_aware() 27 static void list_lru_register(struct list_lru *lru) in list_lru_register() argument 29 if (!list_lru_memcg_aware(lru)) in list_lru_register() 33 list_add(&lru->list, &memcg_list_lrus); in list_lru_register() 37 static void list_lru_unregister(struct list_lru *lru) in list_lru_unregister() argument 39 if (!list_lru_memcg_aware(lru)) in list_lru_unregister() 43 list_del(&lru->list); in list_lru_unregister() 47 static int lru_shrinker_id(struct list_lru *lru) in lru_shrinker_id() argument 49 return lru in lru_shrinker_id() 53 list_lru_from_memcg_idx(struct list_lru * lru,int nid,int idx) list_lru_from_memcg_idx() argument 63 list_lru_register(struct list_lru * lru) list_lru_register() argument 67 list_lru_unregister(struct list_lru * lru) list_lru_unregister() argument 71 lru_shrinker_id(struct list_lru * lru) lru_shrinker_id() argument 76 list_lru_memcg_aware(struct list_lru * lru) list_lru_memcg_aware() argument 82 list_lru_from_memcg_idx(struct list_lru * lru,int nid,int idx) list_lru_from_memcg_idx() argument 89 list_lru_add(struct list_lru * lru,struct list_head * item,int nid,struct mem_cgroup * memcg) list_lru_add() argument 111 list_lru_add_obj(struct list_lru * lru,struct list_head * item) list_lru_add_obj() argument 129 list_lru_del(struct list_lru * lru,struct list_head * item,int nid,struct mem_cgroup * memcg) list_lru_del() argument 149 list_lru_del_obj(struct list_lru * lru,struct list_head * item) list_lru_del_obj() argument 181 list_lru_count_one(struct list_lru * lru,int nid,struct mem_cgroup * memcg) list_lru_count_one() argument 199 list_lru_count_node(struct list_lru * lru,int nid) list_lru_count_node() argument 209 __list_lru_walk_one(struct list_lru * lru,int nid,int memcg_idx,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) __list_lru_walk_one() argument 274 list_lru_walk_one(struct list_lru * lru,int nid,struct mem_cgroup * memcg,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_one() argument 290 list_lru_walk_one_irq(struct list_lru * lru,int nid,struct mem_cgroup * memcg,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_one_irq() argument 304 list_lru_walk_node(struct list_lru * lru,int nid,list_lru_walk_cb isolate,void * cb_arg,unsigned long * nr_to_walk) list_lru_walk_node() argument 359 memcg_list_lru_free(struct list_lru * lru,int src_idx) memcg_list_lru_free() argument 373 memcg_init_list_lru(struct list_lru * lru,bool memcg_aware) memcg_init_list_lru() argument 380 memcg_destroy_list_lru(struct list_lru * lru) memcg_destroy_list_lru() argument 396 memcg_reparent_list_lru_node(struct list_lru * lru,int nid,int src_idx,struct mem_cgroup * dst_memcg) memcg_reparent_list_lru_node() argument 425 memcg_reparent_list_lru(struct list_lru * lru,int src_idx,struct mem_cgroup * dst_memcg) memcg_reparent_list_lru() argument 439 struct list_lru *lru; memcg_reparent_list_lrus() local 471 memcg_list_lru_allocated(struct mem_cgroup * memcg,struct list_lru * lru) memcg_list_lru_allocated() argument 478 memcg_list_lru_alloc(struct mem_cgroup * memcg,struct list_lru * lru,gfp_t gfp) memcg_list_lru_alloc() argument 556 memcg_init_list_lru(struct list_lru * lru,bool memcg_aware) memcg_init_list_lru() argument 560 memcg_destroy_list_lru(struct list_lru * lru) memcg_destroy_list_lru() argument 565 __list_lru_init(struct list_lru * lru,bool memcg_aware,struct lock_class_key * key,struct shrinker * shrinker) __list_lru_init() argument 598 list_lru_destroy(struct list_lru * lru) list_lru_destroy() argument [all...] |