Lines Matching refs:i_caps
416 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds()
450 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_get_cap_mds()
477 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node()
493 rb_insert_color(&new->ci_node, &ci->i_caps); in __insert_cap_node()
793 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued()
824 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued_other()
874 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued_mask()
900 for (q = rb_first(&ci->i_caps); q != p; in __ceph_caps_issued_mask()
925 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_revoking_other()
989 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_mds_wanted()
1006 return rb_first(&ci->i_caps) == rb_last(&ci->i_caps); in __ceph_is_single_caps()
1011 return !RB_EMPTY_ROOT(&ci->i_caps); in __ceph_is_any_caps()
1064 rb_erase(&cap->ci_node, &ci->i_caps); in __ceph_remove_cap()
1257 p = rb_first(&ci->i_caps); in ceph_queue_caps_release()
1935 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in ceph_check_caps()