Searched refs:i_caps (Results 1 – 4 of 4) sorted by relevance
436 struct rb_node *n = ci->i_caps.rb_node; in __get_cap_for_mds()466 struct rb_node **p = &ci->i_caps.rb_node; in __insert_cap_node()482 rb_insert_color(&new->ci_node, &ci->i_caps); in __insert_cap_node()796 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued()827 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued_other()877 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_issued_mask()903 for (q = rb_first(&ci->i_caps); q != p; in __ceph_caps_issued_mask()943 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_revoking_other()1075 for (p = rb_first(&ci->i_caps); p; p = rb_next(p)) { in __ceph_caps_mds_wanted()1125 rb_erase(&cap->ci_node, &ci->i_caps); in __ceph_remove_cap()[all …]
367 struct rb_root i_caps; /* cap list */ member708 return !RB_EMPTY_ROOT(&ci->i_caps); in __ceph_is_any_real_caps()
497 ci->i_caps = RB_ROOT; in ceph_alloc_inode()2535 p = rb_first(&ci->i_caps); in ceph_inode_shutdown()
1239 if (!cap && !RB_EMPTY_ROOT(&ci->i_caps)) in __choose_mds()1240 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()