Searched refs:trylock (Results 1 – 8 of 8) sorted by relevance
/linux-4.19.296/fs/ocfs2/ |
D | locks.c | 41 int ret = 0, level = 0, trylock = 0; in ocfs2_do_flock() local 48 trylock = 1; in ocfs2_do_flock() 78 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock() 80 if (ret == -EAGAIN && trylock) in ocfs2_do_flock()
|
D | dlmglue.h | 187 struct ocfs2_trim_fs_info *info, int trylock); 192 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
D | dlmglue.c | 1959 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument 1962 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0; in ocfs2_file_lock() 2014 if (!trylock || (ret != -EAGAIN)) { in ocfs2_file_lock() 2044 BUG_ON(!trylock); in ocfs2_file_lock() 2051 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock() 2896 struct ocfs2_trim_fs_info *info, int trylock) in ocfs2_trim_fs_lock() argument 2912 trylock ? DLM_LKF_NOQUEUE : 0, 0); in ocfs2_trim_fs_lock()
|
/linux-4.19.296/include/trace/events/ |
D | lock.h | 16 int trylock, int read, int check, 19 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip), 28 __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0);
|
/linux-4.19.296/fs/xfs/ |
D | xfs_filestream.c | 144 int err, trylock, nscan; in xfs_filestream_pick_ag() local 155 trylock = XFS_ALLOC_FLAG_TRYLOCK; in xfs_filestream_pick_ag() 163 err = xfs_alloc_pagf_init(mp, NULL, ag, trylock); in xfs_filestream_pick_ag() 164 if (err && !trylock) { in xfs_filestream_pick_ag() 219 if (trylock != 0) { in xfs_filestream_pick_ag() 220 trylock = 0; in xfs_filestream_pick_ag()
|
D | xfs_icache.c | 1253 int trylock = flags & SYNC_TRYLOCK; in xfs_reclaim_inodes_ag() local 1266 if (trylock) { in xfs_reclaim_inodes_ag() 1341 if (trylock && !done) in xfs_reclaim_inodes_ag() 1357 trylock = 0; in xfs_reclaim_inodes_ag()
|
/linux-4.19.296/include/linux/ |
D | lockdep.h | 257 unsigned int trylock:1; /* 16 bits */ member 331 int trylock, int read, int check,
|
/linux-4.19.296/fs/f2fs/ |
D | segment.c | 220 bool trylock) in __revoke_inmem_pages() argument 232 if (trylock) { in __revoke_inmem_pages()
|