/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_helpers.h | 35 int __ret = \ 37 if (__ret == -1) \ 39 __ret; \ 44 int __ret = bind((fd), (addr), (len)); \ 45 if (__ret == -1) \ 47 __ret; \ 52 int __ret = close((fd)); \ 53 if (__ret == -1) \ 55 __ret; \ 60 int __ret = connect((fd), (addr), (len)); \ [all …]
|
/openbmc/linux/include/linux/ |
H A D | wait.h | 281 if (__cond && !__ret) \ 282 __ret = 1; \ 283 __cond || !__ret; \ 308 long __ret = ret; /* explicit shadow */ \ 318 __ret = __int; \ 325 __out: __ret; \ 385 int __ret = 0; \ 388 __ret = __wait_event_freezable(wq_head, condition); \ 389 __ret; \ 395 __ret = schedule_timeout(__ret)) [all …]
|
H A D | swait.h | 162 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 D | bpf-cgroup.h | 192 int __ret = 0; \ 195 __ret = __cgroup_bpf_run_filter_skb(sk, skb, \ 198 __ret; \ 203 int __ret = 0; \ 208 __ret = __cgroup_bpf_run_filter_skb(__sk, skb, \ 211 __ret; \ 216 int __ret = 0; \ 218 __ret = __cgroup_bpf_run_filter_sk(sk, atype); \ 220 __ret; \ 237 int __ret = 0; \ [all …]
|
H A D | kfifo.h | 258 bool __ret; \ 260 __ret = kfifo_is_empty(fifo); \ 262 __ret; \ 273 bool __ret; \ 275 __ret = kfifo_is_empty(fifo); \ 277 __ret; \ 409 unsigned int __ret; \ 413 __ret = __kfifo_in_r(__kfifo, &__val, sizeof(__val), \ 416 __ret = !kfifo_is_full(__tmp); \ 417 if (__ret) { \ [all …]
|
H A D | wait_bit.h | 247 long __ret = ret; /* explicit shadow */ \ 259 __ret = __int; \ 266 __out: __ret; \ 287 int __ret = 0; \ 290 __ret = __wait_var_event_killable(var, condition); \ 291 __ret; \ 297 __ret = schedule_timeout(__ret)) 301 long __ret = timeout; \ 304 __ret = __wait_var_event_timeout(var, condition, timeout); \ 305 __ret; \ [all …]
|
H A D | rcuwait.h | 54 long __ret = ret; \ 66 __ret = -EINTR; \ 73 __ret; \ 82 __ret = schedule_timeout(__ret)) 86 long __ret = timeout; \ 88 __ret = __rcuwait_wait_event_timeout(w, condition, \ 90 __ret; \
|
H A D | atomic.h | 60 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \ 62 __ret; \ 73 typeof(op##_relaxed(args)) __ret; \ 75 __ret = op##_relaxed(args); \ 77 __ret; \
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | cmpxchg.h | 18 __typeof__(*(ptr)) __ret; \ 23 : "=r" (__ret), "+A" (*__ptr) \ 30 : "=r" (__ret), "+A" (*__ptr) \ 37 __ret; \ 51 __typeof__(*(ptr)) __ret; \ 57 : "=r" (__ret), "+A" (*__ptr) \ 65 : "=r" (__ret), "+A" (*__ptr) \ 72 __ret; \ 86 __typeof__(*(ptr)) __ret; \ 92 : "=r" (__ret), "+A" (*__ptr) \ [all …]
|
/openbmc/linux/include/uapi/linux/netfilter_bridge/ |
H A D | ebtables.h | 221 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 …]
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | cmpxchg.h | 14 __typeof__(*(ptr)) __ret; \ 33 __ret = (__typeof__(*(ptr))) \ 43 : "=&r" (__ret), "=&r" (tmp) \ 50 __ret; \ 62 __typeof__(*(ptr)) __ret; \ 73 : "=&r" (__ret), "=&r" (__tmp) \ 80 __ret; \ 92 __typeof__(*(ptr)) __ret; \ 104 : "=&r" (__ret), "=&r" (__tmp) \ 111 __ret; \ [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | ldcw.h | 30 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; \
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | uaccess.h | 30 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 …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | cmpxchg.h | 44 __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 D | cmpxchg_32.h | 74 __typeof__(*(ptr)) __ret; \ 81 "=A" (__ret), \ 86 __ret; }) 91 __typeof__(*(ptr)) __ret; \ 97 "=A" (__ret), \ 102 __ret; })
|
/openbmc/linux/drivers/media/tuners/ |
H A D | tuner-i2c.h | 121 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 …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | delay.h | 55 typeof(condition) __ret; \ 60 while (!(__ret = (condition)) && \ 65 while (!(__ret = (condition)) && \ 70 if (!__ret) \ 71 __ret = (condition); \ 72 __ret; \
|
/openbmc/linux/include/asm-generic/ |
H A D | percpu.h | 86 typeof(pcp) __ret; \ 87 __ret = *__p; \ 89 __ret; \ 105 bool __ret; \ 108 __ret = true; \ 111 __ret = false; \ 113 __ret; \ 144 typeof(pcp) __ret; \ 146 __ret = __this_cpu_generic_read_nopreempt(pcp); \ 148 __ret = __this_cpu_generic_read_noirq(pcp); \ [all …]
|
/openbmc/linux/drivers/iio/ |
H A D | industrialio-backend.c | 82 int __ret; \ 84 __ret = iio_backend_check_op(__back, op); \ 85 if (!__ret) \ 86 __ret = __back->ops->op(__back, ##args); \ 88 __ret; \ 94 int __ret; \ 96 __ret = iio_backend_check_op(__back, op); \ 97 if (__ret) \ 98 ptr_err = ERR_PTR(__ret); \ 107 int __ret; \ [all …]
|
/openbmc/linux/tools/arch/x86/include/asm/ |
H A D | cmpxchg.h | 37 __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; \
|
/openbmc/linux/tools/objtool/include/objtool/ |
H A D | endianness.h | 23 __typeof__(val) __ret; \ 27 __ret = __need_bswap ? bswap_64(val) : (val); break; \ 29 __ret = __need_bswap ? bswap_32(val) : (val); break; \ 31 __ret = __need_bswap ? bswap_16(val) : (val); break; \ 35 __ret; \
|
/openbmc/linux/include/uapi/linux/netfilter/ |
H A D | x_tables.h | 132 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; \
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cmpxchg.h | 36 __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; \
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | cmpxchg.h | 47 __typeof__(*(ptr)) __ret; \ 50 __ret = (__typeof__(*(ptr))) \ 53 __ret; \ 58 __typeof__(*(ptr)) __ret; \ 62 __ret = (__typeof__(*(ptr))) __cmpxchg((ptr), \ 65 __ret; \
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | cmpxchg.h | 77 __typeof__(*(ptr)) __ret; \ 79 __ret = (__typeof__(*(ptr))) \ 82 __ret; \ 181 __typeof__(*(ptr)) __ret; \ 183 __ret = (__typeof__(*(ptr))) \ 186 __ret; \
|