/Linux-v5.10/fs/ocfs2/ |
D | locks.c | 27 int ret = 0, level = 0, trylock = 0; in ocfs2_do_flock() local 34 trylock = 1; in ocfs2_do_flock() 64 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock() 66 if (ret == -EAGAIN && trylock) in ocfs2_do_flock()
|
D | dlmglue.h | 173 struct ocfs2_trim_fs_info *info, int trylock); 178 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
D | dlmglue.c | 1974 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument 1977 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0; in ocfs2_file_lock() 2029 if (!trylock || (ret != -EAGAIN)) { in ocfs2_file_lock() 2059 BUG_ON(!trylock); in ocfs2_file_lock() 2066 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock() 2900 struct ocfs2_trim_fs_info *info, int trylock) in ocfs2_trim_fs_lock() argument 2916 trylock ? DLM_LKF_NOQUEUE : 0, 0); in ocfs2_trim_fs_lock()
|
/Linux-v5.10/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-v5.10/fs/xfs/ |
D | xfs_filestream.c | 110 int err, trylock, nscan; in xfs_filestream_pick_ag() local 121 trylock = XFS_ALLOC_FLAG_TRYLOCK; in xfs_filestream_pick_ag() 129 err = xfs_alloc_pagf_init(mp, NULL, ag, trylock); in xfs_filestream_pick_ag() 184 if (trylock != 0) { in xfs_filestream_pick_ag() 185 trylock = 0; in xfs_filestream_pick_ag()
|
/Linux-v5.10/drivers/hwspinlock/ |
D | hwspinlock_internal.h | 29 int (*trylock)(struct hwspinlock *lock); member
|
D | sirf_hwspinlock.c | 50 .trylock = sirf_hwspinlock_trylock,
|
D | u8500_hsem.c | 80 .trylock = u8500_hsem_trylock,
|
D | omap_hwspinlock.c | 69 .trylock = omap_hwspinlock_trylock,
|
D | sprd_hwspinlock.c | 76 .trylock = sprd_hwspinlock_trylock,
|
D | stm32_hwspinlock.c | 52 .trylock = stm32_hwspinlock_trylock,
|
D | qcom_hwspinlock.c | 62 .trylock = qcom_hwspinlock_trylock,
|
D | hwspinlock_core.c | 132 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 492 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
/Linux-v5.10/tools/lib/lockdep/include/liblockdep/ |
D | common.h | 43 int trylock, int read, int check,
|
/Linux-v5.10/Documentation/filesystems/ |
D | dlmfs.rst | 98 an error has occurred, unless it has been instructed to do a trylock 120 If O_NONBLOCK is also provided and the trylock operation was valid but
|
/Linux-v5.10/kernel/locking/ |
D | lockdep.c | 3003 if (!hlock->trylock) in check_prevs_add() 3575 if (!hlock->trylock && hlock->check && in validate_chain() 4291 if (!hlock->trylock) { in mark_usage() 4511 if (!curr->lockdep_depth || !next_inner || next->trylock) in check_wait_context() 4687 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument 4771 hlock->trylock = trylock; in __lock_acquire() 4972 hlock->trylock, in reacquire_held_locks() 5403 int trylock, int read, int check, in lock_acquire() argument 5408 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire() 5415 if (lockdep_nmi() && !trylock) { in lock_acquire() [all …]
|
/Linux-v5.10/include/linux/ |
D | lockdep.h | 136 unsigned int trylock:1; /* 16 bits */ member 259 int trylock, int read, int check,
|
/Linux-v5.10/Documentation/locking/ |
D | hwspinlock.rst | 470 int (*trylock)(struct hwspinlock *lock); 477 The ->trylock() callback should make a single attempt to take the lock, and 485 a delay between two successive invocations of ->trylock(). It may **not** sleep.
|
/Linux-v5.10/Documentation/gpu/ |
D | vgaarbiter.rst | 62 trylock <io_state>
|
D | todo.rst | 480 make sure to not call such paths, or trylock everything. Really tricky.
|
/Linux-v5.10/kernel/ |
D | futex.c | 2773 ktime_t *time, int trylock) in futex_lock_pi() argument 2842 if (trylock) { in futex_lock_pi()
|
/Linux-v5.10/sound/core/ |
D | pcm_native.c | 1248 bool trylock; in snd_pcm_stream_group_ref() local 1257 trylock = nonatomic ? mutex_trylock(&group->mutex) : in snd_pcm_stream_group_ref() 1259 if (trylock) in snd_pcm_stream_group_ref()
|
/Linux-v5.10/sound/core/oss/ |
D | pcm_oss.c | 1073 bool trylock) in snd_pcm_oss_change_params() argument 1078 if (trylock) { in snd_pcm_oss_change_params()
|
/Linux-v5.10/arch/arm/mm/ |
D | Kconfig | 730 trylock() operations with the assumption that the code will not
|
/Linux-v5.10/fs/f2fs/ |
D | segment.c | 212 bool trylock) in __revoke_inmem_pages() argument 224 if (trylock) { in __revoke_inmem_pages()
|