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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/trace/events/
H A 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);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/
H A Dlocks.c42 int ret = 0, level = 0, trylock = 0; local
49 trylock = 1;
76 ret = ocfs2_file_lock(file, level, trylock);
78 if (ret == -EAGAIN && trylock)
H A Ddlmglue.h151 int ocfs2_file_lock(struct file *file, int ex, int trylock);
H A Ddlmglue.c1893 int ocfs2_file_lock(struct file *file, int ex, int trylock) argument
1896 unsigned int lkm_flags = trylock ? DLM_LKF_NOQUEUE : 0;
1948 if (!trylock || (ret != -EAGAIN)) {
1978 BUG_ON(!trylock);
1984 mlog(0, "Lock: \"%s\" ex: %d, trylock: %d, returns: %d\n",
1985 lockres->l_name, ex, trylock, ret);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/
H A Dxfs_filestream.c216 int err, trylock, nscan; local
228 trylock = XFS_ALLOC_FLAG_TRYLOCK;
235 err = xfs_alloc_pagf_init(mp, NULL, ag, trylock);
236 if (err && !trylock) {
242 /* Might fail sometimes during the 1st pass with trylock set. */
291 if (trylock != 0) {
292 trylock = 0;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/kernel/
H A Dlockdep.c1715 * all consecutive trylock entries and the final non-trylock entry - or
1752 * Stop after the first non-trylock entry,
1753 * as non-trylock entries have added their
1757 if (!hlock->trylock)
1895 * does not add new dependencies, because trylock can be done
1903 if (!hlock->trylock && (hlock->check == 2) &&
1924 * trylock entries):
2486 * If non-trylock use in a hardirq or softirq context, then
2489 if (!hlock->trylock) {
2711 __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) argument
3199 lock_acquire(struct lockdep_map *lock, unsigned int subclass, int trylock, int read, int check, struct lockdep_map *nest_lock, unsigned long ip) argument
[all...]
H A Dfutex.c1892 int detect, ktime_t *time, int trylock)
1954 if (!trylock)
1958 /* Fixup the trylock return value: */
1891 futex_lock_pi(u32 __user *uaddr, int fshared, int detect, ktime_t *time, int trylock) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dlockdep.h223 unsigned int trylock:1; /* 16 bits */ member in struct:held_lock
305 int trylock, int read, int check,

Completed in 91 milliseconds