Lines Matching refs:new
84 struct rb_node **new = &b->pending.rb_node, *parent = NULL; in __insert_pending() local
86 while (*new) { in __insert_pending()
87 w = container_of(*new, struct bt_work, node); in __insert_pending()
89 parent = *new; in __insert_pending()
92 new = &((*new)->rb_left); in __insert_pending()
95 new = &((*new)->rb_right); in __insert_pending()
102 rb_link_node(&nw->node, parent, new); in __insert_pending()
113 struct rb_node **new = &b->pending.rb_node; in __find_pending() local
115 while (*new) { in __find_pending()
116 w = container_of(*new, struct bt_work, node); in __find_pending()
120 new = &((*new)->rb_left); in __find_pending()
123 new = &((*new)->rb_right); in __find_pending()
129 return *new ? w : NULL; in __find_pending()