Home
last modified time | relevance | path

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

/linux/fs/ceph/
H A Dcaps.c138 struct ceph_cap *cap; in ceph_caps_finalize()
143 struct ceph_cap, caps_item); in ceph_caps_finalize()
171 struct ceph_cap *cap; in __ceph_unreserve_caps()
182 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
208 struct ceph_cap *cap; in ceph_reserve_caps()
331 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
335 struct ceph_cap *cap = NULL; in ceph_get_cap()
353 struct ceph_cap, caps_item); in ceph_get_cap()
378 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
387 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
[all …]
H A Dsuper.h176 struct ceph_cap { struct
386 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
767 struct ceph_cap *cap);
798 struct ceph_cap *ocap, int mask);
1220 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1226 struct ceph_cap **new_cap);
1227 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1228 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
1232 struct ceph_cap *cap);
1244 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;
601 struct ceph_cap *cap);
H A Dmds_client.c1288 struct ceph_cap *cap; in __choose_mds()
1413 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1778 struct ceph_cap *cap; in dispose_cap_releases()
1780 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1830 struct ceph_cap *cap; in ceph_iterate_session_caps()
1832 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1841 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1897 struct ceph_cap *cap; in remove_session_caps_cb()
1936 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
1947 struct ceph_cap, session_caps); in remove_session_caps()
[all …]
H A Ddebugfs.c255 struct ceph_cap *cap; in caps_show_cb()
H A Dinode.c954 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
3150 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_inode_shutdown()
H A Dsuper.c937 ceph_cap_cachep = KMEM_CACHE(ceph_cap, 0); in init_caches()