/linux-6.3-rc2/tools/virtio/ringtest/ |
A D | main.c | 82 char *endptr; in set_affinity() local 87 cpu = strtol(arg, &endptr, 0); in set_affinity() 88 assert(!*endptr); in set_affinity() 299 char *endptr; in main() local 324 assert(!*endptr); in main() 327 c = strtol(optarg, &endptr, 0); in main() 328 assert(!*endptr); in main() 333 c = strtol(optarg, &endptr, 0); in main() 334 assert(!*endptr); in main() 340 assert(!*endptr); in main() [all …]
|
/linux-6.3-rc2/tools/perf/arch/s390/annotate/ |
A D | instructions.c | 7 char *endptr, *tok, *name; in s390_call__parse() local 17 ops->target.addr = strtoull(tok + 1, &endptr, 16); in s390_call__parse() 19 name = strchr(endptr, '<'); in s390_call__parse() 60 char *s = strchr(ops->raw, ','), *target, *endptr; in s390_mov__parse() local 77 ops->target.addr = strtoull(target, &endptr, 16); in s390_mov__parse() 78 if (endptr == target) in s390_mov__parse() 81 s = strchr(endptr, '<'); in s390_mov__parse() 84 endptr = strchr(s + 1, '>'); in s390_mov__parse() 85 if (endptr == NULL) in s390_mov__parse() 88 *endptr = '\0'; in s390_mov__parse() [all …]
|
/linux-6.3-rc2/tools/perf/arch/arm64/annotate/ |
A D | instructions.c | 16 char *s = strchr(ops->raw, ','), *target, *endptr; in arm64_mov__parse() local 33 ops->target.addr = strtoull(target, &endptr, 16); in arm64_mov__parse() 34 if (endptr == target) in arm64_mov__parse() 37 s = strchr(endptr, '<'); in arm64_mov__parse() 40 endptr = strchr(s + 1, '>'); in arm64_mov__parse() 41 if (endptr == NULL) in arm64_mov__parse() 44 *endptr = '\0'; in arm64_mov__parse() 48 *endptr = '>'; in arm64_mov__parse()
|
/linux-6.3-rc2/tools/mm/ |
A D | page_owner_sort.c | 299 char *endptr; in get_page_num() local 317 char *endptr; in get_pid() local 322 if (errno != 0 || endptr == pid_str || *endptr != '\0') { in get_pid() 336 char *endptr; in get_tgid() local 341 if (errno != 0 || endptr == tgid_str || *endptr != '\0') { in get_tgid() 355 char *endptr; in get_ts_nsec() local 360 if (errno != 0 || endptr == ts_nsec_str || *endptr != '\0') { in get_ts_nsec() 373 char *endptr; in get_free_ts_nsec() local 378 if (errno != 0 || endptr == free_ts_nsec_str || *endptr != '\0') { in get_free_ts_nsec() 644 char *endptr = NULL; in parse_nums_list() local [all …]
|
/linux-6.3-rc2/tools/bpf/bpftool/ |
A D | map_perf_ring.c | 147 char *endptr; in do_event_pipe() local 150 ctx.cpu = strtoul(*argv, &endptr, 0); in do_event_pipe() 151 if (*endptr) { in do_event_pipe() 158 char *endptr; in do_event_pipe() local 161 ctx.idx = strtoul(*argv, &endptr, 0); in do_event_pipe() 162 if (*endptr) { in do_event_pipe()
|
A D | common.c | 705 char *endptr; in parse_u32_arg() local 714 *val = strtoul(**argv, &endptr, 0); in parse_u32_arg() 715 if (*endptr) { in parse_u32_arg() 803 char *endptr; in prog_parse_fds() local 807 id = strtoul(**argv, &endptr, 0); in prog_parse_fds() 808 if (*endptr) { in prog_parse_fds() 954 char *endptr; in map_parse_fds() local 958 id = strtoul(**argv, &endptr, 0); in map_parse_fds() 959 if (*endptr) { in map_parse_fds()
|
A D | prog.c | 1301 char *endptr; in do_run() local 1308 if (*endptr) { in do_run() 1329 char *endptr; in do_run() local 1336 if (*endptr) { in do_run() 1343 char *endptr; in do_run() local 1350 if (*endptr) { in do_run() 1579 char *endptr, *name; in load_with_options() local 1590 idx = strtoul(*argv, &endptr, 0); in load_with_options() 1591 if (*endptr) { in load_with_options() 2318 char *endptr; in do_profile() local [all …]
|
A D | feature.c | 92 char *endptr; in print_kernel_option() local 101 res = strtol(value, &endptr, 0); in print_kernel_option() 102 if (!errno && *endptr == '\n') in print_kernel_option() 172 char *endptr, *line = NULL; in read_procfs() local 187 res = strtol(line, &endptr, 10); in read_procfs() 188 if (errno || *line == '\0' || *endptr != '\n') in read_procfs()
|
A D | link.c | 24 char *endptr; in link_parse_fd() local 28 id = strtoul(**argv, &endptr, 0); in link_parse_fd() 29 if (*endptr) { in link_parse_fd()
|
A D | btf.c | 617 char *endptr; in do_dump() local 619 btf_id = strtoul(*argv, &endptr, 0); in do_dump() 620 if (*endptr) { in do_dump() 709 char *endptr; in btf_parse_fd() local 718 id = strtoul(**argv, &endptr, 0); in btf_parse_fd() 719 if (*endptr) { in btf_parse_fd()
|
/linux-6.3-rc2/lib/ |
A D | cmdline.c | 152 char *endptr; /* local pointer to end of parsed string */ in memparse() local 154 unsigned long long ret = simple_strtoull(ptr, &endptr, 0); in memparse() 156 switch (*endptr) { in memparse() 180 endptr++; in memparse() 187 *retptr = endptr; in memparse()
|
/linux-6.3-rc2/tools/perf/util/ |
A D | units.c | 19 char *endptr; in parse_tag_value() local 21 value = strtoul(str, &endptr, 10); in parse_tag_value() 22 if (s != endptr) in parse_tag_value()
|
A D | target.c | 114 char *endptr; in target__parse_uid() local 115 int uid = strtol(str, &endptr, 10); in target__parse_uid() 117 if (*endptr != '\0') in target__parse_uid()
|
A D | auxtrace.c | 750 char *endptr; in auxtrace_parse_sample_options() local 1466 char *endptr; in itrace_do_parse_synth_opts() local 1496 p = endptr; in itrace_do_parse_synth_opts() 1584 p = endptr; in itrace_do_parse_synth_opts() 1604 p = endptr; in itrace_do_parse_synth_opts() 1613 if (p == endptr) in itrace_do_parse_synth_opts() 1615 p = endptr; in itrace_do_parse_synth_opts() 2159 char *endptr; in parse_num_or_str() local 2169 *inp = endptr; in parse_num_or_str() 2224 char *endptr; in parse_sym_idx() local [all …]
|
A D | callchain.c | 144 char *endptr; in get_stack_size() local 148 size = strtoul(str, &endptr, 0); in get_stack_size() 151 if (*endptr) in get_stack_size() 172 char *endptr, *saveptr = NULL; in __parse_callchain_report_opt() local 220 callchain_param.min_percent = strtod(tok, &endptr); in __parse_callchain_report_opt() 221 if (tok == endptr) in __parse_callchain_report_opt() 227 if (tok == endptr) in __parse_callchain_report_opt() 321 char *endptr; in perf_callchain_config() local 360 callchain_param.min_percent = strtod(value, &endptr); in perf_callchain_config() 361 if (value == endptr) { in perf_callchain_config() [all …]
|
/linux-6.3-rc2/arch/mips/sibyte/common/ |
A D | cfe.c | 169 char *tmp, *endptr; in initrd_setup() local 195 initrd_size = simple_strtoul(str, &endptr, 16); in initrd_setup() 196 if (*endptr) { in initrd_setup() 201 initrd_start = simple_strtoul(tmp, &endptr, 16); in initrd_setup() 202 if (*endptr) { in initrd_setup()
|
/linux-6.3-rc2/tools/testing/vsock/ |
A D | util.c | 37 char *endptr = NULL; in parse_cid() local 41 n = strtoul(str, &endptr, 10); in parse_cid() 42 if (errno || *endptr != '\0') { in parse_cid() 381 char *endptr = NULL; in skip_test() local 384 test_id = strtoul(test_id_str, &endptr, 10); in skip_test() 385 if (errno || *endptr != '\0') { in skip_test()
|
A D | vsock_perf.c | 54 char *endptr; in memparse() local 56 unsigned long long ret = strtoull(ptr, &endptr, 0); in memparse() 58 switch (*endptr) { in memparse() 77 endptr++; in memparse()
|
/linux-6.3-rc2/tools/testing/selftests/timens/ |
A D | vfork_exec.c | 84 char *endptr; in main() local 87 now.tv_sec = strtoul(argv[1], &endptr, 0); in main() 88 if (*endptr != 0) in main()
|
/linux-6.3-rc2/tools/power/cpupower/utils/ |
A D | cpuidle-set.c | 32 char *endptr; in cmd_idle_set() local 68 latency = strtoull(optarg, &endptr, 10); in cmd_idle_set() 69 if (*endptr != '\0') { in cmd_idle_set()
|
/linux-6.3-rc2/drivers/staging/greybus/Documentation/firmware/ |
A D | firmware.c | 163 char *endptr; in main() local 175 fw_update_type = strtoul(argv[2], &endptr, 10); in main() 185 fw_timeout = strtoul(argv[4], &endptr, 10); in main()
|
/linux-6.3-rc2/drivers/mtd/ |
A D | mtdsuper.c | 158 char *endptr; in get_tree_mtd() local 160 mtdnr = simple_strtoul(fc->source + 3, &endptr, 0); in get_tree_mtd() 161 if (!*endptr) { in get_tree_mtd()
|
/linux-6.3-rc2/scripts/dtc/libfdt/ |
A D | fdt_overlay.c | 434 char *sep, *endptr; in overlay_fixup_phandle() local 464 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle() 465 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
|
/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | rpaphp_core.c | 293 char *endptr; in is_php_type() local 296 simple_strtoul(drc_type, &endptr, 10); in is_php_type() 297 if (endptr == drc_type) in is_php_type()
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | xdp_synproxy.c | 81 char *endptr; in parse_arg_ul() local 84 res = strtoul(arg, &endptr, 10); in parse_arg_ul() 85 if (errno != 0 || *endptr != '\0' || arg[0] == '\0' || res > limit) in parse_arg_ul()
|