Home
last modified time | relevance | path

Searched refs:ceph_cap (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/fs/ceph/
Dcaps.c126 struct ceph_cap *cap; in ceph_caps_finalize()
131 struct ceph_cap, caps_item); in ceph_caps_finalize()
155 struct ceph_cap *cap; in ceph_reserve_caps()
224 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
227 struct ceph_cap *cap = NULL; in ceph_get_cap()
253 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
262 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
310 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds()
312 struct ceph_cap *cap; in __get_cap_for_mds()
316 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds()
[all …]
Dsuper.h119 struct ceph_cap { struct
283 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
530 struct ceph_cap *cap);
558 struct ceph_cap *ocap, int mask);
829 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
835 struct ceph_cap **new_cap);
836 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
838 struct ceph_cap *cap);
849 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
Dmds_client.h31 struct ceph_cap;
143 struct ceph_cap *s_cap_iterator;
Dmds_client.c692 struct ceph_cap *cap; in __choose_mds()
793 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1058 int (*cb)(struct inode *, struct ceph_cap *, in iterate_session_caps() argument
1062 struct ceph_cap *cap; in iterate_session_caps()
1064 struct ceph_cap *old_cap = NULL; in iterate_session_caps()
1071 cap = list_entry(p, struct ceph_cap, session_caps); in iterate_session_caps()
1118 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb()
1170 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
1181 struct ceph_cap, session_caps); in remove_session_caps()
1207 static int wake_up_session_cb(struct inode *inode, struct ceph_cap *cap, in wake_up_session_cb()
[all …]
Dsuper.c633 ceph_cap_cachep = KMEM_CACHE(ceph_cap, in init_caches()
Dinode.c675 struct ceph_cap *new_cap = NULL; in fill_inode()