Home
last modified time | relevance | path

Searched refs:atomic_sub (Results 1 – 25 of 27) sorted by relevance

12

/arch/tile/include/asm/
Datomic.h56 #define atomic_sub(i, v) atomic_add((int)(-(i)), (v)) macro
98 #define atomic_dec(v) atomic_sub(1, (v))
/arch/s390/include/asm/
Dtlbflush.h79 atomic_sub(0x10000, &mm->context.attach_count); in __tlb_flush_full()
107 atomic_sub(0x10000, &mm->context.attach_count); in __tlb_flush_asce()
Datomic.h115 #define atomic_sub(_i, _v) atomic_add(-(int)(_i), _v) macro
118 #define atomic_dec(_v) atomic_sub(1, _v)
Dpgtable.h1024 atomic_sub(0x10000, &mm->context.attach_count); in ptep_flush_direct()
1041 atomic_sub(0x10000, &mm->context.attach_count); in ptep_flush_lazy()
1507 atomic_sub(0x10000, &mm->context.attach_count); in pmdp_flush_direct()
1526 atomic_sub(0x10000, &mm->context.attach_count); in pmdp_flush_lazy()
/arch/avr32/include/asm/
Datomic.h184 #define atomic_sub(i, v) (void)atomic_sub_return(i, v) macro
186 #define atomic_dec(v) atomic_sub(1, (v))
/arch/metag/include/asm/
Datomic.h39 #define atomic_dec(v) atomic_sub(1, (v))
/arch/sparc/include/asm/
Datomic_32.h34 #define atomic_sub(i, v) ((void)atomic_add_return(-(int)(i), (v))) macro
Datomic_64.h70 #define atomic_dec(v) atomic_sub(1, v) in ATOMIC_OPS()
/arch/sh/include/asm/
Datomic.h36 #define atomic_dec(v) atomic_sub(1, (v))
/arch/m68k/amiga/
Dchipram.c88 atomic_sub(size, &chipavail); in amiga_chip_alloc_res()
/arch/hexagon/include/asm/
Datomic.h180 #define atomic_dec(v) atomic_sub(1, (v))
/arch/ia64/include/asm/
Datomic.h203 #define atomic_sub(i,v) (void)atomic_sub_return((i), (v)) macro
205 #define atomic_dec(v) atomic_sub(1, (v))
/arch/h8300/include/asm/
Datomic.h54 #define atomic_sub(i, v) (void)atomic_sub_return(i, v) macro
/arch/x86/include/asm/
Datomic.h62 static __always_inline void atomic_sub(int i, atomic_t *v) in atomic_sub() function
/arch/xtensa/include/asm/
Datomic.h189 #define atomic_dec(v) atomic_sub(1,(v)) in ATOMIC_OPS()
/arch/arc/include/asm/
Datomic.h221 #define atomic_dec(v) atomic_sub(1, v)
/arch/frv/include/asm/
Datomic.h68 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub() function
/arch/arm64/include/asm/
Datomic.h93 #define atomic_dec(v) atomic_sub(1, (v))
Datomic_lse.h122 static inline void atomic_sub(int i, atomic_t *v) in atomic_sub() function
/arch/alpha/include/asm/
Datomic.h251 #define atomic_dec(v) atomic_sub(1,(v))
/arch/arm/include/asm/
Datomic.h209 #define atomic_dec(v) atomic_sub(1, v)
/arch/mips/include/asm/
Datomic.h296 #define atomic_dec(v) atomic_sub(1, (v))
/arch/mips/kernel/
Dsmp-cps.c392 atomic_sub(1 << cpu_vpe_id(&current_cpu_data), &core_cfg->vpe_mask); in cps_cpu_disable()
/arch/tile/kernel/
Dprocess.c689 atomic_sub(cpumask_weight(&mask), &backtrace_cpus); in arch_trigger_all_cpu_backtrace()
/arch/x86/kernel/cpu/
Dperf_event_intel_uncore_nhmex.c619 atomic_sub(1 << (idx * 8), &er->ref); in nhmex_mbox_put_shared_reg()
1072 atomic_sub(1 << ((idx - 2) * 8), &er->ref); in nhmex_rbox_put_constraint()

12