Home
last modified time | relevance | path

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

/linux-4.4.14/fs/ocfs2/
Dlocks.c41 int ret = 0, level = 0, trylock = 0; in ocfs2_do_flock() local
48 trylock = 1; in ocfs2_do_flock()
78 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock()
80 if (ret == -EAGAIN && trylock) in ocfs2_do_flock()
Ddlmglue.h151 int ocfs2_file_lock(struct file *file, int ex, int trylock);
Ddlmglue.c1876 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument
1879 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0; in ocfs2_file_lock()
1931 if (!trylock || (ret != -EAGAIN)) { in ocfs2_file_lock()
1961 BUG_ON(!trylock); in ocfs2_file_lock()
1968 lockres->l_name, ex, trylock, ret); in ocfs2_file_lock()
/linux-4.4.14/include/trace/events/
Dlock.h15 int trylock, int read, int check,
18 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
27 __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0);
/linux-4.4.14/fs/xfs/
Dxfs_filestream.c152 int err, trylock, nscan; in xfs_filestream_pick_ag() local
163 trylock = XFS_ALLOC_FLAG_TRYLOCK; in xfs_filestream_pick_ag()
171 err = xfs_alloc_pagf_init(mp, NULL, ag, trylock); in xfs_filestream_pick_ag()
172 if (err && !trylock) { in xfs_filestream_pick_ag()
226 if (trylock != 0) { in xfs_filestream_pick_ag()
227 trylock = 0; in xfs_filestream_pick_ag()
Dxfs_icache.c1029 int trylock = flags & SYNC_TRYLOCK; in xfs_reclaim_inodes_ag() local
1042 if (trylock) { in xfs_reclaim_inodes_ag()
1117 if (trylock && !done) in xfs_reclaim_inodes_ag()
1133 trylock = 0; in xfs_reclaim_inodes_ag()
/linux-4.4.14/Documentation/DocBook/
Dkernel-locking.xml.db7 API-mutex-trylock
17 API-futex-proxy-trylock-atomic
Dkernel-api.xml.db503 API-pci-cfg-access-trylock
Ddevice-drivers.xml.db218 API-console-trylock
/linux-4.4.14/drivers/hwspinlock/
Dhwspinlock_internal.h37 int (*trylock)(struct hwspinlock *lock); member
Dsirf_hwspinlock.c52 .trylock = sirf_hwspinlock_trylock,
Dhwspinlock_core.c121 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock()
414 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
Du8500_hsem.c89 .trylock = u8500_hsem_trylock,
Dqcom_hwspinlock.c71 .trylock = qcom_hwspinlock_trylock,
Domap_hwspinlock.c77 .trylock = omap_hwspinlock_trylock,
/linux-4.4.14/tools/lib/lockdep/include/liblockdep/
Dcommon.h42 int trylock, int read, int check,
/linux-4.4.14/kernel/locking/
Dlockdep.c1967 if (!hlock->trylock) in check_prevs_add()
2114 if (!hlock->trylock && hlock->check && in validate_chain()
2784 if (!hlock->trylock) { in mark_irqflags()
2829 if (!hlock->trylock && (curr->lockdep_reclaim_gfp & __GFP_FS)) { in mark_irqflags()
3069 int trylock, int read, int check, int hardirqs_off, in __lock_acquire() argument
3151 hlock->trylock = trylock; in __lock_acquire()
3343 hlock_class(hlock)->subclass, hlock->trylock, in __lock_set_class()
3433 hlock_class(hlock)->subclass, hlock->trylock, in __lock_release()
3572 int trylock, int read, int check, in lock_acquire() argument
3584 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire()
[all …]
/linux-4.4.14/Documentation/filesystems/
Ddlmfs.txt93 an error has occurred, unless it has been instructed to do a trylock
110 If O_NONBLOCK is also provided and the trylock operation was valid but
/linux-4.4.14/include/linux/
Dlockdep.h252 unsigned int trylock:1; /* 16 bits */ member
334 int trylock, int read, int check,
/linux-4.4.14/Documentation/
Dhwspinlock.txt302 int (*trylock)(struct hwspinlock *lock);
309 The ->trylock() callback should make a single attempt to take the lock, and
317 a delay between two successive invocations of ->trylock(). It may _not_ sleep.
Dvgaarbiter.txt69 trylock <io_state> : non-blocking acquire locks on target (returns EBUSY if
/linux-4.4.14/kernel/
Dfutex.c2380 ktime_t *time, int trylock) in futex_lock_pi() argument
2444 if (!trylock) { in futex_lock_pi()
/linux-4.4.14/sound/core/oss/
Dpcm_oss.c838 bool trylock) in snd_pcm_oss_change_params() argument
852 if (trylock) { in snd_pcm_oss_change_params()
/linux-4.4.14/arch/arm64/
DKconfig615 trylock() operations with the assumption that the code will not
/linux-4.4.14/arch/arm/mm/
DKconfig701 trylock() operations with the assumption that the code will not