Home
last modified time | relevance | path

Searched refs:inode1 (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/fs/ext4/
Dmove_extent.c150 mext_check_null_inode(struct inode *inode1, struct inode *inode2, in mext_check_null_inode() argument
155 if (inode1 == NULL) { in mext_check_null_inode()
161 __ext4_error(inode1->i_sb, function, line, in mext_check_null_inode()
163 "inode1 %lu inode2 NULL", inode1->i_ino); 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()
1092 mutex_lock(&inode1->i_mutex); in mext_inode_double_lock()
1096 if (inode1->i_ino < inode2->i_ino) { in mext_inode_double_lock()
[all …]
/linux-2.6.39/fs/ubifs/
Ddir.c486 static void lock_2_inodes(struct inode *inode1, struct inode *inode2) in lock_2_inodes() argument
488 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_2_inodes()
497 static void unlock_2_inodes(struct inode *inode1, struct inode *inode2) in unlock_2_inodes() argument
500 mutex_unlock(&ubifs_inode(inode1)->ui_mutex); in unlock_2_inodes()
935 static void lock_3_inodes(struct inode *inode1, struct inode *inode2, in lock_3_inodes() argument
938 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1); in lock_3_inodes()
939 if (inode2 != inode1) 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()
958 mutex_unlock(&ubifs_inode(inode1)->ui_mutex); in unlock_3_inodes()
Dubifs.h1527 int ubifs_jnl_change_xattr(struct ubifs_info *c, const struct inode *inode1,
/linux-2.6.39/fs/ocfs2/
Dnamei.c964 struct inode *inode1, in ocfs2_double_lock() argument
969 struct ocfs2_inode_info *oi1 = OCFS2_I(inode1); in ocfs2_double_lock()
991 inode2 = inode1; in ocfs2_double_lock()
992 inode1 = tmpinode; in ocfs2_double_lock()
1005 status = ocfs2_inode_lock_nested(inode1, bh1, 1, OI_LS_RENAME2); in ocfs2_double_lock()
1022 (unsigned long long)OCFS2_I(inode1)->ip_blkno, in ocfs2_double_lock()
1031 static void ocfs2_double_unlock(struct inode *inode1, struct inode *inode2) in ocfs2_double_unlock() argument
1033 ocfs2_inode_unlock(inode1, 1); in ocfs2_double_unlock()
1035 if (inode1 != inode2) in ocfs2_double_unlock()