Lines Matching refs:cf
793 extern void ceph_free_cap_flush(struct ceph_cap_flush *cf);
874 static inline void ceph_add_rw_context(struct ceph_file_info *cf, in ceph_add_rw_context() argument
877 spin_lock(&cf->rw_contexts_lock); in ceph_add_rw_context()
878 list_add(&ctx->list, &cf->rw_contexts); in ceph_add_rw_context()
879 spin_unlock(&cf->rw_contexts_lock); in ceph_add_rw_context()
882 static inline void ceph_del_rw_context(struct ceph_file_info *cf, in ceph_del_rw_context() argument
885 spin_lock(&cf->rw_contexts_lock); in ceph_del_rw_context()
887 spin_unlock(&cf->rw_contexts_lock); in ceph_del_rw_context()
891 ceph_find_rw_context(struct ceph_file_info *cf) in ceph_find_rw_context() argument
894 spin_lock(&cf->rw_contexts_lock); in ceph_find_rw_context()
895 list_for_each_entry(ctx, &cf->rw_contexts, list) { in ceph_find_rw_context()
901 spin_unlock(&cf->rw_contexts_lock); in ceph_find_rw_context()