Searched refs:inode2 (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/fs/ext4/ |
D | move_extent.c | 150 mext_check_null_inode(struct inode *inode1, struct inode *inode2, in mext_check_null_inode() argument 156 __ext4_error(inode2->i_sb, function, line, in mext_check_null_inode() 158 "inode1 NULL inode2 %lu", inode2->i_ino); in mext_check_null_inode() 160 } else if (inode2 == NULL) { in mext_check_null_inode() 1081 mext_inode_double_lock(struct inode *inode1, struct inode *inode2) in mext_inode_double_lock() argument 1085 BUG_ON(inode1 == NULL && inode2 == NULL); in mext_inode_double_lock() 1087 ret = mext_check_null_inode(inode1, inode2, __func__, __LINE__); in mext_inode_double_lock() 1091 if (inode1 == inode2) { in mext_inode_double_lock() 1096 if (inode1->i_ino < inode2->i_ino) { in mext_inode_double_lock() 1098 mutex_lock_nested(&inode2->i_mutex, I_MUTEX_CHILD); in mext_inode_double_lock() [all …]
|
/linux-2.6.39/fs/ubifs/ |
D | dir.c | 486 static void lock_2_inodes(struct inode *inode1, struct inode *inode2) in lock_2_inodes() argument 489 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_2_inodes() 497 static void unlock_2_inodes(struct inode *inode1, struct inode *inode2) in unlock_2_inodes() argument 499 mutex_unlock(&ubifs_inode(inode2)->ui_mutex); in unlock_2_inodes() 935 static void lock_3_inodes(struct inode *inode1, struct inode *inode2, in lock_3_inodes() argument 939 if (inode2 != inode1) in lock_3_inodes() 940 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2); in lock_3_inodes() 951 static void unlock_3_inodes(struct inode *inode1, struct inode *inode2, in unlock_3_inodes() argument 956 if (inode1 != inode2) in unlock_3_inodes() 957 mutex_unlock(&ubifs_inode(inode2)->ui_mutex); in unlock_3_inodes()
|
D | ubifs.h | 1528 const struct inode *inode2);
|
/linux-2.6.39/fs/ocfs2/ |
D | namei.c | 966 struct inode *inode2) in ocfs2_double_lock() argument 970 struct ocfs2_inode_info *oi2 = OCFS2_I(inode2); in ocfs2_double_lock() 990 tmpinode = inode2; in ocfs2_double_lock() 991 inode2 = inode1; in ocfs2_double_lock() 995 status = ocfs2_inode_lock_nested(inode2, bh2, 1, in ocfs2_double_lock() 1012 ocfs2_inode_unlock(inode2, 1); in ocfs2_double_lock() 1023 (unsigned long long)OCFS2_I(inode2)->ip_blkno); in ocfs2_double_lock() 1031 static void ocfs2_double_unlock(struct inode *inode1, struct inode *inode2) in ocfs2_double_unlock() argument 1035 if (inode1 != inode2) in ocfs2_double_unlock() 1036 ocfs2_inode_unlock(inode2, 1); in ocfs2_double_unlock()
|