Home
last modified time | relevance | path

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

12

/linux-6.12.1/fs/bcachefs/
Derror.h50 bool _ret = unlikely(!!(cond)); \
52 if (_ret) \
54 _ret; \
70 bool _ret = unlikely(!!(cond)); \
72 if (_ret) \
74 _ret; \
90 bool _ret = unlikely(!!(cond)); \
92 if (_ret) \
94 _ret; \
128 int _ret = bch2_fsck_err(c, _flags, _err_type, __VA_ARGS__); \
[all …]
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; \
Dbtree_iter.h842 _start, _end, _flags, _k, _ret) \ argument
846 !((_ret) = bkey_err(_k)) && (_k).k; \
849 #define for_each_btree_key_upto_continue_norestart(_iter, _end, _flags, _k, _ret)\ argument
852 !((_ret) = bkey_err(_k)) && (_k).k; \
856 _start, _flags, _k, _ret) \ argument
858 SPOS_MAX, _flags, _k, _ret)
861 _start, _flags, _k, _ret) \ argument
865 !((_ret) = bkey_err(_k)) && (_k).k; \
868 #define for_each_btree_key_continue_norestart(_iter, _flags, _k, _ret) \ argument
869 for_each_btree_key_upto_continue_norestart(_iter, SPOS_MAX, _flags, _k, _ret)
[all …]
Dmove.h43 int _ret = 0; \
51 _ret = __wait_event_timeout((_ctxt)->wait, \
54 if (_ret || ( cond_finished)) \
57 _ret; \
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; \
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)); \
Dutil.c115 int _ret = _f; \
116 if (_ret < 0) \
117 return _ret; \
118 cp += _ret; \
/linux-6.12.1/tools/include/nolibc/
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 …]
Darch-x86_64.h34 long _ret; \
39 : "=a"(_ret) \
43 _ret; \
48 long _ret; \
54 : "=a"(_ret) \
59 _ret; \
64 long _ret; \
71 : "=a"(_ret) \
76 _ret; \
81 long _ret; \
[all …]
Darch-i386.h33 long _ret; \
38 : "=a" (_ret) \
42 _ret; \
47 long _ret; \
53 : "=a" (_ret) \
58 _ret; \
63 long _ret; \
70 : "=a" (_ret) \
75 _ret; \
80 long _ret; \
[all …]
/linux-6.12.1/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.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/
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-6.12.1/tools/perf/
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-6.12.1/include/rdma/
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-6.12.1/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.12.1/tools/testing/selftests/bpf/prog_tests/
Duprobe_syscall.c318 long _ret; \
325 : "=a"(_ret) \
330 _ret; \
/linux-6.12.1/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.c121 int BPF_PROG(fmod_ret_test, int _a, int *_b, int _ret) in BPF_PROG() argument
/linux-6.12.1/mm/
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-6.12.1/drivers/gpu/drm/imagination/
Dpvr_device.h392 int _ret = -EINVAL; \
395 _ret = 0; \
397 _ret; \
/linux-6.12.1/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.12.1/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.12.1/drivers/md/bcache/
Dutil.h190 typeof((array)->freelist) _ret = (array)->freelist; \
192 if (_ret) \
193 (array)->freelist = *((typeof((array)->freelist) *) _ret);\
195 _ret; \
/linux-6.12.1/tools/testing/selftests/kvm/include/
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-6.12.1/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); \

12