Lines Matching refs:ceph_inode_info
137 struct ceph_inode_info *ci;
292 struct ceph_inode_info { struct
387 static inline struct ceph_inode_info *ceph_inode(struct inode *inode) in ceph_inode() argument
389 return container_of(inode, struct ceph_inode_info, vfs_inode); in ceph_inode()
469 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_ino_compare()
507 static inline void ceph_set_error_write(struct ceph_inode_info *ci) in ceph_set_error_write()
516 static inline void ceph_clear_error_write(struct ceph_inode_info *ci) in ceph_clear_error_write()
525 static inline void __ceph_dir_set_complete(struct ceph_inode_info *ci, in __ceph_dir_set_complete()
539 static inline void __ceph_dir_clear_complete(struct ceph_inode_info *ci) in __ceph_dir_clear_complete()
544 static inline void __ceph_dir_clear_ordered(struct ceph_inode_info *ci) in __ceph_dir_clear_ordered()
549 static inline bool __ceph_dir_is_complete(struct ceph_inode_info *ci) in __ceph_dir_is_complete()
555 static inline bool __ceph_dir_is_complete_ordered(struct ceph_inode_info *ci) in __ceph_dir_is_complete_ordered()
581 extern struct ceph_inode_frag *__ceph_find_frag(struct ceph_inode_info *ci,
588 extern u32 ceph_choose_frag(struct ceph_inode_info *ci, u32 v,
600 static inline bool __ceph_is_any_real_caps(struct ceph_inode_info *ci) in __ceph_is_any_real_caps()
605 extern int __ceph_caps_issued(struct ceph_inode_info *ci, int *implemented);
606 extern int __ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, int t);
607 extern int __ceph_caps_issued_other(struct ceph_inode_info *ci,
610 static inline int ceph_caps_issued(struct ceph_inode_info *ci) in ceph_caps_issued()
619 static inline int ceph_caps_issued_mask(struct ceph_inode_info *ci, int mask, in ceph_caps_issued_mask()
629 static inline int __ceph_caps_dirty(struct ceph_inode_info *ci) in __ceph_caps_dirty()
635 extern int __ceph_mark_dirty_caps(struct ceph_inode_info *ci, int mask,
638 extern int __ceph_caps_revoking_other(struct ceph_inode_info *ci,
640 extern int ceph_caps_revoking(struct ceph_inode_info *ci, int mask);
641 extern int __ceph_caps_used(struct ceph_inode_info *ci);
643 extern int __ceph_caps_file_wanted(struct ceph_inode_info *ci);
648 static inline int __ceph_caps_wanted(struct ceph_inode_info *ci) in __ceph_caps_wanted()
657 extern int __ceph_caps_mds_wanted(struct ceph_inode_info *ci, bool check);
837 extern void ceph_queue_cap_snap(struct ceph_inode_info *ci);
838 extern int __ceph_finish_cap_snap(struct ceph_inode_info *ci,
846 static inline bool __ceph_have_pending_cap_snap(struct ceph_inode_info *ci) in __ceph_have_pending_cap_snap()
900 extern struct ceph_buffer *__ceph_build_xattrs_blob(struct ceph_inode_info *ci);
901 extern void __ceph_destroy_xattrs(struct ceph_inode_info *ci);
993 extern struct ceph_cap *ceph_get_cap_for_mds(struct ceph_inode_info *ci,
996 extern void ceph_get_cap_refs(struct ceph_inode_info *ci, int caps);
997 extern void ceph_put_cap_refs(struct ceph_inode_info *ci, int had);
998 extern void ceph_put_wrbuffer_cap_refs(struct ceph_inode_info *ci, int nr,
1000 extern void ceph_flush_snaps(struct ceph_inode_info *ci,
1002 extern bool __ceph_should_report_size(struct ceph_inode_info *ci);
1003 extern void ceph_check_caps(struct ceph_inode_info *ci, int flags,
1014 extern int ceph_get_caps(struct ceph_inode_info *ci, int need, int want,
1016 extern int ceph_try_get_caps(struct ceph_inode_info *ci,
1020 extern void __ceph_get_fmode(struct ceph_inode_info *ci, int mode);
1021 extern void ceph_put_fmode(struct ceph_inode_info *ci, int mode);
1027 extern int ceph_pool_perm_check(struct ceph_inode_info *ci, int need);
1086 static inline bool __ceph_has_any_quota(struct ceph_inode_info *ci) in __ceph_has_any_quota()
1093 static inline void __ceph_update_quota(struct ceph_inode_info *ci, in __ceph_update_quota()