Home
last modified time | relevance | path

Searched defs:ptr (Results 1 – 25 of 43) sorted by relevance

12

/bionic/libc/kernel/arch-arm/asm/
Dlocks.h22 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" "1: ldrex lr, [%0]\n" " … argument
24 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n… argument
25 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" "1: ldrex lr, [%0… argument
29 #define __down_op_write(ptr,fail) ({ __asm__ __volatile__( "@ down_op_write\n" "1: ldrex lr,… argument
30 #define __up_op_write(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_write\n" "1: l… argument
31 #define __down_op_read(ptr,fail) __down_op(ptr, fail) argument
32 #define __up_op_read(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op_read\n" "1: ldr… argument
35 #define __down_op(ptr,fail) ({ __asm__ __volatile__( "@ down_op\n" " mrs ip, cpsr\n" " orr … argument
36 #define __down_op_ret(ptr,fail) ({ unsigned int ret; __asm__ __volatile__( "@ down_op_ret\n… argument
37 #define __up_op(ptr,wake) ({ smp_mb(); __asm__ __volatile__( "@ up_op\n" " mrs ip, cpsr\n"… argument
[all …]
Dunaligned.h27 #define __get_unaligned_le(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switc… argument
29 #define __get_unaligned_be(ptr) ({ __typeof__(*(ptr)) __v; __u8 *__p = (__u8 *)(ptr); switc… argument
30 #define __put_unaligned_le(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); … argument
31 #define __put_unaligned_be(val,ptr) ({ switch (sizeof(*(ptr))) { case 1: *(ptr) = (val); … argument
Duaccess.h47 #define __get_user(x,ptr) ({ long __gu_err = 0; __get_user_err((x),(ptr),__gu_err); __gu_err… argument
49 #define __get_user_error(x,ptr,err) ({ __get_user_err((x),(ptr),err); (void) 0; }) argument
50 #define __get_user_err(x,ptr,err) do { unsigned long __gu_addr = (unsigned long)(ptr); unsigne… argument
60 #define __put_user(x,ptr) ({ long __pu_err = 0; __put_user_err((x),(ptr),__pu_err); __pu_err… argument
61 #define __put_user_error(x,ptr,err) ({ __put_user_err((x),(ptr),err); (void) 0; }) argument
62 #define __put_user_err(x,ptr,err) do { unsigned long __pu_addr = (unsigned long)(ptr); __typeo… argument
/bionic/libc/arch-arm/bionic/
Datomics_arm.c61 __atomic_cmpxchg(int old, int _new, volatile int *ptr) in __atomic_cmpxchg()
68 __atomic_swap(int _new, volatile int *ptr) in __atomic_swap()
78 __atomic_dec(volatile int *ptr) in __atomic_dec()
84 __atomic_inc(volatile int *ptr) in __atomic_inc()
/bionic/libc/kernel/arch-x86/asm/
Dcmpxchg_32.h22 #define xchg(ptr,v) ((__typeof__(*(ptr)))__xchg((unsigned long)(v),(ptr),sizeof(*(ptr)))) argument
29 #define set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit_constant(ptr, value) : … argument
30 #define _set_64bit(ptr,value) (__builtin_constant_p(value) ? __set_64bit(ptr, (unsigned int)(val… argument
31 #define cmpxchg(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3)) __r… argument
32 #define cmpxchg_local(ptr,o,n) ({ __typeof__(*(ptr)) __ret; if (likely(boot_cpu_data.x86 > 3))… argument
34 #define cmpxchg64(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64((ptr),(unsigned long long)(o), (unsig… argument
35 #define cmpxchg64_local(ptr,o,n) ((__typeof__(*(ptr)))__cmpxchg64_local((ptr),(unsigned long long)… argument
Duaccess_32.h47 #define __get_user_x(size,ret,x,ptr) __asm__ __volatile__("call __get_user_" #size :"=a" (ret),… argument
49 #define get_user(x,ptr) ({ int __ret_gu; unsigned long __val_gu; __chk_user_ptr(ptr); switch… argument
50 #define __put_user_1(x, ptr) __asm__ __volatile__("call __put_user_1":"=a" (__ret_pu):"0" ((typeof(… argument
51 #define __put_user_2(x, ptr) __asm__ __volatile__("call __put_user_2":"=a" (__ret_pu):"0" ((typeof(… argument
52 #define __put_user_4(x, ptr) __asm__ __volatile__("call __put_user_4":"=a" (__ret_pu):"0" ((typeof(… argument
54 #define __put_user_8(x, ptr) __asm__ __volatile__("call __put_user_8":"=a" (__ret_pu):"A" ((typeof(… argument
55 #define __put_user_X(x, ptr) __asm__ __volatile__("call __put_user_X":"=a" (__ret_pu):"c" (ptr)) argument
56 #define put_user(x,ptr) ({ int __ret_pu; __typeof__(*(ptr)) __pus_tmp = x; __ret_pu=0; if(… argument
57 #define __get_user(x,ptr) __get_user_nocheck((x),(ptr),sizeof(*(ptr))) argument
59 #define __put_user(x,ptr) __put_user_nocheck((__typeof__(*(ptr)))(x),(ptr),sizeof(*(ptr))) argument
[all …]
Dunaligned.h21 #define get_unaligned(ptr) (*(ptr)) argument
22 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) argument
/bionic/libc/include/sys/
Datomics.h50 __atomic_cmpxchg(int old_value, int new_value, volatile int* ptr) in __atomic_cmpxchg()
57 __atomic_swap(int new_value, volatile int *ptr) in __atomic_swap()
67 __atomic_dec(volatile int *ptr) in __atomic_dec()
73 __atomic_inc(volatile int *ptr) in __atomic_inc()
Depoll.h53 void *ptr; member
/bionic/libc/private/
Dbionic_atomic_gcc_builtin.h31 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg()
38 __bionic_swap(int32_t new_value, volatile int32_t* ptr) in __bionic_swap()
48 __bionic_atomic_inc(volatile int32_t* ptr) in __bionic_atomic_inc()
55 __bionic_atomic_dec(volatile int32_t* ptr) in __bionic_atomic_dec()
Dbionic_atomic_arm.h140 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg()
166 __kernel_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __kernel_cmpxchg()
173 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg()
187 __bionic_swap(int32_t new_value, volatile int32_t* ptr) in __bionic_swap()
204 __bionic_swap(int32_t new_value, volatile int32_t* ptr) in __bionic_swap()
221 __bionic_atomic_inc(volatile int32_t* ptr) in __bionic_atomic_inc()
239 __bionic_atomic_inc(volatile int32_t* ptr) in __bionic_atomic_inc()
255 __bionic_atomic_dec(volatile int32_t* ptr) in __bionic_atomic_dec()
273 __bionic_atomic_dec(volatile int32_t* ptr) in __bionic_atomic_dec()
Dbionic_atomic_x86.h42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg()
55 __bionic_swap(int32_t new_value, volatile int32_t *ptr) in __bionic_swap()
66 __bionic_atomic_inc(volatile int32_t *ptr) in __bionic_atomic_inc()
78 __bionic_atomic_dec(volatile int32_t *ptr) in __bionic_atomic_dec()
Dbionic_atomic_mips.h42 __bionic_cmpxchg(int32_t old_value, int32_t new_value, volatile int32_t* ptr) in __bionic_cmpxchg()
60 __bionic_swap(int32_t new_value, volatile int32_t *ptr) in __bionic_swap()
75 __bionic_atomic_inc(volatile int32_t *ptr) in __bionic_atomic_inc()
90 __bionic_atomic_dec(volatile int32_t *ptr) in __bionic_atomic_dec()
/bionic/libc/kernel/arch-mips/asm/
Dcmpxchg.h25 #define __cmpxchg(ptr, old, new, barrier) ({ __typeof__(ptr) __ptr = (ptr); __typeof__(*(ptr))… argument
26 #define cmpxchg(ptr, old, new) __cmpxchg(ptr, old, new, smp_llsc_mb()) argument
27 #define cmpxchg_local(ptr, old, new) __cmpxchg(ptr, old, new, ) argument
29 #define cmpxchg64(ptr, o, n) ({ BUILD_BUG_ON(sizeof(*(ptr)) != 8); cmpxchg((ptr), (o), (n)); … argument
31 #define cmpxchg64_local(ptr, o, n) __cmpxchg64_local_generic((ptr), (o), (n)) argument
Duaccess.h49 #define put_user(x,ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) argument
50 #define get_user(x,ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument
51 #define __put_user(x,ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
52 #define __get_user(x,ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument
56 #define __GET_USER_DW(val, ptr) __get_user_asm_ll32(val, ptr) argument
57 #define __get_user_common(val, size, ptr) do { switch (size) { case 1: __get_user_asm(val, "lb… argument
59 #define __get_user_nocheck(x, ptr, size) ({ long __gu_err; __get_user_common((x), size, ptr)… argument
60 #define __get_user_check(x, ptr, size) ({ long __gu_err = -EFAULT; const __typeof__(*(ptr)) __… argument
64 #define __PUT_USER_DW(ptr) __put_user_asm_ll32(ptr) argument
65 #define __put_user_nocheck(x, ptr, size) ({ __typeof__(*(ptr)) __pu_val; long __pu_err = 0; … argument
[all …]
Dsystem.h37 #define xchg(ptr, x) ((__typeof__(*(ptr)))__xchg((unsigned long)(x), (ptr), sizeof(*(ptr)))) argument
/bionic/libstdc++/src/
Dnew.cpp24 void operator delete(void* ptr) in operator delete()
29 void operator delete[](void* ptr) in operator delete[]()
44 void operator delete(void* ptr, const std::nothrow_t&) in operator delete()
49 void operator delete[](void* ptr, const std::nothrow_t&) in operator delete[]()
/bionic/libc/arch-mips/bionic/
D__set_tls.c32 int __set_tls(void *ptr) in __set_tls()
/bionic/libc/kernel/common/linux/
Dcompiler-gcc.h20 #define RELOC_HIDE(ptr, off) ({ unsigned long __ptr; __asm__ ("" : "=r"(__ptr) : "0"(ptr)); (… argument
Dpercpu.h34 #define per_cpu_ptr(ptr, cpu) ({ (void)(cpu); (ptr); }) argument
Dhighmem.h35 #define kmap_atomic_to_page(ptr) virt_to_page(ptr) argument
Dbinder.h85 void *ptr; member
101 } ptr; member
107 void *ptr; member
119 void *ptr; member
/bionic/libc/bionic/
Dmalloc_debug_qemu.cpp88 void* ptr; member
140 void* ptr; member
175 void* ptr; member
472 static inline int query_qemu_malloc_info(void* ptr, MallocDesc* desc, uint32_t routine) { in query_qemu_malloc_info()
/bionic/libc/arch-x86/bionic/
D__set_tls.c72 int __set_tls(void *ptr) in __set_tls()
/bionic/libc/netbsd/nameser/
Dns_parse.c79 ns_skiprr(const u_char *ptr, const u_char *eom, ns_sect section, int count) { in ns_skiprr()

12