HomeSort by relevance Sort by last modified time
    Searched refs:cmpxchg (Results 1 - 17 of 17) sorted by null

  /bionic/libc/kernel/arch-x86/asm/
atomic_32.h 17 #include <asm/cmpxchg.h>
27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
system_32.h 18 #include <asm/cmpxchg.h>
cmpxchg_32.h 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
  /development/ndk/platforms/android-5/arch-x86/include/asm/
atomic_32.h 17 #include <asm/cmpxchg.h>
27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
system_32.h 18 #include <asm/cmpxchg.h>
cmpxchg_32.h 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
  /prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/
atomic_32.h 17 #include <asm/cmpxchg.h>
27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
system_32.h 18 #include <asm/cmpxchg.h>
cmpxchg_32.h 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
  /prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/
atomic_32.h 17 #include <asm/cmpxchg.h>
27 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
system_32.h 18 #include <asm/cmpxchg.h>
cmpxchg_32.h 27 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __ret = __cmpxchg((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); else __ret = cmpxchg_386((ptr), (unsigned long)(o), (unsigned long)(n), sizeof(*(ptr))); __ret; }) macro
  /bionic/libc/kernel/arch-sh/asm/
system.h 38 #include <asm/cmpxchg-irq.h>
46 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) _o_ = (o); __typeof__(*(ptr)) _n_ = (n); (__typeof__(*(ptr))) __cmpxchg((ptr), (unsigned long)_o_, (unsigned long)_n_, sizeof(*(ptr))); }) macro
  /external/kernel-headers/original/asm-x86/
atomic_32.h 6 #include <asm/cmpxchg.h>
218 #define atomic_cmpxchg(v, old, new) (cmpxchg(&((v)->counter), (old), (new)))
cmpxchg_32.h 108 #define cmpxchg(ptr,o,n)\ macro
209 * simulate the cmpxchg on the 80386 CPU. For that purpose we define
231 #define cmpxchg(ptr,o,n) \ macro
system_32.h 7 #include <asm/cmpxchg.h>
  /bionic/libc/arch-x86/bionic/
atomics_x86.S 87 lock cmpxchg %ecx, (%edx)

Completed in 609 milliseconds