Home
last modified time | relevance | path

Searched refs:trylock (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dlocks.c27 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 Ddlmglue.h173 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 Dlocks.c26 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 Ddlmglue.h171 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 Dlock.h16 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 Dlock.h27 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 Dtest-ww_mutex.c121 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 Dxfs_filestream.c110 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 Dhwspinlock_internal.h21 * @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 Dsirf_hwspinlock.c50 .trylock = sirf_hwspinlock_trylock,
H A Domap_hwspinlock.c69 .trylock = omap_hwspinlock_trylock,
H A Dsprd_hwspinlock.c76 .trylock = sprd_hwspinlock_trylock,
H A Dstm32_hwspinlock.c52 .trylock = stm32_hwspinlock_trylock,
H A Du8500_hsem.c80 .trylock = u8500_hsem_trylock,
H A Dqcom_hwspinlock.c62 .trylock = qcom_hwspinlock_trylock,
H A Dhwspinlock_core.c62 * @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 Dhwspinlock_internal.h21 * @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 Domap_hwspinlock.c70 .trylock = omap_hwspinlock_trylock,
H A Dstm32_hwspinlock.c52 .trylock = stm32_hwspinlock_trylock,
H A Dsprd_hwspinlock.c74 .trylock = sprd_hwspinlock_trylock,
H A Du8500_hsem.c80 .trylock = u8500_hsem_trylock,
H A Dsun6i_hwspinlock.c78 .trylock = sun6i_hwspinlock_trylock,
/kernel/linux/linux-5.10/tools/lib/lockdep/include/liblockdep/
H A Dcommon.h43 int trylock, int read, int check,
/kernel/linux/linux-5.10/kernel/locking/
H A Dlockdep.c3083 * 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 Dlockdep.h136 unsigned int trylock:1; /* 16 bits */ member
270 int trylock, int read, int check,

Completed in 18 milliseconds

12