Home
last modified time | relevance | path

Searched refs:local_read (Results 1 – 3 of 3) sorted by relevance

/bionic/libc/kernel/common/asm-generic/
Dlocal.h32 #define local_read(l) atomic_long_read(&(l)->a) macro
40 #define __local_inc(l) local_set((l), local_read(l) + 1)
41 #define __local_dec(l) local_set((l), local_read(l) - 1)
42 #define __local_add(i,l) local_set((l), local_read(l) + (i))
44 #define __local_sub(i,l) local_set((l), local_read(l) - (i))
45 #define cpu_local_read(v) local_read(&__get_cpu_var(v))
/bionic/libc/kernel/arch-x86/asm/
Dlocal_32.h31 #define local_read(l) atomic_long_read(&(l)->a) macro
39 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); for (;;) { if (unlike…
49 #define cpu_local_read(l) cpu_local_wrap_v(local_read(&__get_cpu_var(l)))
/bionic/libc/kernel/arch-mips/asm/
Dlocal.h34 #define local_read(l) atomic_long_read(&(l)->a) macro
44 #define local_add_unless(l, a, u) ({ long c, old; c = local_read(l); while (c != (u) && (old…
61 #define cpu_local_read(l) cpu_local_wrap_v(local_read(&__get_cpu_var(l)))