/kernel/linux/linux-5.10/fs/ocfs2/ |
H A 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()
|
H A D | dlmglue.h | 173 struct ocfs2_trim_fs_info *info, int trylock); 178 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
/kernel/linux/linux-6.6/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 | 171 struct ocfs2_trim_fs_info *info, int trylock); 176 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A 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);
|
/kernel/linux/linux-6.6/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);
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | test-ww_mutex.c | 121 static int test_aa(bool trylock) in test_aa() argument 126 const char *from = trylock ? "trylock" : "lock"; in test_aa() 131 if (!trylock) { in test_aa() 140 pr_err("%s: initial trylock failed!\n", __func__); in test_aa() 182 bool resolve, trylock; member 193 if (!abba->trylock) in test_abba_work() 218 static int test_abba(bool trylock, bool resolve) in test_abba() argument 229 abba.trylock = trylock; in test_abba() [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A 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() 185 if (trylock != 0) { in xfs_filestream_pick_ag() 186 trylock = 0; in xfs_filestream_pick_ag()
|
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
H A D | hwspinlock_internal.h | 21 * @trylock: make a single attempt to take the lock. returns 0 on 26 * invocations of @trylock. may _not_ sleep. 29 int (*trylock)(struct hwspinlock *lock); member
|
H A D | sirf_hwspinlock.c | 50 .trylock = sirf_hwspinlock_trylock,
|
H A D | omap_hwspinlock.c | 69 .trylock = omap_hwspinlock_trylock,
|
H A D | sprd_hwspinlock.c | 76 .trylock = sprd_hwspinlock_trylock,
|
H A D | stm32_hwspinlock.c | 52 .trylock = stm32_hwspinlock_trylock,
|
H A D | u8500_hsem.c | 80 .trylock = u8500_hsem_trylock,
|
H A D | qcom_hwspinlock.c | 62 .trylock = qcom_hwspinlock_trylock,
|
H A D | hwspinlock_core.c | 62 * @hwlock: an hwspinlock which we want to trylock 132 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 492 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
/kernel/linux/linux-6.6/drivers/hwspinlock/ |
H A D | hwspinlock_internal.h | 21 * @trylock: make a single attempt to take the lock. returns 0 on 26 * invocations of @trylock. may _not_ sleep. 29 int (*trylock)(struct hwspinlock *lock); member
|
H A D | omap_hwspinlock.c | 70 .trylock = omap_hwspinlock_trylock,
|
H A D | stm32_hwspinlock.c | 52 .trylock = stm32_hwspinlock_trylock,
|
H A D | sprd_hwspinlock.c | 74 .trylock = sprd_hwspinlock_trylock,
|
H A D | u8500_hsem.c | 80 .trylock = u8500_hsem_trylock,
|
H A D | sun6i_hwspinlock.c | 78 .trylock = sun6i_hwspinlock_trylock,
|
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/ |
H A D | common.h | 43 int trylock, int read, int check,
|
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | lockdep.c | 3083 * all consecutive trylock entries and the final non-trylock entry - or 3118 * Stop after the first non-trylock entry, in check_prevs_add() 3119 * as non-trylock entries have added their in check_prevs_add() 3123 if (!hlock->trylock) in check_prevs_add() 3688 * does not add new dependencies, because trylock can be done in validate_chain() 3696 if (!hlock->trylock && hlock->check && in validate_chain() 4410 * If non-trylock use in a hardirq or softirq context, then in mark_usage() 4413 if (!hlock->trylock) { in mark_usage() 4633 if (!next_inner || next->trylock) in check_wait_context() 4809 __lock_acquire(struct lockdep_map *lock, unsigned int subclass, int trylock, int read, int check, int hardirqs_off, struct lockdep_map *nest_lock, unsigned long ip, int references, int pin_count) __lock_acquire() argument 5531 lock_acquire(struct lockdep_map *lock, unsigned int subclass, int trylock, int read, int check, struct lockdep_map *nest_lock, unsigned long ip) lock_acquire() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | lockdep.h | 136 unsigned int trylock:1; /* 16 bits */ member 270 int trylock, int read, int check,
|