Searched refs:rwsem_atomic_update (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/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() 430 count = rwsem_atomic_update(-RWSEM_ACTIVE_WRITE_BIAS, sem); in rwsem_down_write_failed() 464 count = rwsem_atomic_update(RWSEM_WAITING_BIAS, sem); in rwsem_down_write_failed()
|
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/include/asm-generic/ |
D | rwsem.h | 126 static inline long rwsem_atomic_update(long delta, struct rw_semaphore *sem) in rwsem_atomic_update() function
|
/linux-4.1.27/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.1.27/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.1.27/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
|