• Home
  • Raw
  • Download

Lines Matching refs:oi

97 void ocfs2_get_inode_flags(struct ocfs2_inode_info *oi)  in ocfs2_get_inode_flags()  argument
99 unsigned int flags = oi->vfs_inode.i_flags; in ocfs2_get_inode_flags()
101 oi->ip_attr &= ~(OCFS2_SYNC_FL|OCFS2_APPEND_FL| in ocfs2_get_inode_flags()
104 oi->ip_attr |= OCFS2_SYNC_FL; in ocfs2_get_inode_flags()
106 oi->ip_attr |= OCFS2_APPEND_FL; in ocfs2_get_inode_flags()
108 oi->ip_attr |= OCFS2_IMMUTABLE_FL; in ocfs2_get_inode_flags()
110 oi->ip_attr |= OCFS2_NOATIME_FL; in ocfs2_get_inode_flags()
112 oi->ip_attr |= OCFS2_DIRSYNC_FL; in ocfs2_get_inode_flags()
180 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_find_actor() local
189 if (oi->ip_blkno != args->fi_blkno) in ocfs2_find_actor()
771 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_inode_is_valid_to_delete() local
792 spin_lock(&oi->ip_lock); in ocfs2_inode_is_valid_to_delete()
796 if (oi->ip_flags & OCFS2_INODE_SYSTEM_FILE) { in ocfs2_inode_is_valid_to_delete()
798 (unsigned long long)oi->ip_blkno); in ocfs2_inode_is_valid_to_delete()
805 if (oi->ip_flags & OCFS2_INODE_SKIP_DELETE) { in ocfs2_inode_is_valid_to_delete()
813 spin_unlock(&oi->ip_lock); in ocfs2_inode_is_valid_to_delete()
827 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_query_inode_wipe() local
837 (unsigned long long)oi->ip_blkno); in ocfs2_query_inode_wipe()
845 (unsigned long long)oi->ip_blkno, inode->i_nlink); in ocfs2_query_inode_wipe()
857 (unsigned long long)oi->ip_blkno, in ocfs2_query_inode_wipe()
859 le32_to_cpu(di->i_flags), oi->ip_flags); in ocfs2_query_inode_wipe()
886 "other nodes\n", (unsigned long long)oi->ip_blkno); in ocfs2_query_inode_wipe()
896 (unsigned long long)oi->ip_blkno, in ocfs2_query_inode_wipe()
1020 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_clear_inode() local
1039 ocfs2_mark_lockres_freeing(&oi->ip_rw_lockres); in ocfs2_clear_inode()
1040 ocfs2_mark_lockres_freeing(&oi->ip_inode_lockres); in ocfs2_clear_inode()
1041 ocfs2_mark_lockres_freeing(&oi->ip_open_lockres); in ocfs2_clear_inode()
1052 mlog_bug_on_msg(!list_empty(&oi->ip_io_markers), in ocfs2_clear_inode()
1054 (unsigned long long)oi->ip_blkno); in ocfs2_clear_inode()
1062 ocfs2_lock_res_free(&oi->ip_rw_lockres); in ocfs2_clear_inode()
1063 ocfs2_lock_res_free(&oi->ip_inode_lockres); in ocfs2_clear_inode()
1064 ocfs2_lock_res_free(&oi->ip_open_lockres); in ocfs2_clear_inode()
1068 mlog_bug_on_msg(oi->ip_metadata_cache.ci_num_cached, in ocfs2_clear_inode()
1070 (unsigned long long)oi->ip_blkno, oi->ip_metadata_cache.ci_num_cached); in ocfs2_clear_inode()
1072 mlog_bug_on_msg(!(oi->ip_flags & OCFS2_INODE_CACHE_INLINE), in ocfs2_clear_inode()
1074 (unsigned long long)oi->ip_blkno); in ocfs2_clear_inode()
1076 mlog_bug_on_msg(spin_is_locked(&oi->ip_lock), in ocfs2_clear_inode()
1078 (unsigned long long)oi->ip_blkno); in ocfs2_clear_inode()
1080 mlog_bug_on_msg(!mutex_trylock(&oi->ip_io_mutex), in ocfs2_clear_inode()
1082 (unsigned long long)oi->ip_blkno); in ocfs2_clear_inode()
1083 mutex_unlock(&oi->ip_io_mutex); in ocfs2_clear_inode()
1089 mlog_bug_on_msg(!down_write_trylock(&oi->ip_alloc_sem), in ocfs2_clear_inode()
1091 (unsigned long long)oi->ip_blkno); in ocfs2_clear_inode()
1092 up_write(&oi->ip_alloc_sem); in ocfs2_clear_inode()
1094 mlog_bug_on_msg(oi->ip_open_count, in ocfs2_clear_inode()
1096 (unsigned long long)oi->ip_blkno, oi->ip_open_count); in ocfs2_clear_inode()
1099 oi->ip_flags = OCFS2_INODE_CACHE_INLINE; in ocfs2_clear_inode()
1100 oi->ip_created_trans = 0; in ocfs2_clear_inode()
1101 oi->ip_last_trans = 0; in ocfs2_clear_inode()
1102 oi->ip_dir_start_lookup = 0; in ocfs2_clear_inode()
1103 oi->ip_blkno = 0ULL; in ocfs2_clear_inode()
1111 &oi->ip_jinode); in ocfs2_clear_inode()
1122 struct ocfs2_inode_info *oi = OCFS2_I(inode); in ocfs2_drop_inode() local
1127 (unsigned long long)oi->ip_blkno, inode->i_nlink, oi->ip_flags); in ocfs2_drop_inode()
1129 if (oi->ip_flags & OCFS2_INODE_MAYBE_ORPHANED) in ocfs2_drop_inode()