Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dcaps.c139 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()
[all …]
H A Dsuper.h202 struct ceph_cap { struct
412 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
795 struct ceph_cap *cap);
826 struct ceph_cap *ocap, int mask);
1246 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1252 struct ceph_cap **new_cap);
1253 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1254 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
1258 struct ceph_cap *cap);
1270 extern struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci,
[all …]
H A Dmds_client.h74 struct ceph_cap;
234 struct ceph_cap *s_cap_iterator;
606 struct ceph_cap *cap);
H A Dmds_client.c1290 struct ceph_cap *cap; in __choose_mds()
1415 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1772 struct ceph_cap *cap; in dispose_cap_releases()
1774 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1824 struct ceph_cap *cap; in ceph_iterate_session_caps()
1826 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1835 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1891 struct ceph_cap *cap; in remove_session_caps_cb()
1930 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
1941 struct ceph_cap, session_caps); in remove_session_caps()
[all …]
H A Ddebugfs.c253 struct ceph_cap *cap; in caps_show_cb()
H A Dinode.c990 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
3205 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_inode_shutdown()
H A Dsuper.c936 ceph_cap_cachep = KMEM_CACHE(ceph_cap, 0); in init_caches()