| /linux-6.15/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()
|
| H A D | dlmglue.h | 169 struct ocfs2_trim_fs_info *info, int trylock); 174 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
| H A 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() 2908 struct ocfs2_trim_fs_info *info, int trylock) in ocfs2_trim_fs_lock() argument 2924 trylock ? DLM_LKF_NOQUEUE : 0, 0); in ocfs2_trim_fs_lock()
|
| /linux-6.15/include/trace/events/ |
| H A D | lock.h | 27 int trylock, int read, int check, 30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip), 39 __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0);
|
| /linux-6.15/kernel/locking/ |
| H A D | test-ww_mutex.c | 123 static int test_aa(bool trylock) in test_aa() argument 128 const char *from = trylock ? "trylock" : "lock"; in test_aa() 133 if (!trylock) { in test_aa() 184 bool resolve, trylock; member 195 if (!abba->trylock) in test_abba_work() 220 static int test_abba(bool trylock, bool resolve) in test_abba() argument 231 abba.trylock = trylock; in test_abba() 237 if (!trylock) in test_abba()
|
| H A D | lockdep.c | 3295 if (!hlock->trylock) in check_prevs_add() 3876 if (!hlock->trylock && hlock->check && in validate_chain() 4628 if (!hlock->trylock) { in mark_usage() 4860 if (!next_inner || next->trylock) in check_wait_context() 5079 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument 5173 hlock->trylock = trylock; in __lock_acquire() 5385 hlock->trylock, in reacquire_held_locks() 5824 int trylock, int read, int check, in lock_acquire() argument 5844 if (lockdep_nmi() && !trylock) { in lock_acquire() 5851 hlock.trylock = trylock; in lock_acquire() [all …]
|
| /linux-6.15/drivers/hwspinlock/ |
| H A D | hwspinlock_internal.h | 31 int (*trylock)(struct hwspinlock *lock); member
|
| H A D | omap_hwspinlock.c | 70 .trylock = omap_hwspinlock_trylock,
|
| H A D | u8500_hsem.c | 80 .trylock = u8500_hsem_trylock,
|
| 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 | hwspinlock_core.c | 133 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 524 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
| H A D | sun6i_hwspinlock.c | 78 .trylock = sun6i_hwspinlock_trylock,
|
| H A D | qcom_hwspinlock.c | 92 .trylock = qcom_hwspinlock_trylock,
|
| /linux-6.15/arch/riscv/include/asm/ |
| H A D | spinlock.h | 35 SPINLOCK_BASE_DECLARE(trylock, bool, arch_spinlock_t *)
|
| /linux-6.15/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-6.15/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-6.15/Documentation/filesystems/ |
| H A 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
|
| H A D | directory-locking.rst | 97 current parent of the alias. If either trylock fails, we fail the lookup.
|
| /linux-6.15/kernel/futex/ |
| H A D | pi.c | 918 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() argument 987 if (trylock) { in futex_lock_pi()
|
| H A D | futex.h | 444 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
|
| /linux-6.15/drivers/gpu/drm/i915/gt/ |
| H A D | intel_ggtt.c | 1048 bool trylock; in ggtt_cleanup_hw() local 1050 trylock = i915_gem_object_trylock(obj, NULL); in ggtt_cleanup_hw() 1051 WARN_ON(!trylock); in ggtt_cleanup_hw() 1054 if (trylock) in ggtt_cleanup_hw()
|
| /linux-6.15/Documentation/locking/ |
| H A D | hwspinlock.rst | 426 int (*trylock)(struct hwspinlock *lock); 433 The ->trylock() callback should make a single attempt to take the lock, and 441 a delay between two successive invocations of ->trylock(). It may **not** sleep.
|
| /linux-6.15/Documentation/gpu/ |
| H A D | vgaarbiter.rst | 62 trylock <io_state>
|