/arch/metag/include/asm/ |
D | atomic.h | 24 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro 34 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/h8300/include/asm/ |
D | atomic.h | 75 #define atomic_inc_return(v) atomic_add_return(1, v) macro 78 #define atomic_inc(v) (void)atomic_inc_return(v) 79 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/sh/include/asm/ |
D | atomic.h | 37 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro 38 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/ia64/kernel/ |
D | crash.c | 97 if (atomic_inc_return(&kdump_in_progress) != 1) in machine_crash_shutdown() 197 if (atomic_inc_return(&kdump_in_progress) != 1) in kdump_init_notifier() 209 if (atomic_inc_return(&kdump_in_progress) == 1) in kdump_init_notifier()
|
/arch/sparc/include/asm/ |
D | atomic_32.h | 49 #define atomic_inc_return(v) (atomic_add_return( 1, (v))) macro 62 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
D | atomic_64.h | 56 #define atomic_inc_return(v) atomic_add_return(1, v) in ATOMIC_OPS() macro 67 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0) in ATOMIC_OPS()
|
/arch/m32r/include/asm/ |
D | atomic.h | 151 static __inline__ int atomic_inc_return(atomic_t *v) in ATOMIC_OPS() 207 #define atomic_inc(v) ((void)atomic_inc_return(v)) 225 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/tile/include/asm/ |
D | atomic.h | 76 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro 116 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/frv/include/asm/ |
D | atomic.h | 38 static inline int atomic_inc_return(atomic_t *v) in atomic_inc_return() function 65 atomic_inc_return(v); in atomic_inc()
|
/arch/arm64/include/asm/ |
D | atomic.h | 67 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro 124 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/hexagon/include/asm/ |
D | atomic.h | 210 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
|
/arch/mn10300/include/asm/ |
D | atomic.h | 141 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
|
/arch/parisc/include/asm/ |
D | atomic.h | 166 #define atomic_inc_return(v) (atomic_add_return( 1,(v))) macro 179 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/powerpc/perf/ |
D | 8xx-pmu.c | 94 if (atomic_inc_return(&insn_ctr_ref) == 1) in mpc8xx_pmu_add()
|
/arch/arm/mach-cns3xxx/ |
D | cns3420vb.c | 139 if (atomic_inc_return(&usb_pwr_ref) == 1) { in csn3xxx_usb_power_on()
|
D | core.c | 315 if (atomic_inc_return(&usb_pwr_ref) == 1) { in csn3xxx_usb_power_on()
|
/arch/xtensa/include/asm/ |
D | atomic.h | 225 #define atomic_inc_return(v) atomic_add_return(1,(v)) in ATOMIC_OPS() macro
|
/arch/x86/include/asm/ |
D | atomic.h | 172 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
|
/arch/sh/kernel/ |
D | ftrace.c | 132 if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) { in arch_ftrace_nmi_enter()
|
/arch/mips/include/asm/ |
D | atomic.h | 302 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro 323 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
|
/arch/m68k/include/asm/ |
D | atomic.h | 194 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
|
/arch/s390/include/asm/ |
D | atomic.h | 60 #define atomic_inc_return(_v) atomic_add_return(1, _v) macro
|
/arch/blackfin/kernel/ |
D | ipipe.c | 173 atomic_inc_return(&__ipipe_irq_lvdepth[prio]) == 1) in __ipipe_enable_irqdesc()
|
/arch/alpha/include/asm/ |
D | atomic.h | 294 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
|
/arch/x86/mm/ |
D | mmio-mod.c | 261 .id = atomic_inc_return(&next_id) in ioremap_trace_core()
|