• Home
  • Raw
  • Download

Lines Matching refs:ceph_cap

135 	struct ceph_cap *cap;  in ceph_caps_finalize()
140 struct ceph_cap, caps_item); in ceph_caps_finalize()
168 struct ceph_cap *cap; in __ceph_unreserve_caps()
179 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
204 struct ceph_cap *cap; in ceph_reserve_caps()
326 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
329 struct ceph_cap *cap = NULL; in ceph_get_cap()
347 struct ceph_cap, caps_item); in ceph_get_cap()
372 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
381 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
433 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds()
435 struct ceph_cap *cap; in __get_cap_for_mds()
439 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds()
450 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds) in ceph_get_cap_for_mds()
452 struct ceph_cap *cap; in ceph_get_cap_for_mds()
464 struct ceph_cap *new) in __insert_cap_node()
468 struct ceph_cap *cap = NULL; in __insert_cap_node()
472 cap = rb_entry(parent, struct ceph_cap, ci_node); in __insert_cap_node()
560 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue()
634 struct ceph_cap **new_cap) in ceph_add_cap()
638 struct ceph_cap *cap; in ceph_add_cap()
783 static int __cap_is_valid(struct ceph_cap *cap) in __cap_is_valid()
811 struct ceph_cap *cap; in __ceph_caps_issued()
817 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued()
841 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap) in __ceph_caps_issued_other()
844 struct ceph_cap *cap; in __ceph_caps_issued_other()
848 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_other()
862 static void __touch_cap(struct ceph_cap *cap) in __touch_cap()
885 struct ceph_cap *cap; in __ceph_caps_issued_mask()
898 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_issued_mask()
925 cap = rb_entry(q, struct ceph_cap, in __ceph_caps_issued_mask()
958 struct ceph_cap *ocap, int mask) in __ceph_caps_revoking_other()
960 struct ceph_cap *cap; in __ceph_caps_revoking_other()
964 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_revoking_other()
1091 struct ceph_cap *cap; in __ceph_caps_mds_wanted()
1096 cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_caps_mds_wanted()
1139 void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release) in __ceph_remove_cap()
1338 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in __ceph_remove_caps()
1353 static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap, in __prep_cap()
1591 struct ceph_cap *cap = ci->i_auth_cap; in __ceph_flush_snaps()
1923 struct ceph_cap *cap; in ceph_check_caps()
2028 cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_check_caps()
2217 struct ceph_cap *cap = ci->i_auth_cap; in try_flush_caps()
2419 struct ceph_cap *cap; in __kick_flushing_caps()
2493 struct ceph_cap *cap; in ceph_early_kick_flushing_caps()
2541 struct ceph_cap *cap; in ceph_kick_flushing_caps()
2573 struct ceph_cap *cap = ci->i_auth_cap; in ceph_kick_flushing_inode_caps()
3271 struct ceph_cap *cap, in handle_cap_grant()
3560 struct ceph_cap *cap) in handle_cap_flush_ack()
3800 struct ceph_cap *cap, *tcap, *new_cap = NULL; in handle_cap_export()
3927 struct ceph_cap **target_cap, int *old_issued) in handle_cap_import()
3930 struct ceph_cap *cap, *ocap, *new_cap = NULL; in handle_cap_import()
4009 struct ceph_cap *cap; in ceph_handle_caps()
4460 struct ceph_cap *cap; in ceph_encode_inode_release()