Home
last modified time | relevance | path

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

12345

/linux/tools/virtio/ringtest/
H A 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/samples/seccomp/
H A 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/tools/testing/selftests/bpf/benchs/
H A 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()
H A Dbench_local_storage_rcu_tasks_trace.c39 ret = strtol(arg, NULL, 10); in parse_arg()
47 ret = strtol(arg, NULL, 10); in parse_arg()
H A 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()
H A Dbench_local_storage.c39 ret = strtol(arg, NULL, 10); in parse_arg()
47 ret = strtol(arg, NULL, 10); in parse_arg()
H A Dbench_bpf_loop.c33 args.nr_loops = strtol(arg, NULL, 10); in parse_arg()
/linux/tools/bpf/
H A 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/drivers/tty/vt/
H A 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/Documentation/userspace-api/media/rc/
H A 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/samples/hid/
H A Dhid_surface_dial.c85 return (int)strtol(str_id, NULL, 16); in get_hid_id()
131 l = strtol(optarg, &endp, 10); in main()
/linux/Documentation/block/
H A 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/tools/power/cpupower/debug/i386/
H A Ddump_psb.c164 relevant = strtol(optarg, NULL, 16); in main()
167 numpst = strtol(optarg, NULL, 10); in main()
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c652 if (func == strtol) { in expect_strtox()
653 r = strtol(input, &endptr, base); in expect_strtox()
1527 CASE_TEST(strtol_simple); EXPECT_STRTOX(1, strtol, "35", 10, 35, -1, 0); break; in run_stdlib()
1528 CASE_TEST(strtol_positive); EXPECT_STRTOX(1, strtol, "+35", 10, 35, -1, 0); break; in run_stdlib()
1529 CASE_TEST(strtol_negative); EXPECT_STRTOX(1, strtol, "-35", 10, -35, -1, 0); break; in run_stdlib()
1530 CASE_TEST(strtol_hex_auto); EXPECT_STRTOX(1, strtol, "0xFF", 0, 255, -1, 0); break; in run_stdlib()
1531 CASE_TEST(strtol_base36); EXPECT_STRTOX(1, strtol, "12yZ", 36, 50507, -1, 0); break; in run_stdlib()
1532 …CASE_TEST(strtol_cutoff); EXPECT_STRTOX(1, strtol, "1234567890", 8, 342391, 7, 0); break; in run_stdlib()
1533 CASE_TEST(strtol_octal_auto); EXPECT_STRTOX(1, strtol, "011", 0, 9, -1, 0); break; in run_stdlib()
1534 CASE_TEST(strtol_hex_00); EXPECT_STRTOX(1, strtol, "0x00", 16, 0, -1, 0); break; in run_stdlib()
[all …]
/linux/tools/testing/selftests/intel_pstate/
H A Dmsr.c23 cpu = strtol(argv[1], (char **) NULL, 10); in main()
/linux/tools/wmi/
H A Ddell-smbios-example.c73 *value = (__u16) strtol(buf, NULL, 16); in find_token()
87 *location = (__u16) strtol(buf, NULL, 16); in find_token()
/linux/tools/testing/selftests/mm/
H A Dgup_test.c128 gup.gup_flags = strtol(optarg, 0, 0); in main()
193 long page_index = strtol(argv[optind], 0, 0) + 1; in main()
/linux/samples/bpf/
H A 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()
H A 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/tools/perf/util/
H A Dthread_map.c96 pid_t pid = strtol(dirent->d_name, &end, 10); in thread_map__new_all_cpus()
176 pid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_pid_str()
240 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str()
/linux/drivers/gpu/drm/radeon/
H A 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()
/linux/tools/testing/selftests/kvm/
H A 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/tools/testing/selftests/kvm/include/
H A Dnumaif.h54 node_id = strtol(de->d_name + 4, &endptr, 10); in get_max_numa_node()
/linux/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c335 i = strtol(s, &endptr, 0); in parse_optarg_string()
404 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
449 cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
484 end_pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
503 pkg = strtol(startp, &endp, 10); in parse_cmdline_pkg()
872 val = strtol(linebuf, &endp, 0); in get_epb_sysfs()
896 val = strtol(linebuf, &endp, 0); in set_epb_sysfs()
/linux/tools/testing/selftests/net/
H A Dio_uring_zerocopy_tx.c272 cfg_cork = strtol(optarg, NULL, 0); in parse_opts()
275 cfg_mode = strtol(optarg, NULL, 0); in parse_opts()

12345