Home
last modified time | relevance | path

Searched refs:__res (Results 1 – 25 of 26) sorted by relevance

12

/arch/sh/include/asm/
Dmutex-llsc.h24 int __done, __res; in __mutex_fastpath_lock() local
31 : "=&z" (__res), "=&r" (__done) in __mutex_fastpath_lock()
35 if (unlikely(!__done || __res != 0)) in __mutex_fastpath_lock()
42 int __done, __res; in __mutex_fastpath_lock_retval() local
49 : "=&z" (__res), "=&r" (__done) in __mutex_fastpath_lock_retval()
53 if (unlikely(!__done || __res != 0)) in __mutex_fastpath_lock_retval()
54 __res = fail_fn(count); in __mutex_fastpath_lock_retval()
56 return __res; in __mutex_fastpath_lock_retval()
62 int __done, __res; in __mutex_fastpath_unlock() local
69 : "=&z" (__res), "=&r" (__done) in __mutex_fastpath_unlock()
[all …]
Dstring_32.h59 register int __res; in strcmp() local
75 : "=r" (__cs), "=r" (__ct), "=&r" (__res), "=&z" (__dummy) in strcmp()
79 return __res; in strcmp()
85 register int __res; in strncmp() local
107 :"=r" (__cs), "=r" (__ct), "=&r" (__res), "=&z" (__dummy) in strncmp()
111 return __res; in strncmp()
/arch/arm/include/asm/
Ddiv64.h35 register unsigned long long __res asm("r2"); \
42 : "=r" (__rem), "=r" (__res) \
45 n = __res; \
93 unsigned long long __res, __x, __t, __m, __n = n; \
104 __res = (__m & 0xffffffff) * (__x & 0xffffffff); \
105 __res >>= 32; \
106 __res += (__m & 0xffffffff) * (__x >> 32); \
107 __t = __res; \
108 __res += (__x & 0xffffffff) * (__m >> 32); \
109 __t = (__res < __t) ? (1ULL << 32) : 0; \
[all …]
/arch/m68k/include/asm/
Dbootstd.h51 register long __res __asm__ ("%d0") = __BN_##name; \
53 : "=g" (__res) \
54 : "0" (__res) \
56 __bsc_return(type,__res); \
62 register long __res __asm__ ("%d0") = __BN_##name; \
65 : "=g" (__res) \
66 : "0" (__res), "d" (__a) \
68 __bsc_return(type,__res); \
74 register long __res __asm__ ("%d0") = __BN_##name; \
78 : "=g" (__res) \
[all …]
/arch/mips/include/asm/
Dsgiarcs.h376 ({ long __res; \
383 : "=r" (__res), "=r" (__vec) \
386 (unsigned long) __res; \
390 ({ long __res; \
398 : "=r" (__res), "=r" (__vec) \
401 (unsigned long) __res; \
405 ({ long __res; \
414 : "=r" (__res), "=r" (__vec) \
417 __res; \
421 ({ long __res; \
[all …]
Dstring.h75 int __res; in strcmp() local
94 : "=r" (__cs), "=r" (__ct), "=r" (__res) in strcmp()
97 return __res; in strcmp()
106 int __res; in strncmp() local
127 : "=r" (__cs), "=r" (__ct), "=r" (__count), "=r" (__res) in strncmp()
130 return __res; in strncmp()
Delf.h183 int __res = 1; \
187 __res = 0; \
189 __res = 0; \
191 __res = 0; \
194 __res = 0; \
196 __res; \
212 int __res = 1; \
216 __res = 0; \
218 __res = 0; \
220 __res; \
Dmipsmtregs.h262 unsigned long __res; \
272 : "=r" (__res)); \
274 __res; \
279 unsigned long __res; \
289 : "=r" (__res)); \
291 __res; \
296 unsigned long __res; \
300 : "=r" (__res)); \
302 __res; \
Dmipsregs.h626 unsigned int __res; \
629 : "=r" (__res) \
632 __res; \
645 unsigned int __res; \
648 : "=r" (__res) \
651 __res; \
668 ({ int __res; \
672 : "=r" (__res)); \
678 : "=r" (__res)); \
679 __res; \
[all …]
Dcmpxchg.h201 __typeof__(*(ptr)) __res = 0; \
207 __res = __cmpxchg_asm("ll", "sc", __ptr, __old, __new); \
211 __res = __cmpxchg_asm("lld", "scd", __ptr, \
222 __res; \
/arch/ia64/include/asm/xen/
Dhypercall.h51 long __res; \
52 __res = __hypercall(0, 0, 0, 0, 0, __HYPERVISOR_##name);\
53 (type)__res; \
58 long __res; \
59 __res = __hypercall((unsigned long)a1, \
61 (type)__res; \
66 long __res; \
67 __res = __hypercall((unsigned long)a1, \
70 (type)__res; \
75 long __res; \
[all …]
/arch/xtensa/include/asm/
Dstring.h65 register int __res; in strcmp() local
78 : "=r" (__cs), "=r" (__ct), "=&r" (__res), "=&r" (__dummy) in strcmp()
81 return __res; in strcmp()
87 register int __res; in strncmp() local
103 : "=r" (__cs), "=r" (__ct), "=&r" (__res), "=&r" (__dummy) in strncmp()
106 return __res; in strncmp()
/arch/x86/kernel/
Dsys_i386_32.c35 long __res; in kernel_execve() local
37 : "=a" (__res) in kernel_execve()
39 return __res; in kernel_execve()
Dvm86_32.c482 __u8 __res; \
483 if (get_user(__res, base + ptr) < 0) \
486 __res; \
491 __u16 __res; \
492 if (get_user(val_byte(__res, 0), base + ptr) < 0) \
495 if (get_user(val_byte(__res, 1), base + ptr) < 0) \
498 __res; \
503 __u32 __res; \
504 if (get_user(val_byte(__res, 0), base + ptr) < 0) \
507 if (get_user(val_byte(__res, 1), base + ptr) < 0) \
[all …]
/arch/x86/lib/
Dstrstr_32.c6 register char *__res; in strstr() local
26 : "=a" (__res), "=&c" (d0), "=&S" (d1) in strstr()
29 return __res; in strstr()
/arch/m32r/kernel/
Dsys_m32r.c103 register long __res __asm__ ("r0") = (long)(filename); in kernel_execve()
106 : "=r" (__res) in kernel_execve()
107 : "r" (__scno), "0" (__res), "r" (__arg2), in kernel_execve()
110 return __res; in kernel_execve()
/arch/mips/kernel/
Dbinfmt_elfo32.c35 int __res = 1; \
39 __res = 0; \
41 __res = 0; \
43 __res = 0; \
46 __res = 0; \
48 __res; \
68 int __res = 1; \
70 __res; \
Dbinfmt_elfn32.c35 int __res = 1; \
39 __res = 0; \
41 __res = 0; \
44 __res = 0; \
46 __res; \
/arch/m68k/math-emu/
Dfp_emu.h110 register int __res asm ("d0"); \
113 : "=d" (__res) : "a" (__src) \
115 __res; \
/arch/openrisc/kernel/
Dprocess.c298 register long __res asm("r11") = __NR_execve; in kernel_execve()
303 : "=r" (__res), "=r"(__a), "=r"(__b), "=r"(__c) in kernel_execve()
304 : "0"(__res), "1"(__a), "2"(__b), "3"(__c) in kernel_execve()
309 return __res; in kernel_execve()
/arch/x86/include/asm/xen/
Dhypercall.h107 register unsigned long __res asm(__HYPERCALL_RETREG); \
114 #define __HYPERCALL_0PARAM "=r" (__res)
148 (type)__res; \
159 (type)__res; \
170 (type)__res; \
181 (type)__res; \
192 (type)__res; \
203 (type)__res; \
220 return (long)__res; in privcmd_call()
/arch/x86/boot/
Dprintf.c38 int __res; \
39 __res = ((unsigned long) n) % (unsigned) base; \
41 __res; })
/arch/sparc/kernel/
Dsys_sparc_32.c286 long __res; in kernel_execve() local
296 : "=r" (__res), "=&r" (__o0) in kernel_execve()
299 return __res; in kernel_execve()
Dsys_sparc_64.c765 long __res; in kernel_execve() local
773 : "=r" (__res), "=&r" (__o0) in kernel_execve()
776 return __res; in kernel_execve()
/arch/m68k/kernel/
Dsys_m68k.c560 register long __res asm ("%d0") = __NR_execve; in kernel_execve()
564 asm volatile ("trap #0" : "+d" (__res) in kernel_execve()
566 return __res; in kernel_execve()

12