Searched refs:ceph_cap (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/fs/ceph/ |
D | caps.c | 126 struct ceph_cap *cap; in ceph_caps_finalize() 131 struct ceph_cap, caps_item); in ceph_caps_finalize() 155 struct ceph_cap *cap; in ceph_reserve_caps() 224 struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, in ceph_get_cap() 227 struct ceph_cap *cap = NULL; in ceph_get_cap() 253 cap = list_first_entry(&mdsc->caps_list, struct ceph_cap, caps_item); in ceph_get_cap() 262 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 310 static struct ceph_cap *__get_cap_for_mds(struct ceph_inode_info *ci, int mds) in __get_cap_for_mds() 312 struct ceph_cap *cap; in __get_cap_for_mds() 316 cap = rb_entry(n, struct ceph_cap, ci_node); in __get_cap_for_mds() [all …]
|
D | super.h | 120 struct ceph_cap { struct 305 struct ceph_cap *i_auth_cap; /* authoritative cap, if any */ 556 struct ceph_cap *cap); 587 struct ceph_cap *ocap, int mask); 863 extern struct ceph_cap *ceph_get_cap(struct ceph_mds_client *mdsc, 869 struct ceph_cap **new_cap); 870 extern void __ceph_remove_cap(struct ceph_cap *cap, bool queue_release); 872 struct ceph_cap *cap); 883 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
|
D | mds_client.h | 31 struct ceph_cap; 142 struct ceph_cap *s_cap_iterator;
|
D | mds_client.c | 712 struct ceph_cap *cap; in __choose_mds() 813 cap = rb_entry(rb_first(&ci->i_caps), struct ceph_cap, ci_node); in __choose_mds() 1033 struct ceph_cap *cap; in cleanup_cap_releases() 1036 struct ceph_cap, session_caps); in cleanup_cap_releases() 1077 int (*cb)(struct inode *, struct ceph_cap *, in iterate_session_caps() argument 1081 struct ceph_cap *cap; in iterate_session_caps() 1083 struct ceph_cap *old_cap = NULL; in iterate_session_caps() 1090 cap = list_entry(p, struct ceph_cap, session_caps); in iterate_session_caps() 1143 static int remove_session_caps_cb(struct inode *inode, struct ceph_cap *cap, in remove_session_caps_cb() 1224 struct ceph_cap *cap, *prev = NULL; in remove_session_caps() [all …]
|
D | super.c | 647 ceph_cap_cachep = KMEM_CACHE(ceph_cap, in init_caches()
|
D | inode.c | 675 struct ceph_cap *new_cap = NULL; in fill_inode()
|