/linux-4.1.27/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() 75 ret = ocfs2_file_lock(file, level, trylock); in ocfs2_do_flock() 77 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.1.27/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.1.27/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() 225 if (trylock != 0) { in xfs_filestream_pick_ag() 226 trylock = 0; in xfs_filestream_pick_ag()
|
D | xfs_icache.c | 1027 int trylock = flags & SYNC_TRYLOCK; in xfs_reclaim_inodes_ag() local 1040 if (trylock) { in xfs_reclaim_inodes_ag() 1115 if (trylock && !done) in xfs_reclaim_inodes_ag() 1131 trylock = 0; in xfs_reclaim_inodes_ag()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_modeset_lock.c | 71 bool trylock) in __drm_modeset_lock_all() argument 78 trylock ? GFP_ATOMIC : GFP_KERNEL); in __drm_modeset_lock_all() 82 if (trylock) { in __drm_modeset_lock_all() 90 ctx->trylock_only = trylock; in __drm_modeset_lock_all()
|
/linux-4.1.27/drivers/hwspinlock/ |
D | hwspinlock_internal.h | 37 int (*trylock)(struct hwspinlock *lock); member
|
D | hwspinlock_core.c | 120 ret = hwlock->bank->ops->trylock(hwlock); in __hwspin_trylock() 331 if (!bank || !ops || !dev || !num_locks || !ops->trylock || in hwspin_lock_register()
|
D | omap_hwspinlock.c | 76 .trylock = omap_hwspinlock_trylock,
|
D | u8500_hsem.c | 89 .trylock = u8500_hsem_trylock,
|
/linux-4.1.27/tools/lib/lockdep/include/liblockdep/ |
D | common.h | 42 int trylock, int read, int check,
|
/linux-4.1.27/include/drm/ |
D | drm_modeset_lock.h | 133 int __drm_modeset_lock_all(struct drm_device *dev, bool trylock);
|
/linux-4.1.27/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() 3362 hlock_class(hlock)->subclass, hlock->trylock, in __lock_set_class() 3446 hlock_class(hlock)->subclass, hlock->trylock, in lock_release_non_nested() 3610 int trylock, int read, int check, in lock_acquire() argument 3622 trace_lock_acquire(lock, subclass, trylock, read, check, nest_lock, ip); in lock_acquire() [all …]
|
/linux-4.1.27/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.1.27/include/linux/ |
D | lockdep.h | 252 unsigned int trylock:1; /* 16 bits */ member 333 int trylock, int read, int check,
|
/linux-4.1.27/fs/ |
D | super.c | 1171 static void acquire_freeze_lock(struct super_block *sb, int level, bool trylock, in acquire_freeze_lock() argument 1176 if (!trylock) { in acquire_freeze_lock() 1179 trylock = true; in acquire_freeze_lock() 1183 rwsem_acquire_read(&sb->s_writers.lock_map[level-1], 0, trylock, ip); in acquire_freeze_lock()
|
/linux-4.1.27/Documentation/ |
D | hwspinlock.txt | 292 int (*trylock)(struct hwspinlock *lock); 299 The ->trylock() callback should make a single attempt to take the lock, and 307 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.1.27/kernel/ |
D | futex.c | 2272 ktime_t *time, int trylock) in futex_lock_pi() argument 2332 if (!trylock) { in futex_lock_pi()
|
/linux-4.1.27/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.1.27/arch/arm64/ |
D | Kconfig | 634 trylock() operations with the assumption that the code will not
|
/linux-4.1.27/arch/arm/mm/ |
D | Kconfig | 685 trylock() operations with the assumption that the code will not
|