Home
last modified time | relevance | path

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

12

/linux/fs/bcachefs/
H A Derror.h52 if (_ret) \
54 _ret; \
72 if (_ret) \
74 _ret; \
92 if (_ret) \
94 _ret; \
131 ret = _ret; \
217 if (_ret) \
219 _ret; \
241 _ret; \
[all …]
H A Ddarray.h52 int _ret = darray_make_room_gfp((_d), 1, _gfp); \
54 if (!_ret) \
56 _ret; \
69 int _ret = darray_make_room((_d), 1); \
71 if (!_ret) \
73 _ret; \
H A Dbtree_iter.h842 _start, _end, _flags, _k, _ret) \ argument
856 _start, _flags, _k, _ret) \ argument
858 SPOS_MAX, _flags, _k, _ret)
861 _start, _flags, _k, _ret) \ argument
885 int _ret = _do; \
887 if (bch2_err_matches(_ret, ENOMEM)) { \
889 _ret = drop_locks_do(_trans, _do); \
891 _ret; \
899 _ret = 0; \
910 int _ret = (_do); \
[all …]
H A Dmove.h43 int _ret = 0; \
51 _ret = __wait_event_timeout((_ctxt)->wait, \
54 if (_ret || ( cond_finished)) \
57 _ret; \
H A Dutil.h343 int _ret = 0; \
348 _ret = -1; \
358 _ret; \
363 int _ret = 0; \
367 _ret = -1; \
378 _ret; \
589 typeof(*_p) _ret = 0; \
593 _ret += *per_cpu_ptr(_p, cpu); \
594 _ret; \
H A Dbcachefs.h330 #define bch_err_fn(_c, _ret) \ argument
332 if (should_print_err(_ret)) \
333 bch_err(_c, "%s(): error %s", __func__, bch2_err_str(_ret));\
336 #define bch_err_fn_ratelimited(_c, _ret) \ argument
338 if (should_print_err(_ret)) \
339 bch_err_ratelimited(_c, "%s(): error %s", __func__, bch2_err_str(_ret));\
342 #define bch_err_msg(_c, _ret, _msg, ...) \ argument
344 if (should_print_err(_ret)) \
346 ##__VA_ARGS__, bch2_err_str(_ret)); \
H A Dutil.c115 int _ret = _f; \
116 if (_ret < 0) \
117 return _ret; \
118 cp += _ret; \
/linux/tools/include/nolibc/
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; \
76 : "=r"(_ret), "+r"(_num), "+r"(_arg2) \
97 : "=r"(_ret), "+r"(_num), "+r"(_arg2), "+r"(_arg3) \
119 : "=r"(_ret), "+r"(_num), "+r"(_arg2), "+r"(_arg3), \
143 : "=r"(_ret), "+r"(_num), "+r"(_arg2), "+r"(_arg3), \
[all …]
H A Darch-x86_64.h34 long _ret; \
39 : "=a"(_ret) \
43 _ret; \
48 long _ret; \
54 : "=a"(_ret) \
59 _ret; \
71 : "=a"(_ret) \
89 : "=a"(_ret) \
108 : "=a"(_ret) \
128 : "=a"(_ret) \
[all …]
H A Darch-i386.h33 long _ret; \
38 : "=a" (_ret) \
42 _ret; \
47 long _ret; \
53 : "=a" (_ret) \
58 _ret; \
63 long _ret; \
70 : "=a" (_ret) \
88 : "=a" (_ret) \
107 : "=a" (_ret) \
[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
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/tools/testing/selftests/bpf/prog_tests/
H A Duprobe_syscall.c318 long _ret; \
325 : "=a"(_ret) \
330 _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/drivers/gpu/drm/imagination/
H A Dpvr_device.h382 int _ret = -EINVAL; \
385 _ret = 0; \
387 _ret; \
/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()
/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.h190 typeof((array)->freelist) _ret = (array)->freelist; \
192 if (_ret) \
193 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
195 _ret; \
/linux/tools/testing/selftests/kvm/include/
H A Dkvm_util.h264 #define __KVM_SYSCALL_ERROR(_name, _ret) \ argument
265 "%s failed, rc: %i errno: %i (%s)", (_name), (_ret), errno, strerror(errno)
274 #define __KVM_IOCTL_ERROR(_name, _ret) __KVM_SYSCALL_ERROR(_name, _ret) argument
275 #define KVM_IOCTL_ERROR(_ioctl, _ret) __KVM_IOCTL_ERROR(#_ioctl, _ret) argument
/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); \

12