/linux-master/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 in struct:hwspinlock_ops
|
H A D | u8500_hsem.c | 80 .trylock = u8500_hsem_trylock,
|
H A D | omap_hwspinlock.c | 70 .trylock = omap_hwspinlock_trylock,
|
H A D | sun6i_hwspinlock.c | 78 .trylock = sun6i_hwspinlock_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 | 62 * @hwlock: an hwspinlock which we want to trylock 133 ret = hwlock->bank->ops->trylock(hwlock); 496 if (!bank || !ops || !dev || !num_locks || !ops->trylock ||
|
H A D | qcom_hwspinlock.c | 68 .trylock = qcom_hwspinlock_trylock,
|
/linux-master/fs/ocfs2/ |
H A D | locks.c | 26 int ret = 0, level = 0, trylock = 0; local 33 trylock = 1; 63 ret = ocfs2_file_lock(file, level, trylock); 65 if (ret == -EAGAIN && trylock)
|
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);
|
H A D | dlmglue.c | 1973 int ocfs2_file_lock(struct file *file, int ex, int trylock) argument 1976 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0; 2028 if (!trylock || (ret != -EAGAIN)) { 2058 BUG_ON(!trylock); 2064 mlog(0, "Lock: \"%s\" ex: %d, trylock: %d, returns: %d\n", 2065 lockres->l_name, ex, trylock, ret); 2909 struct ocfs2_trim_fs_info *info, int trylock) 2925 trylock ? DLM_LKF_NOQUEUE : 0, 0); 2908 ocfs2_trim_fs_lock(struct ocfs2_super *osb, struct ocfs2_trim_fs_info *info, int trylock) argument
|
/linux-master/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-master/kernel/locking/ |
H A D | test-ww_mutex.c | 121 static int test_aa(bool trylock) argument 126 const char *from = trylock ? "trylock" : "lock"; 131 if (!trylock) { 140 pr_err("%s: initial trylock failed!\n", __func__); 182 bool resolve, trylock; member in struct:test_abba 193 if (!abba->trylock) 218 static int test_abba(bool trylock, bool resolve) argument 229 abba.trylock = trylock; [all...] |
H A D | lockdep.c | 3223 * all consecutive trylock entries and the final non-trylock entry - or 3258 * Stop after the first non-trylock entry, 3259 * as non-trylock entries have added their 3263 if (!hlock->trylock) 3828 * does not add new dependencies, because trylock can be done 3836 if (!hlock->trylock && hlock->check && 4549 * If non-trylock use in a hardirq or softirq context, then 4552 if (!hlock->trylock) { 4778 if (!next_inner || next->trylock) 4989 __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, int sync) argument 5719 lock_acquire(struct lockdep_map *lock, unsigned int subclass, int trylock, int read, int check, struct lockdep_map *nest_lock, unsigned long ip) argument [all...] |
/linux-master/include/linux/ |
H A D | lockdep_types.h | 248 unsigned int trylock:1; /* 16 bits */ member in struct:held_lock
|
H A D | lockdep.h | 210 int trylock, int read, int check,
|
/linux-master/kernel/futex/ |
H A D | futex.h | 384 extern int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock);
|
H A D | pi.c | 720 * The trylock just failed, so either there is an owner or 918 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) argument 986 if (trylock) { 988 /* Fixup the trylock return value: */
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_ggtt.c | 1049 bool trylock; local 1051 trylock = i915_gem_object_trylock(obj, NULL); 1052 WARN_ON(!trylock); 1055 if (trylock)
|
/linux-master/sound/core/ |
H A D | pcm_native.c | 1328 bool trylock; local 1337 trylock = nonatomic ? mutex_trylock(&group->mutex) : 1339 if (trylock)
|
/linux-master/sound/core/oss/ |
H A D | pcm_oss.c | 1094 bool trylock) 1099 if (trylock) { 1093 snd_pcm_oss_change_params(struct snd_pcm_substream *substream, bool trylock) argument
|