Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
Dsuper.h159 struct ceph_cap { struct
368 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */
716 struct ceph_cap *cap);
747 struct ceph_cap *ocap, int mask);
1159 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc,
1165 struct ceph_cap **new_cap);
1166 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1167 extern void ceph_remove_cap(struct ceph_cap *cap, bool queue_release);
1170 struct ceph_cap *cap);
1182 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
[all …]
Dmds_client.h66 struct ceph_cap;
200 struct ceph_cap *s_cap_iterator;
538 struct ceph_cap *cap);
545 struct ceph_cap *, void *),
Dmds_client.c1117 struct ceph_cap *cap; in __choose_mds()
1240 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds()
1583 struct ceph_cap *cap; in dispose_cap_releases()
1585 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases()
1629 int (*cb)(struct inode *, struct ceph_cap *, in ceph_iterate_session_caps() argument
1633 struct ceph_cap *cap; in ceph_iterate_session_caps()
1635 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps()
1642 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps()
1693 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb()
1731 struct ceph_cap *cap, *prev = NULL; in remove_session_caps()
[all …]
Ddebugfs.c251 static int caps_show_cb(struct inode *inode, struct ceph_cap *cap, void *p) in caps_show_cb()
Dinode.c772 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
2537 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_inode_shutdown()
Dsuper.c899 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()