Home
last modified time | relevance | path

Searched refs:inodes (Results 1 - 1 of 1) sorted by relevance

/device/soc/rockchip/common/sdk_linux/fs/xfs/
H A Dxfs_inode.c411 * The following routine will lock n inodes in exclusive mode. We assume the
412 * caller calls us with the inodes in i_ino order.
425 static void xfs_lock_inodes(struct xfs_inode **ips, int inodes, uint lock_mode) in xfs_lock_inodes() argument
431 * Currently supports between 2 and 5 inodes with exclusive locking. We in xfs_lock_inodes()
433 * inodes depend on the type of locking and the limits placed by in xfs_lock_inodes()
437 ASSERT(ips && inodes >= 0x2 && inodes <= 0x5); in xfs_lock_inodes()
440 ASSERT(!(lock_mode & XFS_MMAPLOCK_EXCL) || inodes <= XFS_MMAPLOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes()
441 ASSERT(!(lock_mode & XFS_ILOCK_EXCL) || inodes <= XFS_ILOCK_MAX_SUBCLASS + 1); in xfs_lock_inodes()
452 for (; i < inodes; in xfs_lock_inodes()
3035 struct xfs_inode *inodes[_XFS_SORT_INODES]; xfs_rename() local
[all...]

Completed in 3 milliseconds