Lines Matching defs:inode2
480 * @inode2: second inode
486 static void lock_2_inodes(struct inode *inode1, struct inode *inode2)
489 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2);
495 * @inode2: second inode
497 static void unlock_2_inodes(struct inode *inode1, struct inode *inode2)
499 mutex_unlock(&ubifs_inode(inode2)->ui_mutex);
943 * @inode2: second inode
947 * @inode2 whereas @inode3 may be %NULL.
953 static void lock_3_inodes(struct inode *inode1, struct inode *inode2,
957 if (inode2 != inode1)
958 mutex_lock_nested(&ubifs_inode(inode2)->ui_mutex, WB_MUTEX_2);
966 * @inode2: second inode
969 static void unlock_3_inodes(struct inode *inode1, struct inode *inode2,
974 if (inode1 != inode2)
975 mutex_unlock(&ubifs_inode(inode2)->ui_mutex);