Lines Matching defs:inode1
479 * @inode1: first inode
486 static void lock_2_inodes(struct inode *inode1, struct inode *inode2)
488 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1);
494 * @inode1: first inode
497 static void unlock_2_inodes(struct inode *inode1, struct inode *inode2)
500 mutex_unlock(&ubifs_inode(inode1)->ui_mutex);
942 * @inode1: first inode
946 * This function is used for 'ubifs_rename()' and @inode1 may be the same as
953 static void lock_3_inodes(struct inode *inode1, struct inode *inode2,
956 mutex_lock_nested(&ubifs_inode(inode1)->ui_mutex, WB_MUTEX_1);
957 if (inode2 != inode1)
965 * @inode1: first inode
969 static void unlock_3_inodes(struct inode *inode1, struct inode *inode2,
974 if (inode1 != inode2)
976 mutex_unlock(&ubifs_inode(inode1)->ui_mutex);