Searched refs:rwsem_atomic_update (Results 1 – 9 of 9) sorted by relevance
| /linux-4.4.14/kernel/locking/ |
| D | rwsem-xadd.c | 149 oldcount = rwsem_atomic_update(adjustment, sem) - adjustment; in __rwsem_do_wake() 152 if (rwsem_atomic_update(-adjustment, sem) & in __rwsem_do_wake() 231 count = rwsem_atomic_update(adjustment, sem); in rwsem_down_read_failed() 268 rwsem_atomic_update(RWSEM_WAITING_BIAS, sem); in rwsem_try_write_lock() 444 count = rwsem_atomic_update(-RWSEM_ACTIVE_WRITE_BIAS, sem); in rwsem_down_write_failed() 478 count = rwsem_atomic_update(RWSEM_WAITING_BIAS, sem); in rwsem_down_write_failed()
|
| /linux-4.4.14/arch/x86/include/asm/ |
| D | rwsem.h | 219 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/arch/xtensa/include/asm/ |
| D | rwsem.h | 125 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/arch/sparc/include/asm/ |
| D | rwsem.h | 117 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/include/asm-generic/ |
| D | rwsem.h | 133 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/arch/sh/include/asm/ |
| D | rwsem.h | 125 static inline int rwsem_atomic_update(int delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/arch/ia64/include/asm/ |
| D | rwsem.h | 143 #define rwsem_atomic_update(delta, sem) atomic64_add_return(delta, (atomic64_t *)(&(sem)->count)) macro
|
| /linux-4.4.14/arch/s390/include/asm/ |
| D | rwsem.h | 221 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
| /linux-4.4.14/arch/alpha/include/asm/ |
| D | rwsem.h | 199 static inline long rwsem_atomic_update(long val, struct rw_semaphore *sem) in rwsem_atomic_update() function
|