Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ceph/
Dcaps.c135 struct ceph_cap *cap; in ceph_caps_finalize()
140 struct ceph_cap, caps_item); in ceph_caps_finalize()
168 struct ceph_cap *cap; in __ceph_unreserve_caps()
179 struct ceph_cap, caps_item); in __ceph_unreserve_caps()
204 struct ceph_cap *cap; in ceph_reserve_caps()
326 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap()
329 struct ceph_cap *cap = NULL; in ceph_get_cap()
347 struct ceph_cap, caps_item); in ceph_get_cap()
372 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap()
381 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap()
[all …]
Dmds_client.h51 struct ceph_cap;
178 struct ceph_cap *s_cap_iterator;
488 struct ceph_cap *cap);
495 struct ceph_cap *, void *),
Dsuper.h146 struct ceph_cap { struct
345 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
637 struct ceph_cap *cap);
668 struct ceph_cap *ocap, int mask);
1036 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1042 struct ceph_cap **new_cap);
1043 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1046 struct ceph_cap *cap);
1056 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
Dmds_client.c883 struct ceph_cap *cap; in __choose_mds()
1001 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1260 struct ceph_cap *cap; in dispose_cap_releases()
1262 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1313 int (*cb)(struct inode *, struct ceph_cap *, in ceph_iterate_session_caps() argument
1317 struct ceph_cap *cap; in ceph_iterate_session_caps()
1319 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1326 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1378 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb()
1494 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
[all …]
Ddebugfs.c127 static int caps_show_cb(struct inode *inode, struct ceph_cap *cap, void *p) in caps_show_cb()
Dsuper.c785 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()
Dinode.c743 struct ceph_cap *new_cap = NULL; in fill_inode()