Home
last modified time | relevance | path

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

123

/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/include/linux/
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/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/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/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 …]
/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/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/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/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/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; \
/linux/arch/riscv/include/asm/
H A Dcmpxchg.h76 __typeof__(*(__ptr)) __ret; \
82 __ret, __ptr, __new); \
87 __ret, __ptr, __new); \
91 __ret, __ptr, __new); \
95 __ret, __ptr, __new); \
100 (__typeof__(*(__ptr)))__ret; \
229 __typeof__(*(__ptr)) __ret; \
236 __ret, __ptr, __old, __new); \
242 __ret, __ptr, __old, __new); \
248 __ret, __ptr, (long)(int)(long), __old, __new); \
[all …]
/linux/tools/testing/selftests/vfio/lib/include/libvfio/
H A Dassert.h68 int __ret = ioctl((_fd), (_op), (__arg)); \
69 VFIO_ASSERT_EQ(__ret, 0, "ioctl(%s, %s, %s) returned %d\n", #_fd, #_op, #_arg, __ret); \
73 int __ret = snprintf(_s, _size, _fmt, ##__VA_ARGS__); \
74 VFIO_ASSERT_LT(__ret, _size); \
/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; \
/linux/arch/alpha/include/asm/
H A Dcmpxchg.h256 __typeof__(*(ptr)) __ret; \
259 __ret = (__typeof__(*(ptr))) \
262 __ret; \
267 __typeof__(*(ptr)) __ret; \
271 __ret = (__typeof__(*(ptr))) ____cmpxchg((ptr), \
274 __ret; \
/linux/tools/testing/selftests/vfio/lib/
H A Dsysfs.c11 int __ret; \
17 __ret = readlink(_path, _buf, sizeof(_buf) - 1); \
18 if (__ret != -1) \
19 _buf[__ret] = 0; \
20 __ret; \
/linux/arch/arc/include/asm/
H A Dcache.h33 unsigned int __ret; \
36 : "=r"(__ret) \
38 __ret; \
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h160 int __ret; \
161 __ret = (ret < 0); \
162 if ((__ret) && (MXL_ADV_DEBUG_ENABLED & MXL_ADV_DBG)) \
165 __ret; \

123