Lines Matching refs:node
29 struct rb_node node; member
40 struct rb_node *node; in pm_show_wakelocks() local
47 for (node = rb_first(&wakelocks_tree); node; node = rb_next(node)) { in pm_show_wakelocks()
48 wl = rb_entry(node, struct wakelock, node); in pm_show_wakelocks()
125 rb_erase(&wl->node, &wakelocks_tree); in __wakelocks_gc()
153 struct rb_node **node = &wakelocks_tree.rb_node; in wakelock_lookup_add() local
154 struct rb_node *parent = *node; in wakelock_lookup_add()
157 while (*node) { in wakelock_lookup_add()
160 parent = *node; in wakelock_lookup_add()
161 wl = rb_entry(*node, struct wakelock, node); in wakelock_lookup_add()
170 node = &(*node)->rb_left; in wakelock_lookup_add()
172 node = &(*node)->rb_right; in wakelock_lookup_add()
199 rb_link_node(&wl->node, parent, node); in wakelock_lookup_add()
200 rb_insert_color(&wl->node, &wakelocks_tree); in wakelock_lookup_add()