Home
last modified time | relevance | path

Searched refs:lock_flags (Results 1 – 14 of 14) sorted by relevance

/fs/xfs/
A Dxfs_inode.c97 uint lock_flags) in xfs_lock_flags_assert() argument
106 ASSERT(lock_flags != 0); in xfs_lock_flags_assert()
142 uint lock_flags) in xfs_ilock() argument
153 XFS_IOLOCK_DEP(lock_flags)); in xfs_ilock()
164 if (lock_flags & XFS_ILOCK_EXCL) in xfs_ilock()
185 uint lock_flags) in xfs_ilock_nowait() argument
245 uint lock_flags) in xfs_iunlock() argument
259 if (lock_flags & XFS_ILOCK_EXCL) in xfs_iunlock()
274 uint lock_flags) in xfs_ilock_demote() argument
277 ASSERT((lock_flags & in xfs_ilock_demote()
[all …]
A Dxfs_pnfs.c123 uint lock_flags; in xfs_fs_map_blocks() local
174 lock_flags = xfs_ilock_data_map_shared(ip); in xfs_fs_map_blocks()
188 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks()
207 xfs_iunlock(ip, lock_flags); in xfs_fs_map_blocks()
A Dxfs_icache.c517 int lock_flags) __releases(RCU) in xfs_iget_cache_hit() argument
596 if (lock_flags != 0) in xfs_iget_cache_hit()
597 xfs_ilock(ip, lock_flags); in xfs_iget_cache_hit()
634 int lock_flags) in xfs_iget_cache_miss() argument
704 if (lock_flags) { in xfs_iget_cache_miss()
705 if (!xfs_ilock_nowait(ip, lock_flags)) in xfs_iget_cache_miss()
743 if (lock_flags) in xfs_iget_cache_miss()
744 xfs_iunlock(ip, lock_flags); in xfs_iget_cache_miss()
769 uint lock_flags, in xfs_iget() argument
795 error = xfs_iget_cache_hit(pag, ip, ino, flags, lock_flags); in xfs_iget()
[all …]
A Dxfs_extfree_item.c788 unsigned int lock_flags; in xfs_rtextent_free_finish_item() local
791 lock_flags = XFS_RTGLOCK_RMAP; in xfs_rtextent_free_finish_item()
793 lock_flags = XFS_RTGLOCK_BITMAP; in xfs_rtextent_free_finish_item()
796 xfs_rtgroup_lock(*rtgp, lock_flags); in xfs_rtextent_free_finish_item()
797 xfs_rtgroup_trans_join(tp, *rtgp, lock_flags); in xfs_rtextent_free_finish_item()
A Dxfs_icache.h46 uint flags, uint lock_flags, xfs_inode_t **ipp);
A Dxfs_inode_item.c813 unsigned short lock_flags; in xfs_inode_item_release() local
818 lock_flags = iip->ili_lock_flags; in xfs_inode_item_release()
820 if (lock_flags) in xfs_inode_item_release()
821 xfs_iunlock(ip, lock_flags); in xfs_inode_item_release()
A Dxfs_iops.c922 uint lock_flags = 0; in xfs_setattr_size() local
1060 lock_flags |= XFS_ILOCK_EXCL; in xfs_setattr_size()
1125 if (lock_flags) in xfs_setattr_size()
1126 xfs_iunlock(ip, lock_flags); in xfs_setattr_size()
A Dxfs_dquot.c759 uint lock_flags; in xfs_dq_get_next_id() local
778 lock_flags = xfs_ilock_data_map_shared(quotip); in xfs_dq_get_next_id()
792 xfs_iunlock(quotip, lock_flags); in xfs_dq_get_next_id()
A Dxfs_trace.h1007 TP_PROTO(struct xfs_inode *ip, unsigned lock_flags,
1009 TP_ARGS(ip, lock_flags, caller_ip),
1013 __field(int, lock_flags)
1019 __entry->lock_flags = lock_flags;
1025 __print_flags(__entry->lock_flags, "|", XFS_LOCK_FLAGS),
1031 TP_PROTO(struct xfs_inode *ip, unsigned lock_flags, \
1033 TP_ARGS(ip, lock_flags, caller_ip))
/fs/xfs/libxfs/
A Dxfs_trans_inode.c30 uint lock_flags) in xfs_trans_ijoin() argument
40 iip->ili_lock_flags = lock_flags; in xfs_trans_ijoin()
/fs/nfs/
A Dnfs4trace.h919 __field(unsigned long, lock_flags)
931 __entry->lock_flags = lock->ls_flags;
945 show_nfs4_lock_flags(__entry->lock_flags)
/fs/smb/client/
A Dcifspdu.h1139 __le16 lock_flags; /* 1 = Wait (only valid for setlock) */ member
A Dsmb2pdu.c6131 const __u64 length, const __u64 offset, const __u32 lock_flags, in SMB2_lock() argument
6138 lock.Flags = cpu_to_le32(lock_flags); in SMB2_lock()
6139 if (!wait && lock_flags != SMB2_LOCKFLAG_UNLOCK) in SMB2_lock()
A Dcifssmb.c2119 parm_data->lock_flags = cpu_to_le16(1); in CIFSSMBPosixLock()

Completed in 77 milliseconds