Home
last modified time | relevance | path

Searched refs:strtol (Results 1 – 25 of 107) 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()
/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/scripts/dtc/
H A 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/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/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/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/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/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 /* strtol, so you can pass flags in hex form */ in main()
129 gup.gup_flags = strtol(optarg, 0, 0); in main()
196 long page_index = strtol(argv[optind], 0, 0) + 1; in main()
H A Dksm_functional_tests.c98 my_ksm_zero_pages = strtol(substr_ksm_zero + value_pos, NULL, 10); in get_my_ksm_zero_pages()
116 return strtol(buf, NULL, 10); in get_my_merging_pages()
129 return strtol(buf, NULL, 10); in ksm_get_full_scans()
/linux/tools/perf/util/
H A 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/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/testing/selftests/intel_pstate/
H A Dmsr.c23 cpu = strtol(argv[1], (char **) NULL, 10); in main()
/linux/tools/power/x86/x86_energy_perf_policy/
H A 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/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/bpf/
H A Dbench.c316 env.duration_sec = strtol(arg, NULL, 10); in parse_arg()
323 env.warmup_sec = strtol(arg, NULL, 10); in parse_arg()
330 env.producer_cnt = strtol(arg, NULL, 10); in parse_arg()
337 env.consumer_cnt = strtol(arg, NULL, 10); in parse_arg()
/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