Searched refs:ceph_cap (Results 1 – 6 of 6) sorted by relevance
/fs/ceph/ |
D | caps.c | 132 struct ceph_cap *cap; in ceph_caps_finalize() 137 struct ceph_cap, caps_item); in ceph_caps_finalize() 161 struct ceph_cap *cap; in ceph_reserve_caps() 230 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap() 233 struct ceph_cap *cap = NULL; in ceph_get_cap() 259 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap() 268 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 316 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() 318 struct ceph_cap *cap; in __get_cap_for_mds() 322 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds() [all …]
|
D | super.h | 134 struct ceph_cap { struct 321 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ 599 struct ceph_cap *cap); 630 struct ceph_cap *ocap, int mask); 911 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, 917 struct ceph_cap **new_cap); 918 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release); 920 struct ceph_cap *cap); 931 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
|
D | mds_client.h | 34 struct ceph_cap; 159 struct ceph_cap *s_cap_iterator;
|
D | mds_client.c | 711 struct ceph_cap *cap; in __choose_mds() 829 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds() 1054 struct ceph_cap *cap; in cleanup_cap_releases() 1057 struct ceph_cap, session_caps); in cleanup_cap_releases() 1097 int (*cb)(struct inode *, struct ceph_cap *, in iterate_session_caps() argument 1101 struct ceph_cap *cap; in iterate_session_caps() 1103 struct ceph_cap *old_cap = NULL; in iterate_session_caps() 1110 cap = list_entry(p, struct ceph_cap, session_caps); in iterate_session_caps() 1163 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb() 1264 struct ceph_cap *cap, *prev = NULL; in remove_session_caps() [all …]
|
D | super.c | 709 ceph_cap_cachep = KMEM_CACHE(ceph_cap, in init_caches()
|
D | inode.c | 735 struct ceph_cap *new_cap = NULL; in fill_inode()
|