Symbol: strtol
arch/um/drivers/vector_user.c
397
fd = strtol(nptr, &endptr, 10);
arch/um/drivers/vector_user.c
618
if (strtol((const char *) value, NULL, 10) > 0)
arch/um/drivers/vector_user.c
624
if (strtol((const char *) value, NULL, 10) > 0)
drivers/gpu/drm/radeon/mkregtable.c
228
last_reg = strtol(last_reg_s, NULL, 16);
drivers/gpu/drm/radeon/mkregtable.c
251
o = strtol(&buf[match[1].rm_so], NULL, 16);
drivers/tty/vt/conmakehash.c
139
fp0 = strtol(p, &p1, 0);
drivers/tty/vt/conmakehash.c
152
fp1 = strtol(p, &p1, 0);
drivers/tty/vt/conmakehash.c
42
return strtol(p+2,0,16);
include/uapi/linux/bpf.h
6008
FN(strtol, 105, ##ctx) \
samples/bpf/task_fd_query_user.c
265
attr.config = strtol(buf, NULL, 0);
samples/bpf/task_fd_query_user.c
63
ret = (int)strtol(buf, NULL, 10);
samples/bpf/task_fd_query_user.c
86
ret = (int)strtol(buf + strlen("config:"), NULL, 10);
samples/bpf/xdp_tx_iptunnel_user.c
119
tmp_min_port = strtol(optarg, &end, 10);
samples/bpf/xdp_tx_iptunnel_user.c
127
tmp_max_port = strtol(end, NULL, 10);
samples/cgroup/memcg_event_listener.c
76
tmp = strtol(&line[len], &endptr, 10);
samples/hid/hid_mouse.c
72
return (int)strtol(str_id, NULL, 16);
samples/hid/hid_surface_dial.c
131
l = strtol(optarg, &endp, 10);
samples/hid/hid_surface_dial.c
85
return (int)strtol(str_id, NULL, 16);
samples/seccomp/dropper.c
71
if (install_filter(strtol(argv[1], NULL, 0), strtol(argv[2], NULL, 0),
samples/seccomp/dropper.c
72
strtol(argv[3], NULL, 0)))
scripts/dtc/dtc.c
196
outversion = strtol(optarg, NULL, 0);
scripts/dtc/dtc.c
205
minsize = strtol(optarg, NULL, 0);
scripts/dtc/dtc.c
208
padsize = strtol(optarg, NULL, 0);
scripts/dtc/dtc.c
211
alignsize = strtol(optarg, NULL, 0);
scripts/dtc/livetree.c
1236
offset = strtol(soffset, NULL, 0);
scripts/dtc/util.c
180
val = strtol(x, &endx, 8);
scripts/dtc/util.c
203
val = strtol(x, &endx, 16);
scripts/kconfig/conf.c
194
int tmp = strtol(env, &endp, 10);
scripts/kconfig/conf.c
97
seed = strtol(env, &endp, 0);
scripts/unifdef.c
855
*valp = strtol(cp, &ep, 0);
scripts/unifdef.c
892
*valp = strtol(value[sym], &ep, 0);
tools/arch/x86/intel_sdsi/intel_sdsi.c
668
*value = strtol(buff, NULL, 0);
tools/bpf/bpf_dbg.c
1101
steps = strtol(num, NULL, 10);
tools/bpf/bpf_dbg.c
1185
pkts = strtol(num, NULL, 10);
tools/bpf/bpftool/common.c
701
return strtol(vendor_id_buf, NULL, 0);
tools/bpf/bpftool/feature.c
165
return strtol(buf, NULL, 0);
tools/bpf/bpftool/feature.c
185
res = strtol(line, &endptr, 10);
tools/bpf/bpftool/feature.c
99
res = strtol(value, &endptr, 0);
tools/counter/counter_watch_events.c
226
loop = strtol(optarg, NULL, 10);
tools/include/uapi/linux/bpf.h
6008
FN(strtol, 105, ##ctx) \
tools/lib/subcmd/parse-options.c
264
*(int *)opt->value = strtol(arg, (char **)&s, 10);
tools/lib/subcmd/parse-options.c
282
*(unsigned int *)opt->value = strtol(arg, (char **)&s, 10);
tools/lib/subcmd/parse-options.c
298
*(long *)opt->value = strtol(arg, (char **)&s, 10);
tools/mm/page_owner_sort.c
305
order_val = strtol(order_str, &endptr, 10);
tools/mm/page_owner_sort.c
323
pid = strtol(pid_str, &endptr, 10);
tools/mm/page_owner_sort.c
342
tgid = strtol(tgid_str, &endptr, 10);
tools/mm/page_owner_sort.c
611
list[i] = strtol(args[i], &endptr, 10);
tools/net/ynl/samples/netdev.c
70
ifindex = strtol(argv[1], NULL, 0);
tools/perf/arch/arm64/util/arm-spe.c
110
val = strtol(cpuid, NULL, 16);
tools/perf/arch/x86/tests/amd-ibs-period.c
932
major = strtol(utsname.release, &endptr, 10);
tools/perf/arch/x86/tests/amd-ibs-period.c
934
minor = strtol(endptr, NULL, 10);
tools/perf/builtin-diff.c
197
compute_wdiff_w1 = strtol(w1_str, NULL, 10);
tools/perf/builtin-diff.c
198
compute_wdiff_w2 = strtol(w2_str, NULL, 10);
tools/perf/builtin-lock.c
2258
val = strtol(str, &endptr, 0);
tools/perf/builtin-probe.c
211
ns_pid = (pid_t)strtol(str, NULL, 10);
tools/perf/builtin-record.c
3063
rec->opts.nr_cblocks = strtol(value, NULL, 0);
tools/perf/builtin-record.c
530
opts->nr_cblocks = strtol(str, NULL, 0);
tools/perf/builtin-record.c
586
opts->mmap_flush = strtol(str, NULL, 0);
tools/perf/builtin-record.c
611
opts->comp_level = strtol(str, NULL, 0);
tools/perf/dlfilters/dlfilter-test-api-v0.c
169
verbose = strtol(dlargv[1], NULL, 0);
tools/perf/dlfilters/dlfilter-test-api-v0.c
172
d->do_early = strtol(dlargv[4], NULL, 0);
tools/perf/dlfilters/dlfilter-test-api-v2.c
184
verbose = strtol(dlargv[1], NULL, 0);
tools/perf/dlfilters/dlfilter-test-api-v2.c
187
d->do_early = strtol(dlargv[4], NULL, 0);
tools/perf/tests/builtin-test.c
184
fd = strtol(ent->d_name, &end, 10);
tools/perf/tests/builtin-test.c
214
fd = strtol(ent->d_name, &end, 10);
tools/perf/ui/hist.c
1158
int len = strtol(ptr, &p, 10);
tools/perf/util/annotate.c
2509
op_loc->offset = strtol(str, &p, 0);
tools/perf/util/annotate.c
2603
op_loc->offset = strtol(insn_str + 4,
tools/perf/util/annotate.c
2615
op_loc->offset = strtol(s + 1, &p, 0);
tools/perf/util/arm-spe.c
976
midr = strtol(cpuid, NULL, 16);
tools/perf/util/bpf-filter.c
222
tgid = strtol(p + 6, &q, 0);
tools/perf/util/bpf_lock_contention.c
174
last = strtol(p, &p, 0);
tools/perf/util/bpf_off_cpu.c
184
int pid = strtol(pos->s, &end_ptr, 10);
tools/perf/util/bpf_off_cpu.c
254
int pid = strtol(pos->s, &end_ptr, 10);
tools/perf/util/config.c
355
long val = strtol(value, &end, 0);
tools/perf/util/evlist.c
2356
d = strtol(str, &endptr, 10);
tools/perf/util/intel-pt.c
560
val = strtol(value, NULL, 0);
tools/perf/util/intlist.c
101
unsigned long value = strtol(s, &sep, 10);
tools/perf/util/jitdump.c
791
pid2 = (int)strtol(p, &end, 10);
tools/perf/util/machine.c
1234
pid = (pid_t)strtol(namelist[i]->d_name, &endp, 10);
tools/perf/util/namespaces.c
76
*tgid = (pid_t)strtol(strrchr(statln, '\t'), NULL, 10);
tools/perf/util/namespaces.c
82
*nstgid = (pid_t)strtol(nspid, NULL, 10);
tools/perf/util/probe-event.c
1343
*val = strtol(*ptr, ptr, 0);
tools/perf/util/probe-event.c
1770
(*fieldp)->index = strtol(str + 1, &tmp, 0);
tools/perf/util/probe-file.c
751
type_idx = strtol(n_ptr, NULL, 10);
tools/perf/util/sort.c
3347
int nr = strtol(event_name+1, NULL, 0);
tools/perf/util/synthetic-events.c
829
_pid = strtol(dent->d_name, &end, 10);
tools/perf/util/synthetic-events.c
983
pid = (pid_t)strtol(dirent[i]->d_name, &end, 10);
tools/perf/util/target.c
85
int uid = strtol(str, &endptr, 10);
tools/perf/util/thread_map.c
174
pid = strtol(pos->s, NULL, 10);
tools/perf/util/thread_map.c
235
tid = strtol(pos->s, NULL, 10);
tools/perf/util/thread_map.c
96
pid_t pid = strtol(dirent->d_name, &end, 10);
tools/perf/util/time-utils.c
240
i = (int)strtol(p, &end_str, 10);
tools/power/acpi/tools/pfrut/pfrut.c
128
log_type = strtol(optarg, &endptr, 0);
tools/power/acpi/tools/pfrut/pfrut.c
137
log_level = strtol(optarg, &endptr, 0);
tools/power/cpupower/debug/i386/dump_psb.c
164
relevant = strtol(optarg, NULL, 16);
tools/power/cpupower/debug/i386/dump_psb.c
167
numpst = strtol(optarg, NULL, 10);
tools/power/cpupower/lib/cpupower.c
128
*result = strtol(linebuf, &endp, 0);
tools/power/cpupower/utils/cpuidle-set.c
51
strtol(optarg, &endptr, 10);
tools/power/cpupower/utils/helpers/misc.c
102
val = strtol(linebuf, &endp, 0);
tools/power/cpupower/utils/helpers/misc.c
59
val = strtol(linebuf, &endp, 0);
tools/power/x86/intel-speed-select/isst-config.c
3299
ret = strtol(optarg, &ptr, 10);
tools/power/x86/intel-speed-select/isst-config.c
3306
ret = strtol(optarg, &ptr, 10);
tools/power/x86/intel-speed-select/isst-config.c
3322
ret = strtol(optarg, &ptr, 10);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
335
i = strtol(s, &endptr, 0);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
404
end_cpu = strtol(startp, &endp, 10);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
449
cpu = strtol(startp, &endp, 10);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
484
end_pkg = strtol(startp, &endp, 10);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
503
pkg = strtol(startp, &endp, 10);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
872
val = strtol(linebuf, &endp, 0);
tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
896
val = strtol(linebuf, &endp, 0);
tools/sched_ext/scx_qmap.c
100
skel->rodata->disallow_tgid = strtol(optarg, NULL, 0);
tools/testing/selftests/alsa/pcm-test.c
90
v = strtol(id, &end, 10);
tools/testing/selftests/alsa/utimer-test.c
95
d = strtol(s + RESULT_PREFIX_LEN, &end, 10);
tools/testing/selftests/bpf/bench.c
321
env.duration_sec = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/bench.c
328
env.warmup_sec = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/bench.c
335
env.producer_cnt = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/bench.c
342
env.consumer_cnt = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
70
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
78
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bloom_filter_map.c
87
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_lookup.c
62
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_lookup.c
70
ret = strtol(arg, NULL, 0);
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_lookup.c
78
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_lookup.c
86
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bpf_hashmap_lookup.c
94
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_bpf_loop.c
33
args.nr_loops = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_local_storage.c
39
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_local_storage.c
47
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c
39
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c
47
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_lpm_trie_map.c
56
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_lpm_trie_map.c
64
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_ringbufs.c
67
args.batch_cnt = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_ringbufs.c
77
args.sample_rate = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_sockmap.c
567
ctx.delay_consumer = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_sockmap.c
570
ctx.prod_run_time = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_sockmap.c
573
ctx.strp_size = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/benchs/bench_trigger.c
36
ret = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/cgroup_helpers.c
712
id = strtol(c, NULL, 10);
tools/testing/selftests/bpf/map_tests/map_percpu_stats.c
227
ret = (__u32)strtol(buf, NULL, 10);
tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c
244
int snum = strtol(str, &next, 10);
tools/testing/selftests/bpf/prog_tests/module_attach.c
30
*val = strtol(buf, NULL, 0);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1749
ctx->max_failure_cnt = strtol(s, NULL, 10);
tools/testing/selftests/bpf/prog_tests/reg_bounds.c
1758
ctx->rand_case_cnt = strtol(s, NULL, 10);
tools/testing/selftests/bpf/prog_tests/task_fd_query_tp.c
36
attr.config = strtol(buf, NULL, 0);
tools/testing/selftests/bpf/prog_tests/task_work_stress.c
40
retval = strtol(s, &end, 10);
tools/testing/selftests/bpf/prog_tests/tp_attach_query.c
35
attr.config = strtol(buf, NULL, 0);
tools/testing/selftests/bpf/test_loader.c
280
tmp = strtol(str + 2, &end, 16);
tools/testing/selftests/bpf/test_loader.c
282
tmp = strtol(str, &end, 10);
tools/testing/selftests/bpf/test_loader.c
309
cap_flag = strtol(token, NULL, 10);
tools/testing/selftests/bpf/testing_helpers.c
23
num = strtol(s, &next, 10);
tools/testing/selftests/bpf/veristat.c
361
env.log_level = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/veristat.c
372
env.log_size = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/veristat.c
386
env.top_n = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/veristat.c
412
env.top_src_lines = strtol(arg, NULL, 10);
tools/testing/selftests/bpf/veristat.c
655
val = strtol(p, (char **)&end, 10);
tools/testing/selftests/bpf/xskxceiver.c
251
opt_run_test = strtol(optarg, NULL, 0);
tools/testing/selftests/cgroup/lib/cgroup_util.c
352
int pid = strtol(ptr, &ptr, 10);
tools/testing/selftests/cgroup/test_hugetlb_memcg.c
55
val = strtol(p, &q, 0);
tools/testing/selftests/drivers/net/hw/ncdevmem.c
361
flow_id = strtol(id_start, &endptr, 10);
tools/testing/selftests/drivers/net/hw/toeplitz.c
458
rx_irq_cpus[cfg_num_queues++] = strtol(arg, NULL, 10);
tools/testing/selftests/drivers/net/hw/toeplitz.c
597
cfg_dport = strtol(optarg, NULL, 0);
tools/testing/selftests/drivers/net/hw/toeplitz.c
617
cfg_timeout_msec = strtol(optarg, NULL, 0);
tools/testing/selftests/hid/hid_common.h
370
found = (int)strtol(str_id, NULL, 16);
tools/testing/selftests/intel_pstate/aperf.c
39
cpu = strtol(argv[1], (char **) NULL, 10);
tools/testing/selftests/intel_pstate/msr.c
23
cpu = strtol(argv[1], (char **) NULL, 10);
tools/testing/selftests/kvm/arch_timer.c
221
test_args.counter_offset = strtol(optarg, NULL, 0);
tools/testing/selftests/kvm/dirty_log_test.c
849
test_dirty_ring_count = strtol(optarg, NULL, 10);
tools/testing/selftests/kvm/dirty_log_test.c
852
p.iterations = strtol(optarg, NULL, 10);
tools/testing/selftests/kvm/dirty_log_test.c
855
p.interval = strtol(optarg, NULL, 10);
tools/testing/selftests/kvm/include/numaif.h
54
node_id = strtol(de->d_name + 4, &endptr, 10);
tools/testing/selftests/kvm/kvm_binary_stats_test.c
195
max_vm = strtol(argv[1], NULL, 0);
tools/testing/selftests/kvm/kvm_binary_stats_test.c
200
max_vcpu = strtol(argv[2], NULL, 0);
tools/testing/selftests/kvm/lib/lru_gen_util.c
110
found_node_id = strtol(id, &end, 10);
tools/testing/selftests/kvm/lib/lru_gen_util.c
162
gen_stats->gen = (int)strtol(gen, &end, 10);
tools/testing/selftests/kvm/lib/lru_gen_util.c
165
gen_stats->age_ms = strtol(age, &end, 10);
tools/testing/selftests/kvm/lib/lru_gen_util.c
168
gen_stats->nr_anon = strtol(nr_anon, &end, 10);
tools/testing/selftests/kvm/lib/lru_gen_util.c
172
gen_stats->nr_file = strtol(nr_file, &end, 10);
tools/testing/selftests/kvm/lib/lru_gen_util.c
372
mglru_features = strtol(mglru_feature_str, NULL, 16);
tools/testing/selftests/kvm/lib/test_util.c
396
num = strtol(num_str, &end_ptr, 0);
tools/testing/selftests/mm/gup_test.c
128
gup.gup_flags = strtol(optarg, 0, 0);
tools/testing/selftests/mm/gup_test.c
193
long page_index = strtol(argv[optind], 0, 0) + 1;
tools/testing/selftests/mm/hmm-tests.c
812
val = strtol(p, &q, 0);
tools/testing/selftests/mm/vm_util.c
628
return strtol(substr_ksm_zero + value_pos, NULL, 10);
tools/testing/selftests/mm/vm_util.c
648
return strtol(buf, NULL, 10);
tools/testing/selftests/mm/vm_util.c
667
return strtol(buf, NULL, 10);
tools/testing/selftests/net/af_unix/scm_pidfd.c
43
sli = strtol(numstr, &err, 0);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
272
cfg_cork = strtol(optarg, NULL, 0);
tools/testing/selftests/net/io_uring_zerocopy_tx.c
275
cfg_mode = strtol(optarg, NULL, 0);
tools/testing/selftests/net/ipsec.c
2287
nr_process = strtol(argv[1], &endptr, 10);
tools/testing/selftests/net/lib/csum.c
820
cfg_payload_len = strtol(optarg, NULL, 0);
tools/testing/selftests/net/lib/csum.c
823
cfg_timeout_ms = strtol(optarg, NULL, 0) * 1000;
tools/testing/selftests/net/lib/csum.c
826
cfg_num_pkt = strtol(optarg, NULL, 0);
tools/testing/selftests/net/lib/csum.c
829
cfg_random_seed = strtol(optarg, NULL, 0);
tools/testing/selftests/net/mptcp/mptcp_connect.c
1584
cfg_mark = strtol(optarg, NULL, 0);
tools/testing/selftests/net/msg_zerocopy.c
736
cfg_cork = strtol(optarg, NULL, 0);
tools/testing/selftests/net/msg_zerocopy.c
739
cfg_cpu = strtol(optarg, NULL, 0);
tools/testing/selftests/net/so_txtime.c
407
array->delay_us = strtol(tok, NULL, 0) * 1000;
tools/testing/selftests/net/so_txtime.c
484
cfg_mark = strtol(optarg, NULL, 0);
tools/testing/selftests/net/udpgso_bench_rx.c
328
cfg_expected_gso_size = strtol(optarg, NULL, 0);
tools/testing/selftests/net/udpgso_bench_tx.c
464
cfg_cpu = strtol(optarg, NULL, 0);
tools/testing/selftests/nolibc/nolibc-test.c
1610
CASE_TEST(strtol_simple); EXPECT_STRTOX(1, strtol, "35", 10, 35, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1611
CASE_TEST(strtol_positive); EXPECT_STRTOX(1, strtol, "+35", 10, 35, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1612
CASE_TEST(strtol_negative); EXPECT_STRTOX(1, strtol, "-35", 10, -35, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1613
CASE_TEST(strtol_hex_auto); EXPECT_STRTOX(1, strtol, "0xFF", 0, 255, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1614
CASE_TEST(strtol_base36); EXPECT_STRTOX(1, strtol, "12yZ", 36, 50507, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1615
CASE_TEST(strtol_cutoff); EXPECT_STRTOX(1, strtol, "1234567890", 8, 342391, 7, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1616
CASE_TEST(strtol_octal_auto); EXPECT_STRTOX(1, strtol, "011", 0, 9, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1617
CASE_TEST(strtol_hex_00); EXPECT_STRTOX(1, strtol, "0x00", 16, 0, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1618
CASE_TEST(strtol_hex_FF); EXPECT_STRTOX(1, strtol, "FF", 16, 255, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1619
CASE_TEST(strtol_hex_ff); EXPECT_STRTOX(1, strtol, "ff", 16, 255, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1620
CASE_TEST(strtol_hex_prefix); EXPECT_STRTOX(1, strtol, "0xFF", 16, 255, -1, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1621
CASE_TEST(strtol_trailer); EXPECT_STRTOX(1, strtol, "35foo", 10, 35, 2, 0); break;
tools/testing/selftests/nolibc/nolibc-test.c
1622
CASE_TEST(strtol_overflow); EXPECT_STRTOX(1, strtol, "0x8000000000000000", 16, LONG_MAX, -1, ERANGE); break;
tools/testing/selftests/nolibc/nolibc-test.c
1623
CASE_TEST(strtol_underflow); EXPECT_STRTOX(1, strtol, "-0x8000000000000001", 16, LONG_MIN, -1, ERANGE); break;
tools/testing/selftests/nolibc/nolibc-test.c
653
if (func == strtol) {
tools/testing/selftests/nolibc/nolibc-test.c
654
r = strtol(input, &endptr, base);
tools/testing/selftests/pidfd/pidfd_open_test.c
31
sli = strtol(numstr, &err, 0);
tools/testing/selftests/powerpc/alignment/alignment_handler.c
639
cioffset = strtol(argv[1], 0, 0x10);
tools/testing/selftests/resctrl/resctrl_tests.c
216
fill_param->memflush = strtol(uparams->benchmark_cmd[2], &endptr, 10) != 0;
tools/testing/selftests/resctrl/resctrl_val.c
91
imc_counters_config[count].event = strtol(token[i + 1], NULL, 16);
tools/testing/selftests/resctrl/resctrl_val.c
93
imc_counters_config[count].umask = strtol(token[i + 1], NULL, 16);
tools/testing/selftests/riscv/hwprobe/which-cpus.c
71
pairs[i].key = strtol(start, &end, 0);
tools/testing/selftests/sched/cs_prctl_test.c
245
num_processes = (int)strtol(optarg, NULL, 10);
tools/testing/selftests/sched/cs_prctl_test.c
251
delay = (int)strtol(optarg, NULL, 10);
tools/testing/selftests/seccomp/seccomp_bpf.c
4630
ret = strtol(line, NULL, 16);
tools/testing/selftests/ublk/kublk.c
1826
ctx.dev_id = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1833
ctx.nr_hw_queues = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1836
ctx.queue_depth = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1842
value = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1847
value = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1852
value = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/kublk.c
1867
ublk_dbg_mask = strtol(optarg, NULL, 16);
tools/testing/selftests/ublk/kublk.c
1877
ctx.nthreads = strtol(optarg, NULL, 10);
tools/testing/selftests/ublk/stripe.c
378
ctx->stripe.chunk_size = strtol(optarg, NULL, 10);
tools/testing/selftests/x86/lam.c
1137
rv = strtol(buf, &ptr, 16);
tools/testing/vsock/vsock_perf.c
441
value = strtol(arg, &end, 10);
tools/tracing/rtla/src/utils.c
1026
lres = strtol(s, &end_ptr, 0);
tools/tracing/rtla/src/utils.c
175
t = strtol(val, &end, 10);
tools/tracing/rtla/src/utils.c
209
t = strtol(val, &end, 10);
tools/usb/usbip/src/usbip_list.c
228
strtol(idVendor, NULL, 16),
tools/usb/usbip/src/usbip_list.c
229
strtol(idProduct, NULL, 16));
tools/virtio/ringtest/main.c
322
ring_size = strtol(optarg, &endptr, 0);
tools/virtio/ringtest/main.c
327
c = strtol(optarg, &endptr, 0);
tools/virtio/ringtest/main.c
333
c = strtol(optarg, &endptr, 0);
tools/virtio/ringtest/main.c
339
c = strtol(optarg, &endptr, 0);
tools/virtio/ringtest/main.c
345
c = strtol(optarg, &endptr, 0);
tools/virtio/ringtest/main.c
87
cpu = strtol(arg, &endptr, 0);
tools/virtio/vhost_net_test.c
507
nbufs = strtol(optarg, NULL, 10);
tools/virtio/virtio_test.c
378
batch = strtol(optarg, NULL, 10);
tools/virtio/virtio_test.c
387
reset = strtol(optarg, NULL, 10);
tools/wmi/dell-smbios-example.c
73
*value = (__u16) strtol(buf, NULL, 16);
tools/wmi/dell-smbios-example.c
87
*location = (__u16) strtol(buf, NULL, 16);
usr/gen_init_cpio.c
663
default_mtime = strtol(optarg, &invalid, 10);