Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ceph/
Dcaps.c134 struct ceph_cap *cap; in ceph_caps_finalize()
139 struct ceph_cap, caps_item); in ceph_caps_finalize()
161 struct ceph_cap *cap; in __ceph_unreserve_caps()
172 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
197 struct ceph_cap *cap; in ceph_reserve_caps()
307 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
310 struct ceph_cap *cap = NULL; in ceph_get_cap()
328 struct ceph_cap, caps_item); in ceph_get_cap()
352 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
361 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
[all …]
Dsuper.h136 struct ceph_cap { struct
327 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
608 struct ceph_cap *cap);
639 struct ceph_cap *ocap, int mask);
973 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
979 struct ceph_cap **new_cap);
980 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
982 struct ceph_cap *cap);
993 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
Dmds_client.h46 struct ceph_cap;
173 struct ceph_cap *s_cap_iterator;
Dmds_client.c744 struct ceph_cap *cap; in __choose_mds()
862 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1119 struct ceph_cap *cap; in dispose_cap_releases()
1121 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1161 int (*cb)(struct inode *, struct ceph_cap *, in iterate_session_caps() argument
1165 struct ceph_cap *cap; in iterate_session_caps()
1167 struct ceph_cap *old_cap = NULL; in iterate_session_caps()
1174 cap = list_entry(p, struct ceph_cap, session_caps); in iterate_session_caps()
1227 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb()
1337 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
[all …]
Dsuper.c779 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()
Dinode.c753 struct ceph_cap *new_cap = NULL; in fill_inode()