| /linux/fs/ocfs2/ |
| H A D | locks.c | 26 int ret = 0, level = 0, trylock = 0; in ocfs2_do_flock() local 33 trylock = 1; in ocfs2_do_flock() 63 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock() 65 if (ret == -EAGAIN && trylock) in ocfs2_do_flock()
|
| /linux/kernel/locking/ |
| H A D | test-ww_mutex.c | 124 static int test_aa(struct ww_class *class, bool trylock) in test_aa() argument 129 const char *from = trylock ? "trylock" : "lock"; in test_aa() 134 if (!trylock) { in test_aa() 186 bool resolve, trylock; member 197 if (!abba->trylock) in test_abba_work() 222 static int test_abba(struct ww_class *class, bool trylock, bool resolve) in test_abba() argument 234 abba.trylock = trylock; in test_abba() 240 if (!trylock) in test_abba()
|
| H A D | lockdep.c | 3338 if (!hlock->trylock) in check_prevs_add() 3919 if (!hlock->trylock && hlock->check && in validate_chain() 4671 if (!hlock->trylock) { in mark_usage() 4903 if (!next_inner || next->trylock) in check_wait_context() 5125 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument 5225 hlock->trylock = trylock; in __lock_acquire() 5438 hlock->trylock, in reacquire_held_locks() 5900 int trylock, int read, int check, in lock_acquire() argument 5905 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire() 5920 if (lockdep_nmi() && !trylock) { in lock_acquire() [all …]
|
| /linux/drivers/hwspinlock/ |
| H A D | hwspinlock_internal.h | 31 int (*trylock)(struct hwspinlock *lock); member
|
| H A D | sprd_hwspinlock.c | 74 .trylock = sprd_hwspinlock_trylock,
|
| H A D | stm32_hwspinlock.c | 52 .trylock = stm32_hwspinlock_trylock,
|
| H A D | sun6i_hwspinlock.c | 78 .trylock = sun6i_hwspinlock_trylock,
|
| /linux/arch/riscv/include/asm/ |
| H A D | spinlock.h | 35 SPINLOCK_BASE_DECLARE(trylock, bool, arch_spinlock_t *)
|
| /linux/Documentation/gpu/rfc/ |
| H A D | i915_gem_lmem.rst | 16 * dma_resv_lockitem for full dma_resv_lock, i.e not just trylock
|
| /linux/include/linux/ |
| H A D | lockdep_types.h | 249 unsigned int trylock:1; /* 16 bits */ member
|
| H A D | lockdep.h | 228 int trylock, int read, int check,
|
| /linux/kernel/futex/ |
| H A D | pi.c | 988 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() argument 1062 if (trylock) { in futex_lock_pi()
|
| /linux/sound/core/ |
| H A D | pcm_native.c | 1383 bool trylock; in snd_pcm_stream_group_ref() local 1392 trylock = nonatomic ? mutex_trylock(&group->mutex) : in snd_pcm_stream_group_ref() 1394 if (trylock) in snd_pcm_stream_group_ref()
|
| /linux/Documentation/filesystems/ |
| H A D | directory-locking.rst | 97 current parent of the alias. If either trylock fails, we fail the lookup.
|
| /linux/sound/core/oss/ |
| H A D | pcm_oss.c | 1097 bool trylock) in snd_pcm_oss_change_params() argument 1102 if (trylock) { in snd_pcm_oss_change_params()
|
| /linux/Documentation/kernel-hacking/ |
| H A D | locking.rst | 351 The trylock Functions
|