Lines Matching refs:nlru
67 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_from_kmem() local
68 struct list_lru_one *l = &nlru->lru; in list_lru_from_kmem()
122 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_add() local
126 spin_lock(&nlru->lock); in list_lru_add()
134 nlru->nr_items++; in list_lru_add()
135 spin_unlock(&nlru->lock); in list_lru_add()
138 spin_unlock(&nlru->lock); in list_lru_add()
146 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_del() local
149 spin_lock(&nlru->lock); in list_lru_del()
154 nlru->nr_items--; in list_lru_del()
155 spin_unlock(&nlru->lock); in list_lru_del()
158 spin_unlock(&nlru->lock); in list_lru_del()
198 struct list_lru_node *nlru; in list_lru_count_node() local
200 nlru = &lru->node[nid]; in list_lru_count_node()
201 return nlru->nr_items; in list_lru_count_node()
210 struct list_lru_node *nlru = &lru->node[nid]; in __list_lru_walk_one() local
231 ret = isolate(item, l, &nlru->lock, cb_arg); in __list_lru_walk_one()
234 assert_spin_locked(&nlru->lock); in __list_lru_walk_one()
238 nlru->nr_items--; in __list_lru_walk_one()
257 assert_spin_locked(&nlru->lock); in __list_lru_walk_one()
272 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_one() local
275 spin_lock(&nlru->lock); in list_lru_walk_one()
278 spin_unlock(&nlru->lock); in list_lru_walk_one()
288 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_one_irq() local
291 spin_lock_irq(&nlru->lock); in list_lru_walk_one_irq()
294 spin_unlock_irq(&nlru->lock); in list_lru_walk_one_irq()
313 struct list_lru_node *nlru = &lru->node[nid]; in list_lru_walk_node() local
315 spin_lock(&nlru->lock); in list_lru_walk_node()
319 spin_unlock(&nlru->lock); in list_lru_walk_node()
393 struct list_lru_node *nlru = &lru->node[nid]; in memcg_reparent_list_lru_node() local
401 spin_lock_irq(&nlru->lock); in memcg_reparent_list_lru_node()
416 spin_unlock_irq(&nlru->lock); in memcg_reparent_list_lru_node()