Home
last modified time | relevance | path

Searched refs:__ret (Results 1 – 25 of 28) sorted by relevance

12

/arch/parisc/include/asm/
Dldcw.h17 unsigned long __ret = (unsigned long) &(a)->lock[0]; \
18 __ret = (__ret + __PA_LDCW_ALIGNMENT - 1) \
20 (volatile unsigned int *) __ret; \
48 unsigned __ret; \
50 : "=r" (__ret) : "r" (a) : "memory"); \
51 __ret; \
Dcmpxchg.h49 __typeof__(*(ptr)) __ret; \
51 __ret = (__typeof__(*(ptr))) \
53 __ret; \
/arch/powerpc/include/asm/
Ddelay.h59 typeof(condition) __ret; \
64 while (!(__ret = (condition)) && \
69 while (!(__ret = (condition)) && \
74 if (!__ret) \
75 __ret = (condition); \
76 __ret; \
Datomic.h23 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
25 __ret; \
/arch/arm64/include/asm/
Dcmpxchg.h105 __typeof__(*(ptr)) __ret; \
106 __ret = (__typeof__(*(ptr))) \
108 __ret; \
148 __typeof__(*(ptr)) __ret; \
149 __ret = (__typeof__(*(ptr))) \
152 __ret; \
181 int __ret;\
183 __ret = !__cmpxchg_double_mb((unsigned long)(o1), (unsigned long)(o2), \
186 __ret; \
191 int __ret;\
[all …]
/arch/x86/include/asm/
Dcmpxchg.h44 __typeof__ (*(ptr)) __ret = (arg); \
48 : "+q" (__ret), "+m" (*(ptr)) \
53 : "+r" (__ret), "+m" (*(ptr)) \
58 : "+r" (__ret), "+m" (*(ptr)) \
63 : "+r" (__ret), "+m" (*(ptr)) \
69 __ret; \
87 __typeof__(*(ptr)) __ret; \
95 : "=a" (__ret), "+m" (*__ptr) \
104 : "=a" (__ret), "+m" (*__ptr) \
113 : "=a" (__ret), "+m" (*__ptr) \
[all …]
Dcmpxchg_32.h81 __typeof__(*(ptr)) __ret; \
88 "=A" (__ret), \
93 __ret; })
98 __typeof__(*(ptr)) __ret; \
104 "=A" (__ret), \
109 __ret; })
Dstring_64.h40 void *__ret; \
42 __ret = __memcpy((dst), (src), __len); \
44 __ret = __builtin_memcpy((dst), (src), __len); \
45 __ret; \
Duaccess.h593 int __ret = 0; \
609 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
625 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
641 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
660 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
671 __ret; \
Dpercpu.h450 bool __ret; \
454 : "=a" (__ret), "+m" (pcp1), "+m" (pcp2), "+d" (__o2) \
456 __ret; \
494 bool __ret; \
500 ASM_OUTPUT2("=a" (__ret), "+m" (pcp1), \
503 __ret; \
Dparavirt_types.h530 rettype __ret; \
544 __ret = (rettype)((((u64)__edx) << 32) | __eax); \
554 __ret = (rettype)(__eax & PVOP_RETMASK(rettype)); \
556 __ret; \
/arch/mips/include/asm/
Dcmpxchg.h44 __typeof(*(m)) __ret; \
58 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
65 __ret = *m; \
70 __ret; \
114 __typeof(*(m)) __ret; \
130 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
137 __ret = *m; \
138 if (__ret == old) \
143 __ret; \
/arch/arc/include/asm/
Duaccess.h62 long __ret = 0; /* success by default */ \
64 case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \
65 case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \
66 case 4: __arc_get_user_one(*(k), u, "ld", __ret); break; \
67 case 8: __arc_get_user_one_64(*(k), u, __ret); break; \
69 __ret; \
123 long __ret = 0; /* success by default */ \
125 case 1: __arc_put_user_one(*(k), u, "stb", __ret); break; \
126 case 2: __arc_put_user_one(*(k), u, "stw", __ret); break; \
127 case 4: __arc_put_user_one(*(k), u, "st", __ret); break; \
[all …]
Dcache.h34 unsigned int __ret; \
37 : "=r"(__ret) \
39 __ret; \
/arch/arm/include/asm/
Ddcc.h17 u32 __ret; in __dcc_getstatus() local
19 : "=r" (__ret) : : "cc"); in __dcc_getstatus()
21 return __ret; in __dcc_getstatus()
/arch/tile/include/asm/
Duaccess.h199 int __ret; \
203 case 1: __get_user_1(_x, ptr, __ret); break; \
204 case 2: __get_user_2(_x, ptr, __ret); break; \
205 case 4: __get_user_4(_x, ptr, __ret); break; \
206 case 8: __get_user_8(_x, ptr, __ret); break; \
207 default: __ret = __get_user_bad(); break; \
210 __ret; \
281 int __ret; \
285 case 1: __put_user_1(_x, ptr, __ret); break; \
286 case 2: __put_user_2(_x, ptr, __ret); break; \
[all …]
/arch/blackfin/include/asm/
Dbfin_sport.h61 u32 __ret; \
65 __ret = __mmrs->rx32; \
68 __ret; \
Dbfin_serial.h287 u32 __ret; \
290 __ret = bfin_read32(port_membase(p) + OFFSET_STAT); \
292 __ret; \
/arch/s390/include/asm/
Ddebug.h161 debug_entry_t *__ret; \
165 __ret = NULL; \
167 __ret = __debug_sprintf_event(__id, __level, \
169 __ret; \
216 debug_entry_t *__ret; \
220 __ret = NULL; \
222 __ret = __debug_sprintf_exception(__id, __level, \
224 __ret; \
/arch/sparc/include/asm/
Dcmpxchg_64.h56 ({ __typeof__(*(ptr)) __ret; \
57 __ret = (__typeof__(*(ptr))) \
59 __ret; \
/arch/ia64/kernel/
Dmca_drv.h65 sal_log_mod_error_info_t *__ret = NULL; \
67 __ret = &(peidx_head(p)->info[__idx]); \
68 __ret; })
/arch/powerpc/platforms/cell/spufs/
Dspufs.h321 int __ret = 0; \
329 __ret = -ERESTARTSYS; \
333 __ret = spu_acquire(ctx); \
334 if (__ret) \
338 __ret; \
/arch/sparc/kernel/
Dprom_irqtrans.c85 ({ u64 __ret; \
87 : "=r" (__ret) \
90 __ret; \
319 ({ u64 __ret; \
321 : "=r" (__ret) \
324 __ret; \
Diommu.c36 ({ u64 __ret; \
38 : "=r" (__ret) \
41 __ret; \
/arch/arm/mm/
Dproc-arm720.S131 ret lr @ __ret (head.S)
159 ret lr @ __ret (head.S)

12