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.h203 struct ceph_cap { struct
422 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
805 struct ceph_cap *cap);
836 struct ceph_cap *ocap, int mask);
1257 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1263 struct ceph_cap **new_cap);
1264 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1265 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap,
1269 struct ceph_cap *cap);
1281 extern struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci,
[all …]
H A Dmds_client.h77 struct ceph_cap;
238 struct ceph_cap *s_cap_iterator;
618 struct ceph_cap *cap);
H A Dmds_client.c1334 struct ceph_cap *cap; in __choose_mds()
1459 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1816 struct ceph_cap *cap; in dispose_cap_releases()
1818 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1868 struct ceph_cap *cap; in ceph_iterate_session_caps()
1870 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1879 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1935 struct ceph_cap *cap; in remove_session_caps_cb()
1974 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
1985 struct ceph_cap, session_caps); in remove_session_caps()
[all …]
H A Ddebugfs.c285 struct ceph_cap *cap; in caps_show_cb()
H A Dinode.c1027 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
3246 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()