/linux-4.4.14/fs/ocfs2/ |
D | locks.c | 41 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()
|
D | dlmglue.h | 151 int ocfs2_file_lock(struct file *file, int ex, int trylock);
|
D | dlmglue.c | 1876 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/ |
D | lock.h | 15 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/ |
D | xfs_filestream.c | 152 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()
|
D | xfs_icache.c | 1029 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/ |
D | kernel-locking.xml.db | 7 API-mutex-trylock 17 API-futex-proxy-trylock-atomic
|
D | kernel-api.xml.db | 503 API-pci-cfg-access-trylock
|
D | device-drivers.xml.db | 218 API-console-trylock
|
/linux-4.4.14/drivers/hwspinlock/ |
D | hwspinlock_internal.h | 37 int (*trylock)(struct hwspinlock *lock); member
|
D | sirf_hwspinlock.c | 52 .trylock = sirf_hwspinlock_trylock,
|
D | hwspinlock_core.c | 121 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 414 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
D | u8500_hsem.c | 89 .trylock = u8500_hsem_trylock,
|
D | qcom_hwspinlock.c | 71 .trylock = qcom_hwspinlock_trylock,
|
D | omap_hwspinlock.c | 77 .trylock = omap_hwspinlock_trylock,
|
/linux-4.4.14/tools/lib/lockdep/include/liblockdep/ |
D | common.h | 42 int trylock, int read, int check,
|
/linux-4.4.14/kernel/locking/ |
D | lockdep.c | 1967 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/ |
D | dlmfs.txt | 93 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/ |
D | lockdep.h | 252 unsigned int trylock:1; /* 16 bits */ member 334 int trylock, int read, int check,
|
/linux-4.4.14/Documentation/ |
D | hwspinlock.txt | 302 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.
|
D | vgaarbiter.txt | 69 trylock <io_state> : non-blocking acquire locks on target (returns EBUSY if
|
/linux-4.4.14/kernel/ |
D | futex.c | 2380 ktime_t *time, int trylock) in futex_lock_pi() argument 2444 if (!trylock) { in futex_lock_pi()
|
/linux-4.4.14/sound/core/oss/ |
D | pcm_oss.c | 838 bool trylock) in snd_pcm_oss_change_params() argument 852 if (trylock) { in snd_pcm_oss_change_params()
|
/linux-4.4.14/arch/arm64/ |
D | Kconfig | 615 trylock() operations with the assumption that the code will not
|
/linux-4.4.14/arch/arm/mm/ |
D | Kconfig | 701 trylock() operations with the assumption that the code will not
|