/linux-2.6.39/include/asm-generic/ |
D | atomic.h | 56 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 93 return atomic_add_return(i, v) < 0; in atomic_add_negative() 98 atomic_add_return(i, v); in atomic_add() 108 atomic_add_return(1, v); in atomic_inc() 117 #define atomic_inc_return(v) atomic_add_return(1, (v)) 121 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0)
|
/linux-2.6.39/arch/frv/include/asm/ |
D | atomic.h | 43 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 87 extern int atomic_add_return(int i, atomic_t *v); 94 return atomic_add_return(i, v) < 0; in atomic_add_negative() 99 atomic_add_return(i, v); in atomic_add() 109 atomic_add_return(1, v); in atomic_inc() 118 #define atomic_inc_return(v) atomic_add_return(1, (v)) 122 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0)
|
/linux-2.6.39/arch/avr32/include/asm/ |
D | atomic.h | 57 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 179 #define atomic_add(i, v) (void)atomic_add_return(i, v) 184 #define atomic_inc_return(v) atomic_add_return(1, v) 187 #define atomic_inc_and_test(v) (atomic_add_return(1, v) == 0) 189 #define atomic_add_negative(i, v) (atomic_add_return(i, v) < 0)
|
/linux-2.6.39/kernel/ |
D | rtmutex-tester.c | 64 td->event = atomic_add_return(1, &rttest_event); in handle_op() 94 td->event = atomic_add_return(1, &rttest_event); in handle_op() 96 td->event = atomic_add_return(1, &rttest_event); in handle_op() 107 td->event = atomic_add_return(1, &rttest_event); in handle_op() 109 td->event = atomic_add_return(1, &rttest_event); in handle_op() 118 td->event = atomic_add_return(1, &rttest_event); in handle_op() 120 td->event = atomic_add_return(1, &rttest_event); in handle_op() 167 td->event = atomic_add_return(1, &rttest_event); in schedule_rt_mutex_test() 187 td->event = atomic_add_return(1, &rttest_event); in schedule_rt_mutex_test() 199 td->event = atomic_add_return(1, &rttest_event); in schedule_rt_mutex_test()
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | rwsem.h | 32 if (atomic_add_return(1,(atomic_t *)(&sem->count)) > 0) in __down_read() 59 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 117 tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); in __downgrade_write() 128 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
D | atomic.h | 112 static inline int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 175 #define atomic_inc_return(v) atomic_add_return(1,(v)) 211 #define atomic_inc_and_test(v) (atomic_add_return(1,(v)) == 0) 222 #define atomic_add_negative(i,v) (atomic_add_return((i),(v)) < 0)
|
/linux-2.6.39/arch/mn10300/include/asm/ |
D | atomic.h | 162 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 233 return atomic_add_return(i, v) < 0; in atomic_add_negative() 238 atomic_add_return(i, v); in atomic_add() 248 atomic_add_return(1, v); in atomic_inc() 257 #define atomic_inc_return(v) atomic_add_return(1, (v)) 261 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0)
|
/linux-2.6.39/arch/tile/include/asm/ |
D | atomic.h | 45 #define atomic_sub_return(i, v) atomic_add_return((int)(-(i)), (v)) 72 #define atomic_inc_return(v) atomic_add_return(1, (v)) 122 #define atomic_add_negative(i, v) (atomic_add_return((i), (v)) < 0)
|
/linux-2.6.39/arch/frv/lib/ |
D | atomic-ops.S | 88 # int atomic_add_return(int i, atomic_t *v) 91 .globl atomic_add_return 92 .type atomic_add_return,@function 93 atomic_add_return: label 106 .size atomic_add_return, .-atomic_add_return
|
/linux-2.6.39/arch/sh/include/asm/ |
D | rwsem.h | 54 tmp = atomic_add_return(RWSEM_ACTIVE_WRITE_BIAS, in __down_write() 112 tmp = atomic_add_return(-RWSEM_WAITING_BIAS, (atomic_t *)(&sem->count)); in __downgrade_write() 128 return atomic_add_return(delta, (atomic_t *)(&sem->count)); in rwsem_atomic_update()
|
D | atomic.h | 27 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 29 #define atomic_inc_return(v) atomic_add_return(1, (v))
|
D | atomic-grb.h | 42 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
D | atomic-llsc.h | 45 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function
|
/linux-2.6.39/arch/s390/include/asm/ |
D | atomic.h | 54 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 58 #define atomic_add(_i, _v) atomic_add_return(_i, _v) 59 #define atomic_add_negative(_i, _v) (atomic_add_return(_i, _v) < 0) 60 #define atomic_inc(_v) atomic_add_return(1, _v) 61 #define atomic_inc_return(_v) atomic_add_return(1, _v) 62 #define atomic_inc_and_test(_v) (atomic_add_return(1, _v) == 0)
|
/linux-2.6.39/arch/arm/include/asm/ |
D | atomic.h | 53 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 156 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 168 #define atomic_add(i, v) (void) atomic_add_return(i, v) 225 #define atomic_inc_and_test(v) (atomic_add_return(1, v) == 0) 227 #define atomic_inc_return(v) (atomic_add_return(1, v)) 231 #define atomic_add_negative(i,v) (atomic_add_return(i, v) < 0)
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | atomic.h | 127 #define atomic_add_return(i,v) \ macro 158 return atomic_add_return(i, v) < 0; in atomic_add_negative() 192 #define atomic_inc_return(v) atomic_add_return(1, (v)) 198 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0) 203 #define atomic_add(i,v) atomic_add_return((i), (v))
|
/linux-2.6.39/arch/blackfin/include/asm/ |
D | atomic.h | 49 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 90 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 92 #define atomic_inc_return(v) atomic_add_return(1,(v))
|
/linux-2.6.39/arch/alpha/include/asm/ |
D | atomic.h | 96 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 230 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0) 236 #define atomic_inc_return(v) atomic_add_return(1,(v)) 242 #define atomic_inc_and_test(v) (atomic_add_return(1, (v)) == 0)
|
/linux-2.6.39/arch/h8300/include/asm/ |
D | atomic.h | 19 static __inline__ int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 29 #define atomic_add(i, v) atomic_add_return(i, v) 30 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
/linux-2.6.39/arch/x86/include/asm/ |
D | atomic.h | 173 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 207 return atomic_add_return(-i, v); in atomic_sub_return() 210 #define atomic_inc_return(v) (atomic_add_return(1, v))
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | atomic.h | 47 static __inline__ int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 109 #define atomic_add(i,v) ((void) atomic_add_return((i), (v))) 236 #define atomic_add_negative(i,v) (atomic_add_return((i), (v)) < 0)
|
/linux-2.6.39/arch/m68k/include/asm/ |
D | atomic.h | 67 static inline int atomic_add_return(int i, atomic_t *v) in atomic_add_return() function 100 static inline int atomic_add_return(int i, atomic_t * v) in atomic_add_return() function 156 #define atomic_inc_return(v) atomic_add_return(1, (v))
|
/linux-2.6.39/arch/sparc/include/asm/ |
D | atomic_32.h | 35 #define atomic_add_return(i, v) (__atomic_add_return( (int)(i), (v))) macro 40 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
/linux-2.6.39/arch/cris/include/asm/ |
D | atomic.h | 39 static inline int atomic_add_return(int i, volatile atomic_t *v) in atomic_add_return() function 49 #define atomic_add_negative(a, v) (atomic_add_return((a), (v)) < 0)
|
/linux-2.6.39/include/linux/ |
D | jump_label_ref.h | 11 if (atomic_add_return(1, key) == 1) in jump_label_inc()
|