Searched refs:inode1 (Results 1 – 7 of 7) sorted by relevance
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.c | 344 struct inode *inode1 = file_inode(fxr->file1); in xfs_exchange_range_checks() 345 loff_t size1 = i_size_read(inode1); in xfs_exchange_range_checks() 355 if (IS_IMMUTABLE(inode1) || IS_IMMUTABLE(inode2)) in xfs_exchange_range_checks() 357 if (IS_SWAPFILE(inode1) || IS_SWAPFILE(inode2)) in xfs_exchange_range_checks() 429 if (inode1 == inode2 && in xfs_exchange_range_checks() 485 struct inode *inode1 = file_inode(fxr->file1); in xfs_exchange_range_prep() 487 bool same_inode = (inode1 == inode2); in xfs_exchange_range_prep() 496 inode_dio_wait(inode1); 500 error = xfs_exchange_range_flush(XFS_I(inode1), fxr, fxr->file1_offset); 514 IS_SYNC(inode1) || IS_SYN in xfs_exchange_range_finish() 341 struct inode *inode1 = file_inode(fxr->file1); xfs_exchange_range_checks() local 458 struct inode *inode1 = file_inode(fxr->file1); xfs_exchange_range_prep() local 679 struct inode *inode1 = file_inode(fxr->file1); xfs_exchrange_contents() local 734 struct inode *inode1 = file_inode(fxr->file1); xfs_exchange_range() local [all...] |
| /linux/fs/btrfs/ |
| H A D | reflink.c | 673 static void btrfs_double_mmap_lock(struct btrfs_inode *inode1, struct btrfs_inode *inode2) in btrfs_double_mmap_lock() argument 675 if (inode1 < inode2) in btrfs_double_mmap_lock() 676 swap(inode1, inode2); in btrfs_double_mmap_lock() 677 down_write(&inode1->i_mmap_lock); in btrfs_double_mmap_lock() 681 static void btrfs_double_mmap_unlock(struct btrfs_inode *inode1, struct btrfs_inode *inode2) in btrfs_double_mmap_unlock() argument 683 up_write(&inode1->i_mmap_lock); in btrfs_double_mmap_unlock()
|
| /linux/fs/ |
| H A D | inode.c | 1244 void lock_two_nondirectories(struct inode *inode1, struct inode *inode2) in lock_two_nondirectories() argument 1246 if (inode1) in lock_two_nondirectories() 1247 WARN_ON_ONCE(S_ISDIR(inode1->i_mode)); in lock_two_nondirectories() 1250 if (inode1 > inode2) in lock_two_nondirectories() 1251 swap(inode1, inode2); in lock_two_nondirectories() 1252 if (inode1) in lock_two_nondirectories() 1253 inode_lock(inode1); in lock_two_nondirectories() 1254 if (inode2 && inode2 != inode1) in lock_two_nondirectories() 1264 void unlock_two_nondirectories(struct inode *inode1, struct inode *inode2) in unlock_two_nondirectories() argument 1266 if (inode1) { in unlock_two_nondirectories() [all …]
|
| /linux/fs/ocfs2/ |
| H A D | namei.c | 88 struct inode *inode1, 93 static void ocfs2_double_unlock(struct inode *inode1, struct inode *inode2); 1121 struct inode *inode1, in ocfs2_double_lock() argument 1128 struct ocfs2_inode_info *oi1 = OCFS2_I(inode1); in ocfs2_double_lock() 1161 swap(inode2, inode1); in ocfs2_double_lock() 1174 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock() 1201 static void ocfs2_double_unlock(struct inode *inode1, struct inode *inode2) in ocfs2_double_unlock() argument 1203 ocfs2_inode_unlock(inode1, 1); in ocfs2_double_unlock() 1205 if (inode1 != inode2) in ocfs2_double_unlock()
|
| /linux/fs/ext4/ |
| H A D | extents.c | 5875 ext4_swap_extents(handle_t *handle, struct inode *inode1, in ext4_swap_extents() argument 5883 BUG_ON(!rwsem_is_locked(&EXT4_I(inode1)->i_data_sem)); in ext4_swap_extents() 5885 BUG_ON(!inode_is_locked(inode1)); in ext4_swap_extents() 5888 ext4_es_remove_extent(inode1, lblk1, count); in ext4_swap_extents() 5897 path1 = ext4_find_extent(inode1, lblk1, path1, EXT4_EX_NOCACHE); in ext4_swap_extents() 5949 path1 = ext4_force_split_extent_at(handle, inode1, in ext4_swap_extents() 5979 path1 = ext4_force_split_extent_at(handle, inode1, in ext4_swap_extents() 6001 *erp = ext4_ext_get_access(handle, inode1, path1 + path1->p_depth); in ext4_swap_extents() 6020 ext4_ext_try_to_merge(handle, inode1, path1, ex1); in ext4_swap_extents() 6025 *erp = ext4_ext_dirty(handle, inode1, path1 + in ext4_swap_extents()
|
| H A D | ext4.h | 3947 extern int ext4_swap_extents(handle_t *handle, struct inode *inode1,
|
| /linux/fs/ubifs/ |
| H A D | ubifs.h | 1818 int ubifs_jnl_change_xattr(struct ubifs_info *c, const struct inode *inode1,
|