/Linux-v4.19/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 | 1953 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument 1956 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0; in ocfs2_file_lock() 2008 if (!trylock || (ret != -EAGAIN)) { in ocfs2_file_lock() 2038 BUG_ON(!trylock); in ocfs2_file_lock() 2045 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock() 2875 struct ocfs2_trim_fs_info *info, int trylock) in ocfs2_trim_fs_lock() argument 2891 trylock ? DLM_LKF_NOQUEUE : 0, 0); in ocfs2_trim_fs_lock()
|
/Linux-v4.19/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-v4.19/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 | 1242 int trylock = flags & SYNC_TRYLOCK; in xfs_reclaim_inodes_ag() local 1255 if (trylock) { in xfs_reclaim_inodes_ag() 1330 if (trylock && !done) in xfs_reclaim_inodes_ag() 1346 trylock = 0; in xfs_reclaim_inodes_ag()
|
/Linux-v4.19/drivers/hwspinlock/ |
D | hwspinlock_internal.h | 29 int (*trylock)(struct hwspinlock *lock); member
|
D | sirf_hwspinlock.c | 51 .trylock = sirf_hwspinlock_trylock,
|
D | u8500_hsem.c | 81 .trylock = u8500_hsem_trylock,
|
D | omap_hwspinlock.c | 69 .trylock = omap_hwspinlock_trylock,
|
D | qcom_hwspinlock.c | 63 .trylock = qcom_hwspinlock_trylock,
|
D | sprd_hwspinlock.c | 77 .trylock = sprd_hwspinlock_trylock,
|
D | hwspinlock_core.c | 127 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 470 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
/Linux-v4.19/tools/lib/lockdep/include/liblockdep/ |
D | common.h | 43 int trylock, int read, int check,
|
/Linux-v4.19/Documentation/filesystems/ |
D | dlmfs.txt | 93 an error has occurred, unless it has been instructed to do a trylock 110 If O_NONBLOCK is also provided and the trylock operation was valid but
|
/Linux-v4.19/include/linux/ |
D | lockdep.h | 257 unsigned int trylock:1; /* 16 bits */ member 331 int trylock, int read, int check,
|
/Linux-v4.19/kernel/locking/ |
D | lockdep.c | 1984 if (!hlock->trylock) in check_prevs_add() 2385 if (!hlock->trylock && hlock->check && in validate_chain() 2990 if (!hlock->trylock) { in mark_irqflags() 3267 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument 3357 hlock->trylock = trylock; in __lock_acquire() 3549 hlock->trylock, in reacquire_held_locks() 3887 int trylock, int read, int check, in lock_acquire() argument 3899 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire() 3900 __lock_acquire(lock, subclass, trylock, read, check, in lock_acquire()
|
/Linux-v4.19/Documentation/ |
D | hwspinlock.txt | 389 int (*trylock)(struct hwspinlock *lock); 396 The ->trylock() callback should make a single attempt to take the lock, and 404 a delay between two successive invocations of ->trylock(). It may **not** sleep.
|
/Linux-v4.19/Documentation/gpu/ |
D | vgaarbiter.rst | 62 trylock <io_state>
|
D | todo.rst | 325 make sure to not call such paths, or trylock everything. Really tricky.
|
/Linux-v4.19/kernel/ |
D | futex.c | 2712 ktime_t *time, int trylock) in futex_lock_pi() argument 2779 if (trylock) { in futex_lock_pi()
|
/Linux-v4.19/sound/core/oss/ |
D | pcm_oss.c | 1090 bool trylock) in snd_pcm_oss_change_params() argument 1095 if (trylock) { in snd_pcm_oss_change_params()
|
/Linux-v4.19/arch/arm/mm/ |
D | Kconfig | 729 trylock() operations with the assumption that the code will not
|
/Linux-v4.19/arch/arm64/ |
D | Kconfig | 969 trylock() operations with the assumption that the code will not
|
/Linux-v4.19/Documentation/kernel-hacking/ |
D | locking.rst | 357 The trylock Functions
|