Home
last modified time | relevance | path

Searched refs:atomic_inc_return (Results 1 – 25 of 37) sorted by relevance

12

/arch/metag/include/asm/
Datomic.h24 #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/
Datomic.h75 #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/
Datomic.h37 #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/
Dcrash.c97 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/
Datomic_32.h49 #define atomic_inc_return(v) (atomic_add_return( 1, (v))) macro
62 #define atomic_inc_and_test(v) (atomic_inc_return(v) == 0)
Datomic_64.h56 #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/
Datomic.h151 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/
Datomic.h76 #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/
Datomic.h38 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/
Datomic.h67 #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/
Datomic.h210 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
/arch/mn10300/include/asm/
Datomic.h141 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
/arch/parisc/include/asm/
Datomic.h166 #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/
D8xx-pmu.c94 if (atomic_inc_return(&insn_ctr_ref) == 1) in mpc8xx_pmu_add()
/arch/arm/mach-cns3xxx/
Dcns3420vb.c139 if (atomic_inc_return(&usb_pwr_ref) == 1) { in csn3xxx_usb_power_on()
Dcore.c315 if (atomic_inc_return(&usb_pwr_ref) == 1) { in csn3xxx_usb_power_on()
/arch/xtensa/include/asm/
Datomic.h225 #define atomic_inc_return(v) atomic_add_return(1,(v)) in ATOMIC_OPS() macro
/arch/x86/include/asm/
Datomic.h172 #define atomic_inc_return(v) (atomic_add_return(1, v)) macro
/arch/sh/kernel/
Dftrace.c132 if (atomic_inc_return(&nmi_running) & MOD_CODE_WRITE_FLAG) { in arch_ftrace_nmi_enter()
/arch/mips/include/asm/
Datomic.h302 #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/
Datomic.h194 #define atomic_inc_return(v) atomic_add_return(1, (v)) macro
/arch/s390/include/asm/
Datomic.h60 #define atomic_inc_return(_v) atomic_add_return(1, _v) macro
/arch/blackfin/kernel/
Dipipe.c173 atomic_inc_return(&__ipipe_irq_lvdepth[prio]) == 1) in __ipipe_enable_irqdesc()
/arch/alpha/include/asm/
Datomic.h294 #define atomic_inc_return(v) atomic_add_return(1,(v)) macro
/arch/x86/mm/
Dmmio-mod.c261 .id = atomic_inc_return(&next_id) in ioremap_trace_core()

12