Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H A Dwait.h279 if (__cond && !__ret) \
280 __ret = 1; \
281 __cond || !__ret; \
306 long __ret = ret; /* explicit shadow */ \
316 __ret = __int; \
326 __out: __ret; \
386 int __ret = 0; \
389 __ret = __wait_event_freezable(wq_head, condition); \
390 __ret; \
396 __ret = schedule_timeout(__ret))
[all …]
H A Dswait.h162 long __ret = ret; \
172 __ret = __int; \
179 __out: __ret; \
196 __ret = schedule_timeout(__ret))
200 long __ret = timeout; \
202 __ret = __swait_event_timeout(wq, condition, timeout); \
203 __ret; \
212 int __ret = 0; \
214 __ret = __swait_event_interruptible(wq, condition); \
215 __ret; \
[all …]
H A Dwait_bit.h258 long __ret = ret; /* explicit shadow */ \
270 __ret = __int; \
277 __out: __ret; \
363 int __ret = 0; \
366 __ret = __wait_var_event_killable(var, condition); \
367 __ret; \
373 __ret = schedule_timeout(__ret))
397 long __ret = timeout; \
400 __ret = __wait_var_event_timeout(var, condition, timeout); \
401 __ret; \
[all …]
H A Dkfifo.h263 bool __ret; \
265 __ret = kfifo_is_empty(fifo); \
267 __ret; \
278 bool __ret; \
280 __ret = kfifo_is_empty(fifo); \
282 __ret; \
444 unsigned int __ret; \
448 __ret = __kfifo_in_r(__kfifo, &__val, sizeof(__val), \
451 __ret = !kfifo_is_full(__tmp); \
452 if (__ret) { \
[all …]
H A Drcuwait.h43 long __ret = ret; \
55 __ret = -EINTR; \
62 __ret; \
71 __ret = schedule_timeout(__ret))
75 long __ret = timeout; \
77 __ret = __rcuwait_wait_event_timeout(w, condition, \
79 __ret; \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockmap_helpers.h15 int __ret = bpf_map_delete_elem((fd), (key)); \
16 if (__ret < 0) \
18 __ret; \
23 int __ret = bpf_map_lookup_elem((fd), (key), (val)); \
24 if (__ret < 0) \
26 __ret; \
31 int __ret = bpf_map_update_elem((fd), (key), (val), (flags)); \
32 if (__ret < 0) \
34 __ret; \
39 int __ret = \
[all …]
H A Dsocket_helpers.h55 int __ret = \
57 if (__ret == -1) \
59 __ret; \
64 int __ret = bind((fd), (addr), (len)); \
65 if (__ret == -1) \
67 __ret; \
72 int __ret = close((fd)); \
73 if (__ret == -1) \
75 __ret; \
80 int __ret = connect((fd), (addr), (len)); \
[all …]
/linux/arch/riscv/include/asm/
H A Druntime-const.h21 typeof(sym) __ret; \
31 : [__ret] "=r" (__ret)); \
32 __ret; \
90 typeof(sym) __ret, __tmp; \
100 : [__ret] "=r" (__ret), [__tmp] "=r" (__tmp)); \
101 __ret; \
106 typeof(sym) __ret, __tmp; \
114 : [__ret] "=r" (__ret), [__tmp] "=r" (__tmp)); \
115 __ret; \
120 typeof(sym) __ret, __tmp; \
[all …]
/linux/arch/csky/include/asm/
H A Dcmpxchg.h15 __typeof__(*(ptr)) __ret; \
34 __ret = (__typeof__(*(ptr))) \
44 : "=&r" (__ret), "=&r" (tmp) \
51 __ret; \
63 __typeof__(*(ptr)) __ret; \
66__ret = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *)__ptr, (uintptr_t)__old, (uintptr_t)__ne…
77 : "=&r" (__ret), "=&r" (__tmp) \
84 __ret; \
96 __typeof__(*(ptr)) __ret; \
99__ret = (__typeof__(*(ptr)))cmpxchg_emu_u8((volatile u8 *)__ptr, (uintptr_t)__old, (uintptr_t)__ne…
[all …]
/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h221 int __ret = 0; \
230 __ret = fn(__match , ## args); \
231 if (__ret != 0) \
234 if (__ret == 0) { \
236 __ret = -EINVAL; \
238 __ret; \
244 int __ret = 0; \
253 __ret = fn(__watcher , ## args); \
254 if (__ret != 0) \
257 if (__ret == 0) { \
[all …]
/linux/arch/parisc/include/asm/
H A Dldcw.h30 unsigned long __ret = (unsigned long) &(a)->lock[0]; \
31 __ret = (__ret + __PA_LDCW_ALIGNMENT - 1) \
33 (volatile unsigned int *) __ret; \
51 unsigned __ret; \
53 : "=r" (__ret) : "r" (a) : "memory"); \
54 __ret; \
/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h15 __typeof(val) __ret; \
19 : "+ZB" (*m), "=&r" (__ret) \
23 __ret; \
28 __typeof(val) __ret, __tmp; \
35 : "=&r" (__ret), "=&r" (__tmp), "=ZC" (*m) \
39 __ret; \
124 __typeof(old) __ret; \
134 : "=&r" (__ret), "=ZB"(*m) \
138 __ret; \
255 union __u128_halves __old, __new, __ret; \
[all …]
/linux/arch/s390/include/asm/
H A Druntime-const.h9 typeof(sym) __ret; \
17 : [__ret] "=d" (__ret) \
20 __ret; \
25 unsigned int __ret = (val); \
32 : [__ret] "+d" (__ret)); \
33 __ret; \
/linux/arch/arc/include/asm/
H A Duaccess.h30 long __ret = 0; /* success by default */ \
32 case 1: __arc_get_user_one(*(k), u, "ldb", __ret); break; \
33 case 2: __arc_get_user_one(*(k), u, "ldw", __ret); break; \
34 case 4: __arc_get_user_one(*(k), u, "ld", __ret); break; \
35 case 8: __arc_get_user_one_64(*(k), u, __ret); break; \
37 __ret; \
91 long __ret = 0; /* success by default */ \
93 case 1: __arc_put_user_one(*(k), u, "stb", __ret); break; \
94 case 2: __arc_put_user_one(*(k), u, "stw", __ret); break; \
95 case 4: __arc_put_user_one(*(k), u, "st", __ret); break; \
[all …]
/linux/arch/x86/include/asm/
H A 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 …]
H A Druntime-const.h22 typeof(sym) __ret; \
27 :"=r" (__ret) \
30 __ret; })
36 typeof(0u+(val)) __ret = (val); \
41 :"+r" (__ret)); \
42 __ret; })
/linux/drivers/media/tuners/
H A Dtuner-i2c.h121 int __ret = 0; \
130 __ret = state->i2c_props.count; \
134 if (0 == __ret) { \
145 __ret = state->i2c_props.count; \
148 __ret; \
153 int __ret; \
155 __ret = state->i2c_props.count; \
161 __ret; \
166 int __ret = 0; \
168 __ret = state->i2c_props.count; \
[all …]
/linux/include/asm-generic/
H A Dpercpu.h101 TYPEOF_UNQUAL(pcp) __ret; \
102 __ret = *__p; \
104 __ret; \
120 bool __ret; \
123 __ret = true; \
126 __ret = false; \
128 __ret; \
159 TYPEOF_UNQUAL(pcp) __ret; \
161 __ret = __this_cpu_generic_read_nopreempt(pcp); \
163 __ret = __this_cpu_generic_read_noirq(pcp); \
[all …]
H A Drqspinlock.h232 int __ret; \
234 __ret = res_spin_lock(lock); \
235 if (__ret) \
237 __ret; \
244 int __ret; \
246 __ret = raw_res_spin_lock(lock); \
247 if (__ret) \
249 __ret; \
/linux/arch/powerpc/include/asm/
H A Ddelay.h55 typeof(condition) __ret; \
60 while (!(__ret = (condition)) && \
65 while (!(__ret = (condition)) && \
70 if (!__ret) \
71 __ret = (condition); \
72 __ret; \
/linux/tools/objtool/include/objtool/
H A Dutil.h9 int __ret = snprintf(str, size, format, args); \
10 if (__ret < 0) \
12 else if (__ret >= size) \
15 __ret = 0; \
16 __ret; \
H A Dendianness.h22 __typeof__(val) __ret; \
26 __ret = __need_bswap ? bswap_64(val) : (val); break; \
28 __ret = __need_bswap ? bswap_32(val) : (val); break; \
30 __ret = __need_bswap ? bswap_16(val) : (val); break; \
34 __ret; \
/linux/tools/arch/x86/include/asm/
H A Dcmpxchg.h37 __typeof__(*(ptr)) __ret; \
45 : "=a" (__ret), "+m" (*__ptr) \
54 : "=a" (__ret), "+m" (*__ptr) \
63 : "=a" (__ret), "+m" (*__ptr) \
72 : "=a" (__ret), "+m" (*__ptr) \
80 __ret; \
/linux/include/uapi/linux/netfilter/
H A Dx_tables.h132 int __ret = 0; \
140 __ret = fn(__m , ## args); \
141 if (__ret != 0) \
144 __ret; \
151 int __ret = 0; \
160 __ret = fn(__entry , ## args); \
161 if (__ret != 0) \
164 __ret; \
/linux/arch/mips/include/asm/
H A Dcmpxchg.h36 __typeof(*(m)) __ret; \
52 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
59 __ret = *m; \
64 __ret; \
114 __typeof(*(m)) __ret; \
132 : "=&r" (__ret), "=" GCC_OFF_SMALL_ASM() (*m) \
139 __ret = *m; \
140 if (__ret == old) \
145 __ret; \

1234