Home
last modified time | relevance | path

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

/linux-6.1.9/tools/include/nolibc/
Darch-x86_64.h70 long _ret; \
75 : "=a"(_ret) \
79 _ret; \
84 long _ret; \
90 : "=a"(_ret) \
95 _ret; \
100 long _ret; \
107 : "=a"(_ret) \
112 _ret; \
117 long _ret; \
[all …]
Darch-i386.h68 long _ret; \
73 : "=a" (_ret) \
77 _ret; \
82 long _ret; \
88 : "=a" (_ret) \
93 _ret; \
98 long _ret; \
105 : "=a" (_ret) \
110 _ret; \
115 long _ret; \
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvif/
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-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/core/
Dfirmware.h22 int _ver, _fwv, _ret = 0; \
31 _ret = _fwif ? 0 : -EINVAL; \
34 if (_ret == 0) { \
40 _ret = _next->load(p, _fwv, _next); \
41 if (_ret == 0 || _ver >= 0) { \
48 if (_ret) \
49 _fwif = ERR_PTR(_ret); \
/linux-6.1.9/tools/perf/
Dperf-completion.sh233 compadd -Q -S '' -a -- array && _ret=0
257 compadd -Q -S '' -a -- array && _ret=0
262 local _ret=1 cur cword prev
267 let _ret && _default && _ret=0
268 return _ret
/linux-6.1.9/include/rdma/
Duverbs_ioctl.h666 #define IS_UVERBS_COPY_ERR(_ret) ((_ret) && (_ret) != -ENOENT) argument
955 int _ret = \
960 _ret; \
966 int _ret = \
970 _ret; \
977 int _ret = \
982 _ret; \
989 int _ret = \
993 _ret; \
/linux-6.1.9/tools/power/acpi/tools/acpidbg/
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-6.1.9/tools/testing/selftests/bpf/progs/
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
Dtest_bpf_cookie.c105 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() argument
/linux-6.1.9/mm/
Dmmu_notifier.c489 int _ret; in mn_hlist_invalidate_range_start() local
493 _ret = ops->invalidate_range_start(subscription, range); in mn_hlist_invalidate_range_start()
496 if (_ret) { in mn_hlist_invalidate_range_start()
498 ops->invalidate_range_start, _ret, in mn_hlist_invalidate_range_start()
503 _ret != -EAGAIN); in mn_hlist_invalidate_range_start()
511 ret = _ret; in mn_hlist_invalidate_range_start()
Dpage_alloc.c166 type *_ret; \
168 _ret = this_cpu_ptr(ptr); \
169 spin_lock(&_ret->member); \
170 _ret; \
175 type *_ret; \
177 _ret = this_cpu_ptr(ptr); \
178 spin_lock_irqsave(&_ret->member, flags); \
179 _ret; \
184 type *_ret; \
186 _ret = this_cpu_ptr(ptr); \
[all …]
/linux-6.1.9/drivers/bus/
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-6.1.9/tools/testing/selftests/sparc64/drivers/
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-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h189 #define __KVM_SYSCALL_ERROR(_name, _ret) \ argument
190 "%s failed, rc: %i errno: %i (%s)", (_name), (_ret), errno, strerror(errno)
192 #define __KVM_IOCTL_ERROR(_name, _ret) __KVM_SYSCALL_ERROR(_name, _ret) argument
193 #define KVM_IOCTL_ERROR(_ioctl, _ret) __KVM_IOCTL_ERROR(#_ioctl, _ret) argument
/linux-6.1.9/drivers/md/bcache/
Dutil.h254 typeof((array)->freelist) _ret = (array)->freelist; \
256 if (_ret) \
257 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
259 _ret; \
/linux-6.1.9/drivers/iio/test/
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-6.1.9/drivers/firmware/
Ddmi-sysfs.c581 void *_ret) in dmi_sysfs_register_handle() argument
584 int *ret = _ret; in dmi_sysfs_register_handle()
/linux-6.1.9/include/linux/
Dfilter.h1406 u32 _ret; \
1415 _ret = func(_prog, _ctx); \
1416 if (_ret == SK_PASS && _ctx->selected_sk) { \
1420 } else if (_ret == SK_DROP && _all_pass) { \
/linux-6.1.9/fs/
Duserfaultfd.c1192 ssize_t _ret, ret = 0; in userfaultfd_read() local
1203 _ret = userfaultfd_ctx_read(ctx, no_wait, &msg, inode); in userfaultfd_read()
1204 if (_ret < 0) in userfaultfd_read()
1205 return ret ? ret : _ret; in userfaultfd_read()
/linux-6.1.9/sound/soc/
Dsoc-pcm.c1097 int ret = -EINVAL, _ret = 0; in soc_pcm_trigger() local
1119 _ret = ret; in soc_pcm_trigger()
1158 if (_ret) in soc_pcm_trigger()
1159 ret = _ret; in soc_pcm_trigger()
/linux-6.1.9/tools/testing/selftests/seccomp/
Dseccomp_bpf.c311 int _ret; \
313 _ret = __filecmp(pid1, pid2, fd1, fd2); \
314 if (_ret != 0) { \
315 if (_ret < 0 && errno == ENOSYS) { \
317 _ret = 0; \
320 _ret; })
/linux-6.1.9/drivers/ufs/core/
Dufshcd.c94 int _ret; \
96 _ret = ufshcd_enable_vreg(_dev, _vreg); \
98 _ret = ufshcd_disable_vreg(_dev, _vreg); \
99 _ret; \