Home
last modified time | relevance | path

Searched refs:trylock (Results 1 – 21 of 21) sorted by relevance

/linux/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.c1974 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/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);
/linux/drivers/hwspinlock/
H A Dhwspinlock_internal.h31 int (*trylock)(struct hwspinlock *lock); member
H A Domap_hwspinlock.c70 .trylock = omap_hwspinlock_trylock,
H A Du8500_hsem.c80 .trylock = u8500_hsem_trylock,
H A Dsprd_hwspinlock.c74 .trylock = sprd_hwspinlock_trylock,
H A Dstm32_hwspinlock.c52 .trylock = stm32_hwspinlock_trylock,
H A Dsun6i_hwspinlock.c78 .trylock = sun6i_hwspinlock_trylock,
H A Dqcom_hwspinlock.c92 .trylock = qcom_hwspinlock_trylock,
/linux/arch/riscv/include/asm/
H A Dspinlock.h35 SPINLOCK_BASE_DECLARE(trylock, bool, arch_spinlock_t *)
/linux/Documentation/gpu/rfc/
H A Di915_gem_lmem.rst16 * dma_resv_lockitem for full dma_resv_lock, i.e not just trylock
/linux/include/linux/
H A Dlockdep_types.h249 unsigned int trylock:1; /* 16 bits */ member
/linux/kernel/locking/
H A Dlockdep.c3294 if (!hlock->trylock) in check_prevs_add()
3875 if (!hlock->trylock && hlock->check && in validate_chain()
4627 if (!hlock->trylock) { in mark_usage()
4859 if (!next_inner || next->trylock) in check_wait_context()
5078 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument
5175 hlock->trylock = trylock; in __lock_acquire()
5387 hlock->trylock, in reacquire_held_locks()
5826 int trylock, int read, int check, in lock_acquire() argument
5831 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire()
5846 if (lockdep_nmi() && !trylock) { in lock_acquire()
[all …]
/linux/kernel/futex/
H A Dpi.c720 * The trylock just failed, so either there is an owner or in __fixup_pi_state_owner()
918 int futex_lock_pi(u32 __user *uaddr, unsigned int flags, ktime_t *time, int trylock) in futex_lock_pi() argument
989 if (trylock) { in futex_lock_pi()
991 /* Fixup the trylock return value: */ in futex_lock_pi()
/linux/Documentation/filesystems/
H A Ddirectory-locking.rst97 current parent of the alias. If either trylock fails, we fail the lookup.
/linux/Documentation/filesystems/iomap/
H A Ddesign.rst352 trylock algorithms.
/linux/arch/arm/mm/
H A DKconfig732 trylock() operations with the assumption that the code will not
/linux/Documentation/kernel-hacking/
H A Dlocking.rst351 The trylock Functions
/linux/Documentation/translations/it_IT/kernel-hacking/
H A Dlocking.rst368 Le funzioni *trylock*
/linux/arch/arm64/
H A DKconfig1794 trylock() operations with the assumption that the code will not