Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.h68 struct ceph_cap;
197 struct ceph_cap *s_cap_iterator;
528 struct ceph_cap *cap);
535 struct ceph_cap *, void *),
Dsuper.h151 struct ceph_cap { struct
354 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
702 struct ceph_cap *cap);
733 struct ceph_cap *ocap, int mask);
1102 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1108 struct ceph_cap **new_cap);
1109 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1112 struct ceph_cap *cap);
1124 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
Dmds_client.c1007 struct ceph_cap *cap; in __choose_mds()
1130 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1471 struct ceph_cap *cap; in dispose_cap_releases()
1473 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1517 int (*cb)(struct inode *, struct ceph_cap *, in ceph_iterate_session_caps() argument
1521 struct ceph_cap *cap; in ceph_iterate_session_caps()
1523 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1530 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1606 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb()
1727 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
[all …]
Ddebugfs.c212 static int caps_show_cb(struct inode *inode, struct ceph_cap *cap, void *p) in caps_show_cb()
Dsuper.c761 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()
Dinode.c756 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()