Lines Matching refs:ceph_cap

137 	struct ceph_cap *cap;  in ceph_caps_finalize()
142 struct ceph_cap, caps_item); in ceph_caps_finalize()
170 struct ceph_cap *cap; in __ceph_unreserve_caps()
181 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
206 struct ceph_cap *cap; in ceph_reserve_caps()
328 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
331 struct ceph_cap *cap = NULL; in ceph_get_cap()
349 struct ceph_cap, caps_item); in ceph_get_cap()
374 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
383 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
435 struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds()
437 struct ceph_cap *cap; in __get_cap_for_mds()
441 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds()
452 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds()
454 struct ceph_cap *cap; in ceph_get_cap_for_mds()
466 struct ceph_cap *new) in __insert_cap_node()
470 struct ceph_cap *cap = NULL; in __insert_cap_node()
474 cap = rb_entry(parent, struct ceph_cap, ci_node); in __insert_cap_node()
562 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue()
636 struct ceph_cap **new_cap) in ceph_add_cap()
640 struct ceph_cap *cap; in ceph_add_cap()
767 static int __cap_is_valid(struct ceph_cap *cap) in __cap_is_valid()
793 struct ceph_cap *cap; in __ceph_caps_issued()
799 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued()
823 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) in __ceph_caps_issued_other()
826 struct ceph_cap *cap; in __ceph_caps_issued_other()
830 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_other()
844 static void __touch_cap(struct ceph_cap *cap) in __touch_cap()
867 struct ceph_cap *cap; in __ceph_caps_issued_mask()
880 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_mask()
907 cap = rb_entry(q, struct ceph_cap, in __ceph_caps_issued_mask()
940 struct ceph_cap *ocap, int mask) in __ceph_caps_revoking_other()
942 struct ceph_cap *cap; in __ceph_caps_revoking_other()
946 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_revoking_other()
1073 struct ceph_cap *cap; in __ceph_caps_mds_wanted()
1078 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_mds_wanted()
1107 void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release) in __ceph_remove_cap()
1181 void ceph_remove_cap(struct ceph_cap *cap, bool queue_release) in ceph_remove_cap()
1352 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_remove_caps()
1367 static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, in __prep_cap()
1641 struct ceph_cap *cap = ci->i_auth_cap; in __ceph_flush_snaps()
1972 struct ceph_cap *cap; in ceph_check_caps()
2084 cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_check_caps()
2243 struct ceph_cap *cap = ci->i_auth_cap; in try_flush_caps()
2514 struct ceph_cap *cap; in __kick_flushing_caps()
2592 struct ceph_cap *cap; in ceph_early_kick_flushing_caps()
2640 struct ceph_cap *cap; in ceph_kick_flushing_caps()
2672 struct ceph_cap *cap = ci->i_auth_cap; in ceph_kick_flushing_inode_caps()
3407 struct ceph_cap *cap, in handle_cap_grant()
3726 struct ceph_cap *cap) in handle_cap_flush_ack()
3974 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export()
4104 struct ceph_cap **target_cap, int *old_issued) in handle_cap_import()
4107 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import()
4232 struct ceph_cap *cap; in ceph_handle_caps()
4695 struct ceph_cap *cap; in ceph_encode_inode_release()
4856 int ceph_purge_inode_cap(struct inode *inode, struct ceph_cap *cap, bool *invalidate) in ceph_purge_inode_cap()