Home
last modified time | relevance | path

Searched refs:_ret (Results 1 – 25 of 27) sorted by relevance

12

/linux/tools/include/nolibc/
H A Darch-x86.h35 long _ret; \
40 : "=a" (_ret) \
44 _ret; \
49 long _ret; \
55 : "=a" (_ret) \
60 _ret; \
65 long _ret; \
72 : "=a" (_ret) \
77 _ret; \
82 long _ret; \
[all …]
H A Darch-sh.h25 register long _ret __asm__ ("r0"); \
29 : "=r"(_ret) \
33 _ret; \
39 register long _ret __asm__ ("r0"); \
44 : "=r"(_ret) \
48 _ret; \
54 register long _ret __asm__ ("r0"); \
60 : "=r"(_ret) \
64 _ret; \
70 register long _ret __asm__ ("r0"); \
[all …]
H A Darch-powerpc.h30 register long _ret __asm__ ("r3"); \
38 : "=r"(_ret), "+r"(_num) \
42 _ret; \
47 register long _ret __asm__ ("r3"); \
56 : "=r"(_ret), "+r"(_num) \
60 _ret; \
66 register long _ret __asm__ ("r3"); \
76 : "=r"(_ret), "+r"(_num), "+r"(_arg2) \
80 _ret; \
86 register long _ret __asm__ ("r3"); \
[all …]
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A Dunpack.h6 void **_data = (d); __u32 *_size = (s); int _ret = (r); \
7 if (_ret == -ENOSYS && *_size == sizeof(m)) { \
9 *_size = _ret = 0; \
11 _ret; \
16 int _ret = (r), _vl = (vl), _vh = (vh); \
17 if (_ret == -ENOSYS && *_size >= sizeof(m) && \
21 if (_ret = 0, !(x)) { \
22 _ret = *_size ? -E2BIG : 0; \
27 _ret; \
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dfirmware.h51 int _ver, _fwv, _ret = 0; \
60 _ret = _fwif ? 0 : -EINVAL; \
63 if (_ret == 0) { \
69 _ret = _next->load(p, _fwv, _next); \
70 if (_ret == 0 || _ver >= 0) { \
77 if (_ret) \
78 _fwif = ERR_PTR(_ret); \
/linux/tools/perf/
H A Dperf-completion.sh253 compadd -Q -S '' -a -- array && _ret=0
277 compadd -Q -S '' -a -- array && _ret=0
282 local _ret=1 cur cword prev
287 let _ret && _default && _ret=0
288 # _ret is only assigned 0 or 1, disable inaccurate analysis.
290 return _ret
/linux/include/rdma/
H A Duverbs_ioctl.h670 #define IS_UVERBS_COPY_ERR(_ret) ((_ret) && (_ret) != -ENOENT) argument
959 int _ret = \
964 _ret; \
970 int _ret = \
974 _ret; \
981 int _ret = \
986 _ret; \
993 int _ret = \
997 _ret; \
/linux/tools/power/acpi/tools/acpidbg/
H A Dacpidbg.c55 #define ACPI_AML_DO(_fd, _op, _buf, _ret) \ argument
57 _ret = acpi_aml_##_op(_fd, &acpi_aml_##_buf##_crc); \
58 if (_ret == 0) { \
64 #define ACPI_AML_BATCH_DO(_fd, _op, _buf, _ret) \ argument
66 _ret = acpi_aml_##_op##_batch_##_buf(_fd, \
68 if (_ret == 0) \
/linux/include/linux/
H A Duaccess.h844 int _ret = 0; \
850 _ret = -EFAULT; \
852 _ret; \
869 int _ret = 0; \
875 _ret = -EFAULT; \
877 _ret; \
H A Dfilter.h1658 u32 _ret; \
1667 _ret = func(_prog, _ctx); \
1668 if (_ret == SK_PASS && _ctx->selected_sk) { \
1672 } else if (_ret == SK_DROP && _all_pass) { \
/linux/mm/
H A Dmmu_notifier.c474 int _ret; in mn_hlist_invalidate_range_start() local
478 _ret = ops->invalidate_range_start(subscription, range); in mn_hlist_invalidate_range_start()
481 if (_ret) { in mn_hlist_invalidate_range_start()
483 ops->invalidate_range_start, _ret, in mn_hlist_invalidate_range_start()
488 _ret != -EAGAIN); in mn_hlist_invalidate_range_start()
496 ret = _ret; in mn_hlist_invalidate_range_start()
H A Dpage_alloc.c137 type *_ret; \
139 _ret = this_cpu_ptr(ptr); \
140 if (!spin_trylock(&_ret->member)) { \
142 _ret = NULL; \
144 _ret; \
/linux/tools/testing/selftests/bpf/progs/
H A Dget_func_args_test.c71 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() argument
100 int BPF_PROG(fexit_test, int _a, int *_b, int _ret) in BPF_PROG() argument
H A Dtest_bpf_cookie.c121 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() argument
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_syscalls.h22 #define __KVM_SYSCALL_ERROR(_name, _ret) \ argument
23 "%s failed, rc: %i errno: %i (%s)", (_name), (_ret), errno, strerror(errno)
H A Dkvm_util.h294 #define __KVM_IOCTL_ERROR(_name, _ret) __KVM_SYSCALL_ERROR(_name, _ret) argument
295 #define KVM_IOCTL_ERROR(_ioctl, _ret) __KVM_IOCTL_ERROR(#_ioctl, _ret) argument
/linux/drivers/gpu/drm/imagination/
H A Dpvr_device.h437 int _ret = -EINVAL; \
440 _ret = 0; \
442 _ret; \
/linux/drivers/bus/
H A Dmips_cdmm.c192 #define BUILD_PERCPU_HELPER(_ret, _name) \ argument
193 static _ret mips_cdmm_##_name(struct device *dev) \
202 _BUILD_RET_##_ret work_on_cpu(cdev->cpu, \
203 mips_cdmm_##_ret##_work, &work); \
/linux/tools/testing/selftests/sparc64/drivers/
H A Dadi-test.c51 #define RETURN_FROM_TEST(_ret) \ argument
54 "\tTest %s returned %d\n", __func__, _ret); \
55 return _ret; \
61 #define TEST_STEP_FAILURE(_ret) \ argument
64 _ret, __func__, __LINE__); \
/linux/drivers/md/bcache/
H A Dutil.h253 typeof((array)->freelist) _ret = (array)->freelist; \
255 if (_ret) \
256 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
258 _ret; \
/linux/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_syscall.c607 long _ret; \
614 : "=a"(_ret) \
619 _ret; \
/linux/drivers/iio/test/
H A Diio-test-format.c10 #define IIO_TEST_FORMAT_EXPECT_EQ(_test, _buf, _ret, _val) do { \ argument
11 KUNIT_EXPECT_EQ(_test, strlen(_buf), _ret); \
/linux/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c97 long _ret; \
104 : "=a"(_ret) \
109 _ret; \
/linux/fs/
H A Duserfaultfd.c1161 ssize_t _ret, ret = 0; in userfaultfd_read_iter() local
1173 _ret = userfaultfd_ctx_read(ctx, no_wait, &msg, inode); in userfaultfd_read_iter()
1174 if (_ret < 0) in userfaultfd_read_iter()
1175 return ret ? ret : _ret; in userfaultfd_read_iter()
1176 _ret = !copy_to_iter_full(&msg, sizeof(msg), to); in userfaultfd_read_iter()
1177 if (_ret) in userfaultfd_read_iter()
/linux/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c337 int _ret; \
339 _ret = __filecmp(pid1, pid2, fd1, fd2); \
340 if (_ret != 0) { \
341 if (_ret < 0 && errno == ENOSYS) { \
343 _ret = 0; \
346 _ret; })

12