Lines Matching refs:ilock_flags
353 * ilock_flags can have the following bit set:
360 int btrfs_inode_lock(struct btrfs_inode *inode, unsigned int ilock_flags)
362 if (ilock_flags & BTRFS_ILOCK_SHARED) {
363 if (ilock_flags & BTRFS_ILOCK_TRY) {
371 if (ilock_flags & BTRFS_ILOCK_TRY) {
379 if (ilock_flags & BTRFS_ILOCK_MMAP)
387 * ilock_flags should contain the same bits set as passed to btrfs_inode_lock()
390 void btrfs_inode_unlock(struct btrfs_inode *inode, unsigned int ilock_flags)
392 if (ilock_flags & BTRFS_ILOCK_MMAP)
394 if (ilock_flags & BTRFS_ILOCK_SHARED)