Home
last modified time | relevance | path

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

12

/tools/testing/selftests/pidfd/
Dpidfd_open_test.c31 if (errno == ERANGE && (sli == LONG_MAX || sli == LONG_MIN)) in safe_int()
32 return -ERANGE; in safe_int()
41 return -ERANGE; in safe_int()
/tools/include/uapi/asm-generic/
Derrno-base.h38 #define ERANGE 34 /* Math result not representable */ macro
/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_btf.c35 case -ERANGE: in dump_task_struct()
Dnetif_receive_skb.c128 ret = -ERANGE; in BPF_PROG()
/tools/power/cpupower/utils/helpers/
Dmisc.c63 if (endp == linebuf || errno == ERANGE) in cpupower_intel_get_perf_bias()
Dsysfs.c223 if (endp == linebuf || errno == ERANGE) in sysfs_idlestate_get_one_value()
/tools/lib/bpf/
Dgen_loader.c50 gen->error = -ERANGE; in realloc_insn_buf()
51 return -ERANGE; in realloc_insn_buf()
73 gen->error = -ERANGE; in realloc_data_buf()
74 return -ERANGE; in realloc_data_buf()
233 gen->error = -ERANGE; in emit_check_err()
Drelo_core.c970 return -ERANGE; in bpf_core_patch_insn()
/tools/power/cpupower/lib/
Dcpupower.c121 if (endp == linebuf || errno == ERANGE) in sysfs_topology_read_file()
Dcpuidle.c153 if (endp == linebuf || errno == ERANGE) in cpuidle_state_get_one_value()
Dcpufreq.c106 if (endp == linebuf || errno == ERANGE) in sysfs_cpufreq_get_one_value()
/tools/testing/selftests/bpf/prog_tests/
Dcheck_mtu.c33 if (errno == ERANGE) in read_mtu_device_lo()
/tools/testing/selftests/net/
Dioam6_parser.c538 if (res == ULONG_MAX && errno == ERANGE) in get_u32()
560 if (res == ULONG_MAX && errno == ERANGE) in get_u16()
Dnettest.c568 (errno != ERANGE) && (min <= number) && (number <= max)) { in str_to_uint()
Dipsec.c2295 if ((errno == ERANGE && (nr_process == LONG_MAX || nr_process == LONG_MIN)) in main()
/tools/perf/util/
Dprobe-finder.c217 ret2 = -ERANGE; in convert_variable_location()
1371 return -ERANGE; in add_probe_trace_event()
1519 if (ret == 0 || ret == -ERANGE) { in collect_variables_cb()
1598 return -ERANGE; in add_available_vars()
Dannotate.c893 return -ERANGE; in __symbol__inc_addr_samples()
979 return -ERANGE; in symbol__account_cycles()
983 return -ERANGE; in symbol__account_cycles()
Dprobe-event.c1766 ret = -ERANGE; in parse_perf_probe_command()
1849 ret = -ERANGE; in parse_probe_trace_command()
2760 ret = -ERANGE; in get_new_event_name()
Dmachine.c1258 (errno == ERANGE)) { in machines__create_guest_kernel_maps()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c862 if (endp == linebuf || errno == ERANGE) in get_epb()
886 if (endp == linebuf || errno == ERANGE) in set_epb()
/tools/iio/
Diio_generic_buffer.c390 ret = -ERANGE; in main()
/tools/testing/selftests/net/mptcp/
Dmptcp_connect.c1039 size, strerror(ERANGE)); in parse_int()
/tools/testing/selftests/bpf/
Dtest_sysctl.c1358 BPF_JMP_IMM(BPF_JNE, BPF_REG_0, -ERANGE, 2),
/tools/testing/selftests/filesystems/incfs/
Dincfs_test.c2487 if (error && errno != ERANGE) in validate_ranges()
2490 if (error && errno == ERANGE && block_cnt < 509) in validate_ranges()
2494 error = -ERANGE; in validate_ranges()
2512 error = -ERANGE; in validate_ranges()
/tools/perf/
Dbuiltin-top.c225 if (err == -ERANGE && !he->ms.map->erange_warned) in perf_top__record_precise_ip()

12