Home
last modified time | relevance | path

Searched refs:ERANGE (Results 1 – 25 of 40) sorted by relevance

12

/tools/testing/selftests/bpf/prog_tests/
A Dread_vsyscall.c18 { .name = "probe_read_kernel", .ret = -ERANGE },
19 { .name = "probe_read_kernel_str", .ret = -ERANGE },
20 { .name = "probe_read", .ret = -ERANGE },
21 { .name = "probe_read_str", .ret = -ERANGE },
A Dempty_skb.c60 .ret = -ERANGE, in test_empty_skb()
61 .lwt_egress_ret = -ERANGE, in test_empty_skb()
74 .ret = -ERANGE, in test_empty_skb()
75 .lwt_egress_ret = -ERANGE, in test_empty_skb()
A Dcheck_mtu.c33 if (errno == ERANGE) in read_mtu_device_lo()
A Dtc_opts.c831 ASSERT_EQ(err, -ERANGE, "prog_attach"); in test_tc_opts_replace_target()
842 ASSERT_EQ(err, -ERANGE, "prog_attach"); in test_tc_opts_replace_target()
900 ASSERT_EQ(err, -ERANGE, "prog_attach"); in test_tc_opts_invalid_target()
1932 ASSERT_EQ(err, -ERANGE, "prog_detach"); in test_tc_opts_detach_before_target()
2139 ASSERT_EQ(err, -ERANGE, "prog_detach"); in test_tc_opts_detach_after_target()
2148 ASSERT_EQ(err, -ERANGE, "prog_detach"); in test_tc_opts_detach_after_target()
2157 ASSERT_EQ(err, -ERANGE, "prog_detach"); in test_tc_opts_detach_after_target()
2438 ASSERT_EQ(err, -ERANGE, "prog_64_attach"); in test_tc_opts_max_target()
/tools/testing/selftests/net/
A Dbusy_poller.c101 error(1, ERANGE, "busy_poll_usecs too large"); in parse_opts()
107 error(1, ERANGE, in parse_opts()
114 error(1, ERANGE, in parse_opts()
121 error(1, ERANGE, "port must be <= 65535"); in parse_opts()
138 error(1, ERANGE, in parse_opts()
145 error(1, ERANGE, in parse_opts()
152 error(1, ERANGE, in parse_opts()
159 error(1, ERANGE, in parse_opts()
166 error(1, ERANGE, in parse_opts()
A Dioam6_parser.c948 if (res == ULONG_MAX && errno == ERANGE) in get_u32()
970 if (res == ULONG_MAX && errno == ERANGE) in get_u16()
992 if (res == ULONG_MAX && errno == ERANGE) in get_u8()
/tools/lib/bpf/
A Dlibbpf_errno.c66 return libbpf_err(-ERANGE); in libbpf_strerror()
73 return libbpf_err(-ERANGE); in libbpf_strerror()
A Dstr_error.c93 case -ERANGE: return "-ERANGE"; in libbpf_errstr()
A Dgen_loader.c59 gen->error = -ERANGE; in realloc_insn_buf()
60 return -ERANGE; in realloc_insn_buf()
82 gen->error = -ERANGE; in realloc_data_buf()
83 return -ERANGE; in realloc_data_buf()
293 gen->error = -ERANGE; in emit_check_err()
/tools/testing/selftests/pidfd/
A Dpidfd_open_test.c32 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
33 return -ERANGE; in safe_int()
42 return -ERANGE; in safe_int()
/tools/include/uapi/asm-generic/
A Derrno-base.h38 #define ERANGE 34 /* Math result not representable */ macro
/tools/testing/selftests/bpf/progs/
A Dbpf_iter_task_btf.c35 case -ERANGE: in dump_task_struct()
A Dstring_kfuncs_failure1.c19 #define USER_PTR_ERR -ERANGE
A Dnetif_receive_skb.c124 ret = -ERANGE; in BPF_PROG()
A Ddynptr_success.c289 if (bpf_dynptr_adjust(&ptr, size + 1, size + 1) != -ERANGE) { in test_adjust_err()
295 if (bpf_dynptr_adjust(&ptr, 0, size + 1) != -ERANGE) { in test_adjust_err()
/tools/power/cpupower/lib/
A Dacpi_cppc.c55 if (endp == linebuf || errno == ERANGE) in acpi_cppc_get_data()
A Dcpuidle.c155 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
A Dcpupower.c129 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
/tools/testing/selftests/net/ovpn/
A Dovpn-cli.c1818 if (errno == ERANGE || slot < 1 || slot > 2) { in ovpn_parse_key_slot()
2162 if (errno == ERANGE || ovpn->lport > 65535) { in ovpn_parse_cmd_args()
2202 if (errno == ERANGE || ovpn->lport > 65535) { in ovpn_parse_cmd_args()
2219 if (errno == ERANGE || ovpn->lport > 65535) { in ovpn_parse_cmd_args()
2237 if (errno == ERANGE) { in ovpn_parse_cmd_args()
2244 if (errno == ERANGE) { in ovpn_parse_cmd_args()
2275 if (errno == ERANGE) { in ovpn_parse_cmd_args()
2285 if (errno == ERANGE || ovpn->key_id > 2) { in ovpn_parse_cmd_args()
2307 if (errno == ERANGE) { in ovpn_parse_cmd_args()
2321 if (errno == ERANGE) { in ovpn_parse_cmd_args()
[all …]
/tools/testing/selftests/net/af_unix/
A Dscm_pidfd.c44 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
45 return -ERANGE; in safe_int()
54 return -ERANGE; in safe_int()
/tools/power/cpupower/utils/helpers/
A Dmisc.c67 if (endp == linebuf || errno == ERANGE) in cpupower_intel_get_perf_bias()
A Dsysfs.c223 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
/tools/include/nolibc/
A Dstdlib.h502 SET_ERRNO(ERANGE); in __strtox()
/tools/perf/util/
A Dprobe-finder.c112 ret2 = -ERANGE; in convert_variable_location()
1286 return -ERANGE; in add_probe_trace_event()
1438 if (ret == 0 || ret == -ERANGE) { in collect_variables_cb()
1517 return -ERANGE; in add_available_vars()
/tools/testing/selftests/nolibc/
A Dnolibc-test.c135 CASE_ERR(ERANGE); in errorname()
1528 …overflow); EXPECT_STRTOX(1, strtol, "0x8000000000000000", 16, LONG_MAX, -1, ERANGE); break; in run_stdlib()
1529 …nderflow); EXPECT_STRTOX(1, strtol, "-0x8000000000000001", 16, LONG_MIN, -1, ERANGE); break; in run_stdlib()
1531 …erflow); EXPECT_STRTOX(1, strtoul, "0x10000000000000000", 16, ULONG_MAX, -1, ERANGE); break; in run_stdlib()

Completed in 48 milliseconds

12