Lines Matching refs:ceph_cap

139 	struct ceph_cap *cap;  in ceph_caps_finalize()
144 struct ceph_cap, caps_item); in ceph_caps_finalize()
172 struct ceph_cap *cap; in __ceph_unreserve_caps()
183 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
209 struct ceph_cap *cap; in ceph_reserve_caps()
332 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
336 struct ceph_cap *cap = NULL; in ceph_get_cap()
354 struct ceph_cap, caps_item); in ceph_get_cap()
379 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
388 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
442 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds()
444 struct ceph_cap *cap; in __get_cap_for_mds()
448 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds()
459 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds()
461 struct ceph_cap *cap; in ceph_get_cap_for_mds()
473 struct ceph_cap *new) in __insert_cap_node()
477 struct ceph_cap *cap = NULL; in __insert_cap_node()
481 cap = rb_entry(parent, struct ceph_cap, ci_node); in __insert_cap_node()
578 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue()
655 struct ceph_cap **new_cap) in ceph_add_cap()
660 struct ceph_cap *cap; in ceph_add_cap()
788 static int __cap_is_valid(struct ceph_cap *cap) in __cap_is_valid()
818 struct ceph_cap *cap; in __ceph_caps_issued()
824 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued()
848 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) in __ceph_caps_issued_other()
851 struct ceph_cap *cap; in __ceph_caps_issued_other()
855 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_other()
869 static void __touch_cap(struct ceph_cap *cap) in __touch_cap()
896 struct ceph_cap *cap; in __ceph_caps_issued_mask()
908 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_mask()
935 cap = rb_entry(q, struct ceph_cap, in __ceph_caps_issued_mask()
968 struct ceph_cap *ocap, int mask) in __ceph_caps_revoking_other()
970 struct ceph_cap *cap; in __ceph_caps_revoking_other()
974 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_revoking_other()
1088 struct ceph_cap *cap; in __ceph_caps_mds_wanted()
1093 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_mds_wanted()
1122 void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release) in __ceph_remove_cap()
1198 void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, in ceph_remove_cap()
1376 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_remove_caps()
1391 static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, in __prep_cap()
1672 struct ceph_cap *cap = ci->i_auth_cap; in __ceph_flush_snaps()
2015 struct ceph_cap *cap; in ceph_check_caps()
2128 cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_check_caps()
2292 struct ceph_cap *cap = ci->i_auth_cap; in try_flush_caps()
2570 struct ceph_cap *cap; in __kick_flushing_caps()
2649 struct ceph_cap *cap; in ceph_early_kick_flushing_caps()
2701 struct ceph_cap *cap; in ceph_kick_flushing_caps()
2736 struct ceph_cap *cap = ci->i_auth_cap; in ceph_kick_flushing_inode_caps()
3487 struct ceph_cap *cap, in handle_cap_grant()
3814 struct ceph_cap *cap) in handle_cap_flush_ack()
4072 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export()
4203 struct ceph_cap **target_cap, int *old_issued) in handle_cap_import()
4207 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import()
4335 struct ceph_cap *cap; in ceph_handle_caps()
4849 struct ceph_cap *cap; in ceph_encode_inode_release()
5009 int ceph_purge_inode_cap(struct inode *inode, struct ceph_cap *cap, bool *invalidate) in ceph_purge_inode_cap()