Lines Matching refs:ceph_cap

33  * mtime), note its dirty state in the ceph_cap, and asynchronously
135 struct ceph_cap *cap;
140 struct ceph_cap, caps_item);
168 struct ceph_cap *cap;
179 struct ceph_cap, caps_item);
204 struct ceph_cap *cap;
326 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
329 struct ceph_cap *cap = NULL;
347 struct ceph_cap, caps_item);
372 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item);
381 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap)
429 * Find ceph_cap for given mds, if any.
433 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds)
435 struct ceph_cap *cap;
439 cap = rb_entry(n, struct ceph_cap, ci_node);
450 struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci, int mds)
452 struct ceph_cap *cap;
464 struct ceph_cap *new)
468 struct ceph_cap *cap = NULL;
472 cap = rb_entry(parent, struct ceph_cap, ci_node);
560 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap,
634 struct ceph_cap **new_cap)
638 struct ceph_cap *cap;
783 static int __cap_is_valid(struct ceph_cap *cap)
811 struct ceph_cap *cap;
817 cap = rb_entry(p, struct ceph_cap, ci_node);
841 int __ceph_caps_issued_other(struct ceph_inode_info *ci, struct ceph_cap *ocap)
844 struct ceph_cap *cap;
848 cap = rb_entry(p, struct ceph_cap, ci_node);
862 static void __touch_cap(struct ceph_cap *cap)
885 struct ceph_cap *cap;
898 cap = rb_entry(p, struct ceph_cap, ci_node);
925 cap = rb_entry(q, struct ceph_cap,
958 struct ceph_cap *ocap, int mask)
960 struct ceph_cap *cap;
964 cap = rb_entry(p, struct ceph_cap, ci_node);
1091 struct ceph_cap *cap;
1096 cap = rb_entry(p, struct ceph_cap, ci_node);
1139 void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release)
1338 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node);
1353 static void __prep_cap(struct cap_msg_args *arg, struct ceph_cap *cap,
1592 struct ceph_cap *cap = ci->i_auth_cap;
1930 struct ceph_cap *cap;
2035 cap = rb_entry(p, struct ceph_cap, ci_node);
2224 struct ceph_cap *cap = ci->i_auth_cap;
2501 struct ceph_cap *cap;
2575 struct ceph_cap *cap;
2623 struct ceph_cap *cap;
2655 struct ceph_cap *cap = ci->i_auth_cap;
3353 struct ceph_cap *cap,
3650 struct ceph_cap *cap)
3890 struct ceph_cap *cap, *tcap, *new_cap = NULL;
4017 struct ceph_cap **target_cap, int *old_issued)
4020 struct ceph_cap *cap, *ocap, *new_cap = NULL;
4099 struct ceph_cap *cap;
4526 struct ceph_cap *cap;