/kernel/linux/linux-6.6/fs/ceph/ |
H A D | caps.c | 35 * mtime), note its dirty state in the ceph_cap, and asynchronously 137 struct ceph_cap *cap; in ceph_caps_finalize() 142 struct ceph_cap, caps_item); in ceph_caps_finalize() 170 struct ceph_cap *cap; in __ceph_unreserve_caps() 181 struct ceph_cap, caps_item); in __ceph_unreserve_caps() 206 struct ceph_cap *cap; in ceph_reserve_caps() 328 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap() 331 struct ceph_cap *cap = NULL; in ceph_get_cap() 349 struct ceph_cap, caps_item); in ceph_get_cap() 374 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_ite in ceph_get_cap() [all...] |
H A D | super.h | 175 struct ceph_cap { struct 384 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ 759 struct ceph_cap *cap); 790 struct ceph_cap *ocap, int mask); 1218 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, 1224 struct ceph_cap **new_cap); 1225 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release); 1226 extern void ceph_remove_cap(struct ceph_cap *cap, bool queue_release); 1229 struct ceph_cap *cap); 1241 extern struct ceph_cap *__get_cap_for_md [all...] |
H A D | mds_client.h | 69 struct ceph_cap; 211 struct ceph_cap *s_cap_iterator; 568 struct ceph_cap *cap);
|
H A D | mds_client.c | 1276 struct ceph_cap *cap; in __choose_mds() 1399 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds() 1745 struct ceph_cap *cap; in dispose_cap_releases() 1747 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases() 1795 struct ceph_cap *cap; in ceph_iterate_session_caps() 1797 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps() 1806 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps() 1862 struct ceph_cap *cap; in remove_session_caps_cb() 1901 struct ceph_cap *cap, *prev = NULL; in remove_session_caps() 1912 struct ceph_cap, session_cap in remove_session_caps() [all...] |
H A D | debugfs.c | 255 struct ceph_cap *cap; in caps_show_cb()
|
H A D | inode.c | 928 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() 3060 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_inode_shutdown()
|
H A D | super.c | 933 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()
|
/kernel/linux/linux-5.10/fs/ceph/ |
H A D | caps.c | 33 * mtime), note its dirty state in the ceph_cap, and asynchronously 135 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_ite in ceph_get_cap() [all...] |
H A D | super.h | 151 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); 1101 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, 1107 struct ceph_cap **new_cap); 1108 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release); 1111 struct ceph_cap *cap); 1123 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
|
H A D | mds_client.h | 62 struct ceph_cap; 191 struct ceph_cap *s_cap_iterator; 532 struct ceph_cap *cap); 539 struct ceph_cap *, void *),
|
H A D | mds_client.c | 1034 struct ceph_cap *cap; in __choose_mds() 1157 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds() 1502 struct ceph_cap *cap; in dispose_cap_releases() 1504 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases() 1548 int (*cb)(struct inode *, struct ceph_cap *, in ceph_iterate_session_caps() 1552 struct ceph_cap *cap; in ceph_iterate_session_caps() 1554 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps() 1561 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps() 1637 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb() 1758 struct ceph_cap *ca in remove_session_caps() [all...] |
H A D | debugfs.c | 212 static int caps_show_cb(struct inode *inode, struct ceph_cap *cap, void *p) in caps_show_cb()
|
H A D | super.c | 761 ceph_cap_cachep = KMEM_CACHE(ceph_cap, SLAB_MEM_SPREAD); in init_caches()
|
H A D | inode.c | 754 struct ceph_cap *new_cap = NULL; in ceph_fill_inode()
|