Searched refs:__cond_lock (Results 1 – 6 of 6) sorted by relevance
/include/linux/ |
D | rwlock.h | 61 #define read_trylock(lock) __cond_lock(lock, _raw_read_trylock(lock)) 62 #define write_trylock(lock) __cond_lock(lock, _raw_write_trylock(lock))
|
D | spinlock.h | 186 #define raw_spin_trylock(lock) __cond_lock(lock, _raw_spin_trylock(lock)) 258 __cond_lock(lock, _raw_spin_trylock_bh(lock)) 419 __cond_lock(lock, _atomic_dec_and_lock(atomic, lock))
|
D | compiler.h | 18 # define __cond_lock(x,c) ((c) ? ({ __acquire(x); 1; }) : 0) macro 42 # define __cond_lock(x,c) (c) macro
|
D | rmap.h | 198 __cond_lock(*ptlp, ptep = __page_check_address(page, mm, address, in page_check_address()
|
D | mm.h | 1369 __cond_lock(*ptl, ptep = __get_locked_pte(mm, addr, ptl)); in get_locked_pte()
|
D | sched.h | 2706 (void)__cond_lock(&tsk->sighand->siglock, ret); in lock_task_sighand()
|