Lines Matching refs:nid
117 int nid = page_to_nid(virt_to_page(item)); in list_lru_add() local
118 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_add()
128 memcg_set_shrinker_bit(memcg, nid, in list_lru_add()
141 int nid = page_to_nid(virt_to_page(item)); in list_lru_del() local
142 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_del()
175 int nid, struct mem_cgroup *memcg) in list_lru_count_one() argument
177 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_count_one()
190 unsigned long list_lru_count_node(struct list_lru *lru, int nid) in list_lru_count_node() argument
194 nlru = &lru->node[nid]; in list_lru_count_node()
258 list_lru_walk_one(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one() argument
262 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_one()
274 list_lru_walk_one_irq(struct list_lru *lru, int nid, struct mem_cgroup *memcg, in list_lru_walk_one_irq() argument
278 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_one_irq()
288 unsigned long list_lru_walk_node(struct list_lru *lru, int nid, in list_lru_walk_node() argument
295 isolated += list_lru_walk_one(lru, nid, NULL, isolate, cb_arg, in list_lru_walk_node()
299 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_node()
531 static void memcg_drain_list_lru_node(struct list_lru *lru, int nid, in memcg_drain_list_lru_node() argument
534 struct list_lru_node *nlru = &lru->node[nid]; in memcg_drain_list_lru_node()
551 memcg_set_shrinker_bit(dst_memcg, nid, lru_shrinker_id(lru)); in memcg_drain_list_lru_node()