Searched refs:__ret (Results 1 - 60 of 60) sorted by relevance

/linux-4.4.14/arch/arm64/include/asm/
H A Dcmpxchg.h108 __typeof__(*(ptr)) __ret; \
109 __ret = (__typeof__(*(ptr))) \
111 __ret; \
151 __typeof__(*(ptr)) __ret; \
152 __ret = (__typeof__(*(ptr))) \
155 __ret; \
184 int __ret;\
186 __ret = !__cmpxchg_double_mb((unsigned long)(o1), (unsigned long)(o2), \
189 __ret; \
194 int __ret;\
196 __ret = !__cmpxchg_double((unsigned long)(o1), (unsigned long)(o2), \
199 __ret; \
205 typeof(*raw_cpu_ptr(&(pcp))) __ret; \
207 __ret = cmpxchg_local(raw_cpu_ptr(&(pcp)), o, n); \
209 __ret; \
219 int __ret; \
221 __ret = cmpxchg_double_local( raw_cpu_ptr(&(ptr1)), \
225 __ret; \
/linux-4.4.14/arch/parisc/include/asm/
H A Dldcw.h15 unsigned long __ret = (unsigned long) &(a)->lock[0]; \
16 __ret = (__ret + __PA_LDCW_ALIGNMENT - 1) \
18 (volatile unsigned int *) __ret; \
45 unsigned __ret; \
47 : "=r" (__ret) : "r" (a) : "memory"); \
48 __ret; \
/linux-4.4.14/include/asm-generic/
H A Dpercpu.h81 typeof(pcp) __ret; \
82 __ret = raw_cpu_read(pcp); \
84 __ret; \
89 typeof(pcp) __ret; \
90 __ret = raw_cpu_read(pcp); \
91 if (__ret == (oval)) \
93 __ret; \
98 int __ret = 0; \
103 __ret = 1; \
105 (__ret); \
110 typeof(pcp) __ret; \
112 __ret = *this_cpu_ptr(&(pcp)); \
114 __ret; \
127 typeof(pcp) __ret; \
131 __ret = raw_cpu_read(pcp); \
133 __ret; \
138 typeof(pcp) __ret; \
141 __ret = raw_cpu_read(pcp); \
144 __ret; \
149 typeof(pcp) __ret; \
152 __ret = raw_cpu_read(pcp); \
153 if (__ret == (oval)) \
156 __ret; \
161 int __ret; \
164 __ret = raw_cpu_generic_cmpxchg_double(pcp1, pcp2, \
167 __ret; \
/linux-4.4.14/include/linux/
H A Ddebug_locks.h26 int __ret = 0; \
31 __ret = 1; \
33 __ret; \
H A Dwait.h191 if (__cond && !__ret) \
192 __ret = 1; \
193 __cond || !__ret; \
201 * The below macro ___wait_event() has an explicit shadow of the __ret
207 * The type inconsistency of the wait_event_*() __ret variable is also
216 long __ret = ret; /* explicit shadow */ \
231 __ret = __int; \
243 __out: __ret; \
303 int __ret = 0; \
306 __ret = __wait_event_freezable(wq, condition); \
307 __ret; \
313 __ret = schedule_timeout(__ret))
336 long __ret = timeout; \
339 __ret = __wait_event_timeout(wq, condition, timeout); \
340 __ret; \
346 __ret = schedule_timeout(__ret); try_to_freeze())
354 long __ret = timeout; \
357 __ret = __wait_event_freezable_timeout(wq, condition, timeout); \
358 __ret; \
420 int __ret = 0; \
423 __ret = __wait_event_interruptible(wq, condition); \
424 __ret; \
430 __ret = schedule_timeout(__ret))
454 long __ret = timeout; \
457 __ret = __wait_event_interruptible_timeout(wq, \
459 __ret; \
464 int __ret = 0; \
475 __ret = ___wait_event(wq, condition, state, 0, 0, \
477 __ret = -ETIME; \
484 __ret; \
505 int __ret = 0; \
508 __ret = __wait_event_hrtimeout(wq, condition, timeout, \
510 __ret; \
531 long __ret = 0; \
534 __ret = __wait_event_hrtimeout(wq, condition, timeout, \
536 __ret; \
545 int __ret = 0; \
548 __ret = __wait_event_interruptible_exclusive(wq, condition);\
549 __ret; \
559 int __ret = 0; \
562 __ret = __wait_event_freezable_exclusive(wq, condition);\
563 __ret; \
569 int __ret = 0; \
578 __ret = -ERESTARTSYS; \
593 __ret; \
734 int __ret = 0; \
737 __ret = __wait_event_killable(wq, condition); \
738 __ret; \
841 int __ret = 0; \
843 __ret = __wait_event_interruptible_lock_irq(wq, \
845 __ret; \
872 int __ret = 0; \
874 __ret = __wait_event_interruptible_lock_irq(wq, \
876 __ret; \
884 __ret = schedule_timeout(__ret); \
914 long __ret = timeout; \
916 __ret = __wait_event_interruptible_lock_irq_timeout( \
918 __ret; \
H A Dkfifo.h391 unsigned int __ret; \
395 __ret = __kfifo_in_r(__kfifo, &__val, sizeof(__val), \
398 __ret = !kfifo_is_full(__tmp); \
399 if (__ret) { \
409 __ret; \
429 unsigned int __ret; \
433 __ret = __kfifo_out_r(__kfifo, __val, sizeof(*__val), \
436 __ret = !kfifo_is_empty(__tmp); \
437 if (__ret) { \
447 __ret; \
468 unsigned int __ret; \
472 __ret = __kfifo_out_peek_r(__kfifo, __val, sizeof(*__val), \
475 __ret = !kfifo_is_empty(__tmp); \
476 if (__ret) { \
485 __ret; \
526 unsigned int __ret; \
528 __ret = kfifo_in(fifo, buf, n); \
530 __ret; \
577 unsigned int __ret; \
579 __ret = kfifo_out(fifo, buf, n); \
581 __ret; \
H A Datomic.h40 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
42 __ret; \
53 typeof(op##_relaxed(args)) __ret; \
55 __ret = op##_relaxed(args); \
57 __ret; \
H A Dblk-mq.h269 unsigned int __ret = 0, __i; \
272 __ret += sum; \
273 __ret; \
H A Dnetdevice.h2369 __sum16 __ret = 0; \
2371 __ret = __skb_gro_checksum_validate_complete(skb, \
2373 if (__ret) \
2377 __ret; \
H A Dskbuff.h3257 __sum16 __ret = 0; \
3260 __ret = __skb_checksum_validate_complete(skb, \
3262 __ret; \
/linux-4.4.14/arch/blackfin/include/asm/
H A Dbfin_sport.h61 u32 __ret; \
65 __ret = __mmrs->rx32; \
68 __ret; \
H A Dbfin_serial.h287 u32 __ret; \
290 __ret = bfin_read32(port_membase(p) + OFFSET_STAT); \
292 __ret; \
/linux-4.4.14/arch/arm/include/asm/
H A Ddcc.h17 u32 __ret; __dcc_getstatus() local
19 : "=r" (__ret) : : "cc"); __dcc_getstatus()
21 return __ret; __dcc_getstatus()
/linux-4.4.14/arch/x86/include/asm/
H A Dcmpxchg_32.h80 __typeof__(*(ptr)) __ret; \
87 "=A" (__ret), \
92 __ret; })
97 __typeof__(*(ptr)) __ret; \
103 "=A" (__ret), \
108 __ret; })
H A Dcmpxchg.h42 __typeof__ (*(ptr)) __ret = (arg); \
46 : "+q" (__ret), "+m" (*(ptr)) \
51 : "+r" (__ret), "+m" (*(ptr)) \
56 : "+r" (__ret), "+m" (*(ptr)) \
61 : "+r" (__ret), "+m" (*(ptr)) \
67 __ret; \
85 __typeof__(*(ptr)) __ret; \
93 : "=a" (__ret), "+m" (*__ptr) \
102 : "=a" (__ret), "+m" (*__ptr) \
111 : "=a" (__ret), "+m" (*__ptr) \
120 : "=a" (__ret), "+m" (*__ptr) \
128 __ret; \
170 __typeof__ (*(ptr)) __ret = (inc); \
195 __ret; \
210 bool __ret; \
218 : "=a" (__ret), "+d" (__old2), \
222 __ret; \
H A Dstring_64.h38 void *__ret; \
40 __ret = __memcpy((dst), (src), __len); \
42 __ret = __builtin_memcpy((dst), (src), __len); \
43 __ret; \
H A Dpercpu.h449 bool __ret; \
453 : "=a" (__ret), "+m" (pcp1), "+m" (pcp2), "+d" (__o2) \
455 __ret; \
493 bool __ret; \
499 ASM_OUTPUT2("=a" (__ret), "+m" (pcp1), \
502 __ret; \
H A Duaccess.h546 int __ret = 0; \
561 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
577 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
593 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
612 : "+r" (__ret), "=a" (__old), "+m" (*(ptr)) \
622 __ret; \
H A Dparavirt_types.h555 rettype __ret; \
569 __ret = (rettype)((((u64)__edx) << 32) | __eax); \
579 __ret = (rettype)__eax; \
581 __ret; \
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dx_tables.h131 int __ret = 0; \
139 __ret = fn(__m , ## args); \
140 if (__ret != 0) \
143 __ret; \
150 int __ret = 0; \
159 __ret = fn(__entry , ## args); \
160 if (__ret != 0) \
163 __ret; \
/linux-4.4.14/include/uapi/linux/netfilter_bridge/
H A Debtables.h200 int __ret = 0; \
209 __ret = fn(__match , ## args); \
210 if (__ret != 0) \
213 if (__ret == 0) { \
215 __ret = -EINVAL; \
217 __ret; \
223 int __ret = 0; \
232 __ret = fn(__watcher , ## args); \
233 if (__ret != 0) \
236 if (__ret == 0) { \
238 __ret = -EINVAL; \
240 __ret; \
246 int __ret = 0; \
251 __ret = fn(__entry , ## args); \
252 if (__ret != 0) \
259 if (__ret == 0) { \
261 __ret = -EINVAL; \
263 __ret; \
/linux-4.4.14/drivers/media/tuners/
H A Dtuner-i2c.h133 int __ret = 0; \
142 __ret = state->i2c_props.count; \
146 if (0 == __ret) { \
157 __ret = state->i2c_props.count; \
160 __ret; \
165 int __ret; \
167 __ret = state->i2c_props.count; \
173 __ret; \
178 int __ret = 0; \
180 __ret = state->i2c_props.count; \
181 __ret; \
H A Dtda18271-priv.h164 int __ret; \
165 __ret = (ret < 0); \
166 if (__ret) \
169 __ret; \
H A Dmxl5007t.c56 int __ret; \
57 __ret = (ret < 0); \
58 if (__ret) \
61 __ret; \
/linux-4.4.14/arch/powerpc/include/asm/
H A Ddelay.h58 typeof(condition) __ret; \
61 while (!(__ret = (condition)) && (tb_ticks_since(__start) <= __loops)) \
66 if (!__ret) \
67 __ret = (condition); \
68 __ret; \
/linux-4.4.14/arch/mips/include/asm/
H A Dcmpxchg.h143 __typeof(*(m)) __ret; \
159 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
176 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
183 __ret = *m; \
184 if (__ret == old) \
189 __ret; \
/linux-4.4.14/arch/arc/include/asm/
H A Dcache.h34 unsigned int __ret; \
37 : "=r"(__ret) \
39 __ret; \
H A Duaccess.h64 long __ret = 0; /* success by default */ \
66 case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \
67 case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \
68 case 4: __arc_get_user_one(*(k), u, "ld", __ret); break; \
69 case 8: __arc_get_user_one_64(*(k), u, __ret); break; \
71 __ret; \
118 long __ret = 0; /* success by default */ \
120 case 1: __arc_put_user_one(*(k), u, "stb", __ret); break; \
121 case 2: __arc_put_user_one(*(k), u, "stw", __ret); break; \
122 case 4: __arc_put_user_one(*(k), u, "st", __ret); break; \
123 case 8: __arc_put_user_one_64(*(k), u, __ret); break; \
125 __ret; \
H A Darcregs.h129 unsigned int __ret; \
132 : "=r"(__ret) \
134 __ret; \
/linux-4.4.14/arch/ia64/kernel/
H A Dmca_drv.h64 sal_log_mod_error_info_t *__ret = NULL; \
66 __ret = &(peidx_head(p)->info[__idx]); \
67 __ret; })
/linux-4.4.14/drivers/net/dsa/
H A Dmv88e6060.c32 int __ret; \
34 __ret = reg_read(ds, addr, reg); \
35 if (__ret < 0) \
36 return __ret; \
37 __ret; \
53 int __ret; \
55 __ret = reg_write(ds, addr, reg, val); \
56 if (__ret < 0) \
57 return __ret; \
H A Dmv88e6xxx.h507 int __ret; \
509 __ret = mv88e6xxx_reg_read(ds, addr, reg); \
510 if (__ret < 0) \
511 return __ret; \
512 __ret; \
517 int __ret; \
519 __ret = mv88e6xxx_reg_write(ds, addr, reg, val); \
520 if (__ret < 0) \
521 return __ret; \
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h146 int __ret; \
147 __ret = (ret < 0); \
148 if ((__ret) && (MXL_ADV_DEBUG_ENABLED & MXL_ADV_DBG)) \
151 __ret; \
/linux-4.4.14/arch/s390/include/asm/
H A Ddebug.h159 debug_entry_t *__ret; \
163 __ret = NULL; \
165 __ret = __debug_sprintf_event(__id, __level, \
167 __ret; \
214 debug_entry_t *__ret; \
218 __ret = NULL; \
220 __ret = __debug_sprintf_exception(__id, __level, \
222 __ret; \
/linux-4.4.14/arch/ia64/include/asm/
H A Duaccess.h98 long __ret; \
100 case 1: __ret = __put_user((x), (ptr)); break; \
101 case 2: __ret = (__put_user((x), (u8 __user *)(ptr))) \
103 case 4: __ret = (__put_user((x), (u16 __user *)(ptr))) \
105 case 8: __ret = (__put_user((x), (u32 __user *)(ptr))) \
107 default: __ret = __put_user_unaligned_unknown(); \
109 __ret; \
116 long __ret; \
118 case 1: __ret = __get_user((x), (ptr)); break; \
119 case 2: __ret = (__get_user((x), (u8 __user *)(ptr))) \
121 case 4: __ret = (__get_user((x), (u16 __user *)(ptr))) \
123 case 8: __ret = (__get_user((x), (u32 __user *)(ptr))) \
125 default: __ret = __get_user_unaligned_unknown(); \
127 __ret; \
/linux-4.4.14/drivers/tty/serial/
H A Dbfin_sport_uart.h47 unsigned int __ret; \
51 __ret = bfin_read32((sport)->port.membase + OFFSET_RX); \
54 __ret; \
/linux-4.4.14/arch/tile/include/asm/
H A Duaccess.h221 int __ret; \
225 case 1: __get_user_1(_x, ptr, __ret); break; \
226 case 2: __get_user_2(_x, ptr, __ret); break; \
227 case 4: __get_user_4(_x, ptr, __ret); break; \
228 case 8: __get_user_8(_x, ptr, __ret); break; \
229 default: __ret = __get_user_bad(); break; \
232 __ret; \
303 int __ret; \
307 case 1: __put_user_1(_x, ptr, __ret); break; \
308 case 2: __put_user_2(_x, ptr, __ret); break; \
309 case 4: __put_user_4(_x, ptr, __ret); break; \
310 case 8: __put_user_8(_x, ptr, __ret); break; \
311 default: __ret = __put_user_bad(); break; \
313 __ret; \
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/
H A Dspufs.h323 int __ret = 0; \
331 __ret = -ERESTARTSYS; \
335 __ret = spu_acquire(ctx); \
336 if (__ret) \
340 __ret; \
/linux-4.4.14/drivers/staging/lustre/lustre/include/
H A Dlustre_lib.h606 int __ret; \
610 __ret, add_wait_queue); \
611 __ret; \
616 int __ret; \
620 __ret, add_wait_queue_exclusive); \
621 __ret; \
626 int __ret; \
630 __ret, add_wait_queue_exclusive_head); \
631 __ret; \
/linux-4.4.14/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.h178 int __ret = -ETIMEDOUT; \
182 __ret = 0; \
186 __ret; \
/linux-4.4.14/arch/sparc/kernel/
H A Dprom_irqtrans.c84 ({ u64 __ret; \
86 : "=r" (__ret) \
89 __ret; \
318 ({ u64 __ret; \
320 : "=r" (__ret) \
323 __ret; \
H A Diommu.c35 ({ u64 __ret; \
37 : "=r" (__ret) \
40 __ret; \
/linux-4.4.14/drivers/spi/
H A Dspi-mpc512x-psc.c43 void *__ret = NULL; \
47 __ret = &psc->regname; \
52 __ret = &psc->regname; \
56 __ret; })
/linux-4.4.14/arch/arm/mm/
H A Dproc-arm720.S131 ret lr @ __ret (head.S)
159 ret lr @ __ret (head.S)
H A Dproc-v6.S244 ret lr @ return to head.S:__ret
H A Dproc-v7.S482 ret lr @ return to head.S:__ret
/linux-4.4.14/drivers/gpu/drm/r128/
H A Dr128_drv.h457 int __ret = r128_do_cce_idle(dev_priv); \
458 if (__ret) \
459 return __ret; \
/linux-4.4.14/tools/perf/ui/
H A Dhist.c13 int __ret = fn(hpp, fmt, ##__VA_ARGS__); \
14 advance_hpp(hpp, __ret); \
15 __ret; \
/linux-4.4.14/drivers/input/misc/
H A Duinput.c667 int __ret = 0; \
669 __ret = -EINVAL; \
671 __ret = -EINVAL; \
673 __ret; \
/linux-4.4.14/include/math-emu/
H A Dop-common.h211 int __ret = 0; \
216 __ret = 1; \
218 __ret; \
/linux-4.4.14/drivers/media/common/siano/
H A Dsmsdvb-main.c199 u32 __ret; \
201 __ret = table[value]; \
203 __ret = defval; \
204 __ret; \
/linux-4.4.14/drivers/media/dvb-frontends/
H A Dlg2160.c46 int __ret; \
47 __ret = (ret < 0); \
48 if (__ret) \
50 __ret; \
H A Dlgdt3305.c50 int __ret; \
51 __ret = (ret < 0); \
52 if (__ret) \
54 __ret; \
H A Dlgdt3306a.c52 int __ret; \
53 __ret = (ret < 0); \
54 if (__ret) \
56 __ret; \
/linux-4.4.14/drivers/media/platform/soc_camera/
H A Domap1_camera.c1166 int __ret; \
1171 __ret = v4l2_subdev_call(sd, op, function, ##args); \
1179 __ret = -EINVAL; \
1182 __ret; \
/linux-4.4.14/arch/blackfin/mach-bf533/include/mach/
H A DcdefBF532.h117 u16 __ret; \
119 __ret = bfin_read16(FIO_FLAG_##name); \
122 __ret; \
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_drv.h2013 int __ret; \
2015 __ret = r600_do_cp_idle(dev_priv); \
2017 __ret = radeon_do_cp_idle(dev_priv); \
2018 if ( __ret ) return __ret; \
/linux-4.4.14/drivers/net/ethernet/smsc/
H A Dsmc91x.c533 int __ret; \
535 __ret = spin_trylock(lock); \
536 if (!__ret) \
538 __ret; \
/linux-4.4.14/drivers/base/power/
H A Ddomain.c28 type __ret = (type)0; \
32 __ret = __routine(dev); \
34 __ret; \
/linux-4.4.14/net/iucv/
H A Daf_iucv.c79 int __ret = 0; \
81 __iucv_sock_wait(sk, condition, timeo, __ret); \
82 __ret; \

Completed in 1702 milliseconds