Lines Matching refs:rb_node
118 struct rb_node **p; in __get_or_create_frag()
119 struct rb_node *parent = NULL; in __get_or_create_frag()
123 p = &ci->i_fragtree.rb_node; in __get_or_create_frag()
161 struct rb_node *n = ci->i_fragtree.rb_node; in __ceph_find_frag()
308 struct rb_node *rb_node; in ceph_fill_fragtree() local
321 rb_node = rb_first(&ci->i_fragtree); in ceph_fill_fragtree()
322 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
323 if (frag->frag != ceph_frag_make(0, 0) || rb_next(rb_node)) in ceph_fill_fragtree()
335 rb_node = rb_first(&ci->i_fragtree); in ceph_fill_fragtree()
339 while (rb_node) { in ceph_fill_fragtree()
340 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
345 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
348 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
361 while (rb_node) { in ceph_fill_fragtree()
362 frag = rb_entry(rb_node, struct ceph_inode_frag, node); in ceph_fill_fragtree()
363 rb_node = rb_next(rb_node); in ceph_fill_fragtree()
484 struct rb_node *n; in ceph_destroy_inode()