Lines Matching refs:rb_node
119 struct rb_node **p; in __get_or_create_frag()
120 struct rb_node *parent = NULL; in __get_or_create_frag()
124 p = &ci->i_fragtree.rb_node; in __get_or_create_frag()
162 struct rb_node *n = ci->i_fragtree.rb_node; in __ceph_find_frag()
309 struct rb_node *rb_node; in ceph_fill_fragtree() local
322 rb_node = rb_first(&ci->i_fragtree); in ceph_fill_fragtree()
323 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
324 if (frag->frag != ceph_frag_make(0, 0) || rb_next(rb_node)) in ceph_fill_fragtree()
336 rb_node = rb_first(&ci->i_fragtree); in ceph_fill_fragtree()
340 while (rb_node) { in ceph_fill_fragtree()
341 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
346 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
349 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
362 while (rb_node) { in ceph_fill_fragtree()
363 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
364 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
484 struct rb_node *n; in ceph_destroy_inode()