Searched refs:ceph_cap (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/ceph/ |
| H A D | caps.c | 139 struct ceph_cap *cap; in ceph_caps_finalize() 144 struct ceph_cap, caps_item); in ceph_caps_finalize() 172 struct ceph_cap *cap; in __ceph_unreserve_caps() 183 struct ceph_cap, caps_item); in __ceph_unreserve_caps() 209 struct ceph_cap *cap; in ceph_reserve_caps() 332 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap() 336 struct ceph_cap *cap = NULL; in ceph_get_cap() 354 struct ceph_cap, caps_item); in ceph_get_cap() 379 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap() 388 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() [all …]
|
| H A D | super.h | 205 struct ceph_cap { struct 437 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ 840 struct ceph_cap *cap); 871 struct ceph_cap *ocap, int mask); 1292 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, 1298 struct ceph_cap **new_cap); 1308 static inline bool ceph_cap_is_removed(const struct ceph_cap *cap) in ceph_cap_is_removed() 1313 extern void ceph_remove_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap, 1318 struct ceph_cap *cap); 1330 extern struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, [all …]
|
| H A D | mds_client.h | 77 struct ceph_cap; 283 struct ceph_cap *s_cap_iterator; 671 struct ceph_cap *cap);
|
| H A D | mds_client.c | 1387 struct ceph_cap *cap; in __choose_mds() 1512 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds() 1872 struct ceph_cap *cap; in dispose_cap_releases() 1874 cap = list_first_entry(dispose, struct ceph_cap, session_caps); in dispose_cap_releases() 1924 struct ceph_cap *cap; in ceph_iterate_session_caps() 1926 struct ceph_cap *old_cap = NULL; in ceph_iterate_session_caps() 1935 cap = list_entry(p, struct ceph_cap, session_caps); in ceph_iterate_session_caps() 1991 struct ceph_cap *cap; in remove_session_caps_cb() 2030 struct ceph_cap *cap, *prev = NULL; in remove_session_caps() 2041 struct ceph_cap, session_caps); in remove_session_caps() [all …]
|
| H A D | debugfs.c | 286 struct ceph_cap *cap; in caps_show_cb()
|
| H A D | inode.c | 1028 struct ceph_cap *new_cap = NULL; in ceph_fill_inode() 3248 struct ceph_cap *cap = rb_entry(p, struct ceph_cap, ci_node); in ceph_inode_shutdown()
|
| H A D | super.c | 947 ceph_cap_cachep = KMEM_CACHE(ceph_cap, 0); in init_caches()
|