Home
last modified time | relevance | path

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

/Linux-v5.10/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-v5.10/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-v5.10/tools/include/nolibc/
Dnolibc.h301 long _ret; \
306 : "=a" (_ret) \
310 _ret; \
315 long _ret; \
321 : "=a" (_ret) \
326 _ret; \
331 long _ret; \
338 : "=a" (_ret) \
343 _ret; \
348 long _ret; \
[all …]
/Linux-v5.10/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-v5.10/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-v5.10/include/rdma/
Duverbs_ioctl.h657 #define IS_UVERBS_COPY_ERR(_ret) ((_ret) && (_ret) != -ENOENT) argument
916 int _ret = _uverbs_get_const(&_val, _attrs_bundle, _idx, \
920 _ret; \
927 int _ret = \
932 _ret; \
/Linux-v5.10/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()
504 ret = _ret; in mn_hlist_invalidate_range_start()
/Linux-v5.10/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-v5.10/tools/testing/selftests/sparc64/drivers/
Dadi-test.c55 #define RETURN_FROM_TEST(_ret) \ argument
58 "\tTest %s returned %d\n", __func__, _ret); \
59 return _ret; \
65 #define TEST_STEP_FAILURE(_ret) \ argument
68 _ret, __func__, __LINE__); \
/Linux-v5.10/drivers/md/bcache/
Dutil.h256 typeof((array)->freelist) _ret = (array)->freelist; \
258 if (_ret) \
259 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
261 _ret; \
/Linux-v5.10/include/linux/
Dbpf.h1067 u32 _ret = 1; \
1076 _ret &= func(_prog, ctx); \
1082 _ret; \
1113 u32 _ret = 1; \
1122 _ret &= (ret & 1); \
1128 if (_ret) \
1129 _ret = (_cn ? NET_XMIT_CN : NET_XMIT_SUCCESS); \
1131 _ret = (_cn ? NET_XMIT_DROP : -EPERM); \
1132 _ret; \
Dfilter.h1344 u32 _ret; \
1353 _ret = func(_prog, _ctx); \
1354 if (_ret == SK_PASS && _ctx->selected_sk) { \
1358 } else if (_ret == SK_DROP && _all_pass) { \
/Linux-v5.10/drivers/firmware/
Ddmi-sysfs.c580 void *_ret) in dmi_sysfs_register_handle() argument
583 int *ret = _ret; in dmi_sysfs_register_handle()
/Linux-v5.10/fs/
Duserfaultfd.c1160 ssize_t _ret, ret = 0; in userfaultfd_read() local
1170 _ret = userfaultfd_ctx_read(ctx, no_wait, &msg); in userfaultfd_read()
1171 if (_ret < 0) in userfaultfd_read()
1172 return ret ? ret : _ret; in userfaultfd_read()
/Linux-v5.10/tools/testing/selftests/seccomp/
Dseccomp_bpf.c300 int _ret; \
302 _ret = __filecmp(pid1, pid2, fd1, fd2); \
303 if (_ret != 0) { \
304 if (_ret < 0 && errno == ENOSYS) { \
306 _ret = 0; \
309 _ret; })
/Linux-v5.10/drivers/scsi/ufs/
Dufshcd.c82 int _ret; \
84 _ret = ufshcd_enable_vreg(_dev, _vreg); \
86 _ret = ufshcd_disable_vreg(_dev, _vreg); \
87 _ret; \