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.h204 struct ceph_cap { struct
424 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
813 struct ceph_cap *cap);
844 struct ceph_cap *ocap, int mask);
1265 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1271 struct ceph_cap **new_cap);
1272 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1273 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
1277 struct ceph_cap *cap);
1289 extern struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci,
[all …]
H A Dmds_client.h77 struct ceph_cap;
283 struct ceph_cap *s_cap_iterator;
669 struct ceph_cap *cap);
H A Dmds_client.c1337 struct ceph_cap *cap; in __choose_mds()
1462 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1819 struct ceph_cap *cap; in dispose_cap_releases()
1821 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1871 struct ceph_cap *cap; in ceph_iterate_session_caps()
1873 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1882 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1938 struct ceph_cap *cap; in remove_session_caps_cb()
1977 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
1988 struct ceph_cap, session_caps); in remove_session_caps()
[all …]
H A Ddebugfs.c286 struct ceph_cap *cap; in caps_show_cb()
H A Dinode.c1028 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
3247 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()