Home
last modified time | relevance | path

Searched defs:val (Results 1 – 25 of 40) sorted by relevance

12

/bionic/libc/kernel/arch-x86/asm/
Dpercpu_32.h29 #define percpu_to_op(op,var,val) do { typedef typeof(var) T__; if (0) { T__ tmp__; tmp__ = (v… argument
32 #define x86_write_percpu(var,val) percpu_to_op("mov", per_cpu__##var, val) argument
34 #define x86_add_percpu(var,val) percpu_to_op("add", per_cpu__##var, val) argument
35 #define x86_sub_percpu(var,val) percpu_to_op("sub", per_cpu__##var, val) argument
36 #define x86_or_percpu(var,val) percpu_to_op("or", per_cpu__##var, val) argument
Dpda.h59 #define pda_to_op(op,field,val) do { typedef typeof(_proxy_pda.field) T__; if (0) { T__ tmp__; … argument
62 #define write_pda(field,val) pda_to_op("mov",field,val) argument
64 #define add_pda(field,val) pda_to_op("add",field,val) argument
65 #define sub_pda(field,val) pda_to_op("sub",field,val) argument
66 #define or_pda(field,val) pda_to_op("or",field,val) argument
Dunaligned.h22 #define put_unaligned(val, ptr) ((void)( *(ptr) = (val) )) argument
Dbyteorder.h36 static __inline__ __attribute_const__ __u64 ___arch__swab64(__u64 val) in ___arch__swab64()
Dmc146818rtc_32.h47 #define CMOS_WRITE(val, addr) rtc_cmos_write(val, addr) argument
Dposix_types_32.h59 int val[2]; member
/bionic/libc/kernel/arch-mips/asm/
Dmipsregs.h475 #define write_r10k_perf_cntr(counter,val) do { __asm__ __volatile__( "mtpc\t%0, %1" : : "r… argument
477 #define write_r10k_perf_cntl(counter,val) do { __asm__ __volatile__( "mtps\t%0, %1" : : "r… argument
485 #define __write_ulong_c0_register(reg, sel, val) do { if (sizeof(unsigned long) == 4) __write_… argument
490 #define __write_64bit_c0_split(source, sel, val) do { unsigned long __flags; local_irq_save(… argument
492 #define write_c0_index(val) __write_32bit_c0_register($0, 0, val) argument
495 #define write_c0_random(val) __write_32bit_c0_register($1, 0, val) argument
497 #define write_c0_entrylo0(val) __write_ulong_c0_register($2, 0, val) argument
500 #define write_c0_entrylo1(val) __write_ulong_c0_register($3, 0, val) argument
502 #define write_c0_conf(val) __write_32bit_c0_register($3, 0, val) argument
505 #define write_c0_context(val) __write_ulong_c0_register($4, 0, val) argument
[all …]
Dmipsmtregs.h26 #define write_c0_mvpcontrol(val) __write_32bit_c0_register($0, 1, val) argument
31 #define write_c0_vpecontrol(val) __write_32bit_c0_register($1, 1, val) argument
34 #define write_c0_vpeconf0(val) __write_32bit_c0_register($1, 2, val) argument
36 #define write_c0_tcstatus(val) __write_32bit_c0_register($2, 1, val) argument
40 #define write_c0_tccontext(val) __write_32bit_c0_register($2, 5, val) argument
169 #define write_vpe_c0_vpecontrol(val) mttc0(1, 1, val) argument
171 #define write_vpe_c0_vpeconf0(val) mttc0(1, 2, val) argument
174 #define write_vpe_c0_count(val) mttc0(9, 0, val) argument
176 #define write_vpe_c0_status(val) mttc0(12, 0, val) argument
179 #define write_vpe_c0_cause(val) mttc0(13, 0, val) argument
[all …]
Dposix_types.h75 long val[2]; member
79 int val[2]; member
Duaccess.h56 #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
61 #define __get_user_asm(val, insn, addr) { long __gu_tmp; __asm__ __volatile__( "1: " insn … argument
62 #define __get_user_asm_ll32(val, addr) { union { unsigned long long l; __typeof__(*(addr)) t… argument
/bionic/libc/kernel/common/linux/
Dpreempt.h24 #define add_preempt_count(val) do { preempt_count() += (val); } while (0) argument
25 #define sub_preempt_count(val) do { preempt_count() -= (val); } while (0) argument
Dvt_buffer.h22 #define scr_writew(val, addr) (*(addr) = (val)) argument
Dswap.h57 unsigned long val; member
Dppdev.h29 unsigned char val; member
/bionic/libc/upstream-netbsd/common/lib/libc/inet/
Dinet_addr.c111 struct in_addr val; in __weak_alias() local
127 uint32_t val; in inet_aton() local
/bionic/libc/kernel/arch-arm/asm/
Dunaligned.h30 #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
Dcacheflush.h90 #define __cacheid_present(val) (val != read_cpuid(CPUID_ID)) argument
91 #define __cacheid_vivt(val) ((val & (15 << 25)) != (14 << 25)) argument
92 #define __cacheid_vipt(val) ((val & (15 << 25)) == (14 << 25)) argument
94 #define __cacheid_vipt_nonaliasing(val) ((val & (15 << 25 | 1 << 23)) == (14 << 25)) argument
95 #define __cacheid_vipt_aliasing(val) ((val & (15 << 25 | 1 << 23)) == (14 << 25 | 1 << 23)) argument
Dmc146818rtc.h30 #define CMOS_WRITE(val, addr) ({ outb_p((addr),RTC_PORT(0)); outb_p((val),RTC_PORT(1)); }) argument
Dposix_types.h59 int val[2]; member
/bionic/libc/bionic/
Darc4random.c177 u_int8_t val; in __arc4_getbyte() local
190 u_int32_t val; in arc4_getword() local
219 u_int32_t val; in arc4random() local
Dsemaphore.c72 #define SEMCOUNT_FROM_VALUE(val) (((val) << SEMCOUNT_VALUE_SHIFT) & SEMCOUNT_VALUE_MASK) argument
389 int val; in sem_getvalue() local
Dpthread.c49 int __futex_wake_ex(volatile void *ftx, int pshared, int val) in __futex_wake_ex()
54 int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout) in __futex_wait_ex()
184 #define FIELD_TO_BITS(val,shift,bits) (((val) & ((1 << (bits))-1)) << (shift)) argument
187 #define FIELD_FROM_BITS(val,shift,bits) (((val) >> (shift)) & ((1 << (bits))-1)) argument
/bionic/libc/upstream-netbsd/libc/inet/
Dinet_pton.c102 u_int32_t val; in inet_pton4() local
230 u_int val; in inet_pton6() local
/bionic/libc/include/
Dgetopt.h63 int val; member
/bionic/linker/
Dlinker_environ.cpp180 const char* val = env_match(p[0], name); in linker_env_get() local

12