Lines Matching defs:root
266 static struct kwork_work *work_search(struct rb_root_cached *root,
272 struct rb_node *node = root->rb_root.rb_node;
290 static void work_insert(struct rb_root_cached *root,
296 struct rb_node **new = &(root->rb_root.rb_node), *parent = NULL;
312 rb_insert_color_cached(&key->node, root, leftmost);
335 static struct kwork_work *work_findnew(struct rb_root_cached *root,
339 struct kwork_work *work = work_search(root, key, sort_list);
346 work_insert(root, work, sort_list);
1300 struct rb_root_cached *root = &class->work_root;
1304 node = rb_first_cached(root);
1308 rb_erase_cached(node, root);