Lines Matching refs:rb_node
409 struct rb_node **node, *parent; in wb_congested_get_create()
414 node = &bdi->cgwb_congested_tree.rb_node; in wb_congested_get_create()
420 rb_node); in wb_congested_get_create()
432 rb_link_node(&congested->rb_node, parent, node); in wb_congested_get_create()
433 rb_insert_color(&congested->rb_node, &bdi->cgwb_congested_tree); in wb_congested_get_create()
472 rb_erase(&congested->rb_node, in wb_congested_put()
775 struct rb_node *rbn; in cgwb_bdi_exit()
780 rb_entry(rbn, struct bdi_writeback_congested, rb_node); in cgwb_bdi_exit()
885 static struct rb_node **bdi_lookup_rb_node(u64 id, struct rb_node **parentp) in bdi_lookup_rb_node()
887 struct rb_node **p = &bdi_tree.rb_node; in bdi_lookup_rb_node()
888 struct rb_node *parent = NULL; in bdi_lookup_rb_node()
895 bdi = rb_entry(parent, struct backing_dev_info, rb_node); in bdi_lookup_rb_node()
920 struct rb_node **p; in bdi_get_by_id()
925 bdi = rb_entry(*p, struct backing_dev_info, rb_node); in bdi_get_by_id()
936 struct rb_node *parent, **p; in bdi_register_va()
957 rb_link_node(&bdi->rb_node, parent, p); in bdi_register_va()
958 rb_insert_color(&bdi->rb_node, &bdi_tree); in bdi_register_va()
1002 rb_erase(&bdi->rb_node, &bdi_tree); in bdi_remove_from_list()