Home
last modified time | relevance | path

Searched refs:strtol (Results 1 – 25 of 127) sorted by relevance

123456

/linux-6.12.1/tools/virtio/ringtest/
Dmain.c87 cpu = strtol(arg, &endptr, 0); in set_affinity()
322 ring_size = strtol(optarg, &endptr, 0); in main()
327 c = strtol(optarg, &endptr, 0); in main()
333 c = strtol(optarg, &endptr, 0); in main()
339 c = strtol(optarg, &endptr, 0); in main()
345 c = strtol(optarg, &endptr, 0); in main()
/linux-6.12.1/samples/seccomp/
Ddropper.c71 if (install_filter(strtol(argv[1], NULL, 0), strtol(argv[2], NULL, 0), in main()
72 strtol(argv[3], NULL, 0))) in main()
/linux-6.12.1/tools/testing/selftests/bpf/benchs/
Dbench_bpf_hashmap_lookup.c62 ret = strtol(arg, NULL, 10); in parse_arg()
70 ret = strtol(arg, NULL, 0); in parse_arg()
78 ret = strtol(arg, NULL, 10); in parse_arg()
86 ret = strtol(arg, NULL, 10); in parse_arg()
94 ret = strtol(arg, NULL, 10); in parse_arg()
Dbench_local_storage_rcu_tasks_trace.c39 ret = strtol(arg, NULL, 10); in parse_arg()
47 ret = strtol(arg, NULL, 10); in parse_arg()
Dbench_bloom_filter_map.c70 ret = strtol(arg, NULL, 10); in parse_arg()
78 ret = strtol(arg, NULL, 10); in parse_arg()
87 ret = strtol(arg, NULL, 10); in parse_arg()
Dbench_local_storage.c39 ret = strtol(arg, NULL, 10); in parse_arg()
47 ret = strtol(arg, NULL, 10); in parse_arg()
/linux-6.12.1/tools/bpf/
Dbpf_exp.l171 yylval.number = strtol(yytext + 2, NULL, 2);
175 yylval.number = strtol(yytext, NULL, 10);
179 yylval.number = strtol(yytext + 1, NULL, 8);
/linux-6.12.1/scripts/dtc/
Ddtc.c196 outversion = strtol(optarg, NULL, 0); in main()
205 minsize = strtol(optarg, NULL, 0); in main()
208 padsize = strtol(optarg, NULL, 0); in main()
211 alignsize = strtol(optarg, NULL, 0); in main()
/linux-6.12.1/drivers/tty/vt/
Dconmakehash.c42 return strtol(p+2,0,16); in getunicode()
139 fp0 = strtol(p, &p1, 0); in main()
152 fp1 = strtol(p, &p1, 0); in main()
/linux-6.12.1/Documentation/userspace-api/media/rc/
Dkeytable.c.rst86 value = strtol(argv[3], NULL, 0);
91 codes [0] = (unsigned) strtol(argv[2], NULL, 0);
147 value = strtol(keycode, NULL, 0);
152 codes [0] = (unsigned) strtol(scancode, NULL, 0);
/linux-6.12.1/tools/testing/selftests/nolibc/
Dnolibc-test.c643 if (func == strtol) { in expect_strtox()
644 r = strtol(input, &endptr, base); in expect_strtox()
1198 CASE_TEST(strtol_simple); EXPECT_STRTOX(1, strtol, "35", 10, 35, -1, 0); break; in run_stdlib()
1199 CASE_TEST(strtol_positive); EXPECT_STRTOX(1, strtol, "+35", 10, 35, -1, 0); break; in run_stdlib()
1200 CASE_TEST(strtol_negative); EXPECT_STRTOX(1, strtol, "-35", 10, -35, -1, 0); break; in run_stdlib()
1201 CASE_TEST(strtol_hex_auto); EXPECT_STRTOX(1, strtol, "0xFF", 0, 255, -1, 0); break; in run_stdlib()
1202 CASE_TEST(strtol_base36); EXPECT_STRTOX(1, strtol, "12yZ", 36, 50507, -1, 0); break; in run_stdlib()
1203 …CASE_TEST(strtol_cutoff); EXPECT_STRTOX(1, strtol, "1234567890", 8, 342391, 7, 0); break; in run_stdlib()
1204 CASE_TEST(strtol_octal_auto); EXPECT_STRTOX(1, strtol, "011", 0, 9, -1, 0); break; in run_stdlib()
1205 CASE_TEST(strtol_hex_00); EXPECT_STRTOX(1, strtol, "0x00", 16, 0, -1, 0); break; in run_stdlib()
[all …]
/linux-6.12.1/Documentation/block/
Dioprio.rst121 ioprio = strtol(optarg, NULL, 10);
125 ioprio_class = strtol(optarg, NULL, 10);
129 pid = strtol(optarg, NULL, 10);
151 pid = strtol(argv[optind], NULL, 10);
/linux-6.12.1/samples/hid/
Dhid_surface_dial.c85 return (int)strtol(str_id, NULL, 16); in get_hid_id()
131 l = strtol(optarg, &endp, 10); in main()
/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_flow_dissector.c657 cfg_src_port = strtol(optarg, NULL, 0); in parse_opts()
674 cfg_payload_len = strtol(optarg, NULL, 0); in parse_opts()
677 cfg_num_pkt = strtol(optarg, NULL, 0); in parse_opts()
701 cfg_num_secs = strtol(optarg, NULL, 0); in parse_opts()
707 cfg_dsfield_outer = strtol(optarg, NULL, 0); in parse_opts()
710 cfg_dsfield_inner = strtol(optarg, NULL, 0); in parse_opts()
/linux-6.12.1/tools/power/cpupower/debug/i386/
Ddump_psb.c164 relevant = strtol(optarg, NULL, 16); in main()
167 numpst = strtol(optarg, NULL, 10); in main()
/linux-6.12.1/tools/wmi/
Ddell-smbios-example.c73 *value = (__u16) strtol(buf, NULL, 16); in find_token()
87 *location = (__u16) strtol(buf, NULL, 16); in find_token()
/linux-6.12.1/tools/testing/selftests/mm/
Dgup_test.c129 gup.gup_flags = strtol(optarg, 0, 0); in main()
196 long page_index = strtol(argv[optind], 0, 0) + 1; in main()
/linux-6.12.1/tools/testing/selftests/intel_pstate/
Dmsr.c23 cpu = strtol(argv[1], (char **) NULL, 10); in main()
/linux-6.12.1/tools/perf/util/
Dthread_map.c96 pid_t pid = strtol(dirent->d_name, &end, 10); in __thread_map__new_all_cpus()
198 pid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_pid_str()
262 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str()
/linux-6.12.1/samples/bpf/
Dtask_fd_query_user.c63 ret = (int)strtol(buf, NULL, 10); in bpf_find_probe_type()
86 ret = (int)strtol(buf + strlen("config:"), NULL, 10); in bpf_get_retprobe_bit()
265 attr.config = strtol(buf, NULL, 0); in test_debug_fs_uprobe()
Dxdp_tx_iptunnel_user.c119 tmp_min_port = strtol(optarg, &end, 10); in parse_ports()
127 tmp_max_port = strtol(end, NULL, 10); in parse_ports()
/linux-6.12.1/tools/testing/selftests/resctrl/
Dresctrl_val.c98 strtol(token[i + 1], NULL, 16); in get_event_and_umask()
101 strtol(token[i + 1], NULL, 16); in get_event_and_umask()
106 strtol(token[i + 1], NULL, 16); in get_event_and_umask()
109 strtol(token[i + 1], NULL, 16); in get_event_and_umask()
/linux-6.12.1/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c332 i = strtol(s, &endptr, 0); in parse_optarg_string()
401 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
446 cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
481 end_pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
500 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
861 val = strtol(linebuf, &endp, 0); in get_epb()
885 val = strtol(linebuf, &endp, 0); in set_epb()
/linux-6.12.1/tools/testing/selftests/kvm/
Dkvm_binary_stats_test.c195 max_vm = strtol(argv[1], NULL, 0); in main()
200 max_vcpu = strtol(argv[2], NULL, 0); in main()
/linux-6.12.1/drivers/gpu/drm/radeon/
Dmkregtable.c228 last_reg = strtol(last_reg_s, NULL, 16); in parser_auth()
251 o = strtol(&buf[match[1].rm_so], NULL, 16); in parser_auth()

123456