Home
last modified time | relevance | path

Searched full:__ret (Results 1 – 25 of 82) sorted by relevance

1234

/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.h17 typeof(sym) __ret; \
21 "lui %[__ret],0x89abd\n\t" \
22 "addi %[__ret],%[__ret],-0x211\n\t" \
27 : [__ret] "=r" (__ret)); \
28 __ret; \
45 "lui %[__ret],0x89abd\n\t" \
47 "addiw %[__ret],%[__ret],-0x211\n\t" \
52 "slli %[__ret],%[__ret],32\n\t" \
53 "srli %[__ret],%[__ret],32\n\t" \
54 "add %[__ret],%[__ret],%[__tmp]\n\t" \
[all …]
H A Dcmpxchg.h73 __typeof__(*(__ptr)) __ret; \
79 __ret, __ptr, __new); \
84 __ret, __ptr, __new); \
88 __ret, __ptr, __new); \
92 __ret, __ptr, __new); \
97 (__typeof__(*(__ptr)))__ret; \
220 __typeof__(*(__ptr)) __ret; \
227 __ret, __ptr, __old, __new); \
233 __ret, __ptr, __old, __new); \
239 __ret, __ptr, (long)(int)(long), __old, __new); \
[all …]
/linux/include/linux/
H A Dwait.h279 if (__cond && !__ret) \
280 __ret = 1; \
281 __cond || !__ret; \
291 * The below macro ___wait_event() has an explicit shadow of the __ret
297 * The type inconsistency of the wait_event_*() __ret variable is also
306 long __ret = ret; /* explicit shadow */ \
316 __ret = __int; \
326 __out: __ret; \
386 int __ret = 0; \
389 __ret = __wait_event_freezable(wq_head, condition); \
[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 Datomic.h60 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
62 __ret; \
73 typeof(op##_relaxed(args)) __ret; \
75 __ret = op##_relaxed(args); \
77 __ret; \
H A Ddebug_locks.h26 int __ret = 0; \
33 __ret = 1; \
35 __ret; \
/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/arch/s390/include/asm/
H A Druntime-const.h9 typeof(sym) __ret; \
12 "0: iihf %[__ret],%[c1]\n" \
13 " iilf %[__ret],%[c2]\n" \
17 : [__ret] "=d" (__ret) \
20 __ret; \
25 unsigned int __ret = (val); \
28 "0: srl %[__ret],12\n" \
32 : [__ret] "+d" (__ret)); \
33 __ret; \
/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/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 …]
/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/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/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/tools/objtool/include/objtool/
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/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/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/arm64/include/asm/
H A Druntime-const.h11 typeof(sym) __ret; \
20 :"=r" (__ret)); \
21 __ret; })
24 unsigned long __ret; \
30 :"=r" (__ret) \
32 __ret; })
/linux/arch/loongarch/include/asm/
H A Dcmpxchg.h14 __typeof(val) __ret; \
18 : "+ZB" (*m), "=&r" (__ret) \
22 __ret; \
27 __typeof(val) __ret, __tmp; \
34 : "=&r" (__ret), "=&r" (__tmp), "=ZC" (*m) \
38 __ret; \
123 __typeof(old) __ret; \
133 : "=&r" (__ret), "=ZB"(*m) \
137 __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; \
/linux/arch/arm/include/asm/
H A Ddcc.h9 u32 __ret; in __dcc_getstatus() local
11 : "=r" (__ret) : : "cc"); in __dcc_getstatus()
13 return __ret; in __dcc_getstatus()
H A Dsync_bitops.h41 __typeof__(*(ptr)) __ret; \
43 __ret = arch_cmpxchg_relaxed((ptr), (old), (new)); \
45 __ret; \

1234