/linux/drivers/parport/ |
A D | probe.c | 66 char *sep; in parse_data() local 69 sep = strchr(p, ':'); in parse_data() 70 if (sep) { in parse_data() 72 *(sep++) = 0; in parse_data() 74 u = sep + strlen (sep) - 1; in parse_data() 80 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data() 83 info->model = kstrdup(sep, GFP_KERNEL); in parse_data() 89 string_upper(sep, sep); in parse_data() 91 if (!strcmp(classes[i].token, sep)) { in parse_data() 97 port->name, sep); in parse_data() [all …]
|
/linux/samples/pktgen/ |
A D | functions.sh | 184 local sep=: sep2=:: 202 [[ ${addr:0:1} == $sep ]] && addr=0${addr} 203 [[ ${addr: -1} == $sep ]] && addr=${addr}0 216 local addr sep 229 [[ $IP6 ]] && sep=: || sep=. 230 IFS=$sep read -a addr <<< $net 277 local ip sep 280 [[ $IP6 ]] && sep=: || sep=. 281 IFS=$sep read -ra ip <<< $net 298 min_ip=$(IFS=$sep; echo "${min[*]}") [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_debugfs.c | 37 seq_putc(m, *sep); in __seq_print_rq_state_bit() 39 *sep = '|'; in __seq_print_rq_state_bit() 43 *sep = '|'; in __seq_print_rq_state_bit() 57 char sep = ' '; in seq_print_request_state() local 66 sep = ' '; in seq_print_request_state() 71 if (sep == ' ') in seq_print_request_state() 76 sep = ' '; in seq_print_request_state() 83 if (sep == ' ') in seq_print_request_state() 87 sep = ' '; in seq_print_request_state() 91 if (sep == ' ') in seq_print_request_state() [all …]
|
/linux/tools/perf/ui/tui/ |
A D | util.c | 85 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local 87 if (sep == NULL) in ui_browser__input_window() 88 sep = strchr(t, '\0'); in ui_browser__input_window() 89 len = sep - t; in ui_browser__input_window() 93 if (*sep == '\0') in ui_browser__input_window() 95 t = sep + 1; in ui_browser__input_window() 178 if (sep == NULL) in __ui__info_window() 179 sep = strchr(t, '\0'); in __ui__info_window() 180 len = sep - t; in __ui__info_window() 184 if (*sep == '\0') in __ui__info_window() [all …]
|
/linux/arch/sh/kernel/ |
A D | nmi_debug.c | 47 char *p, *sep; in nmi_debug_setup() local 54 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup() 55 sep = strchr(p, ','); in nmi_debug_setup() 56 if (sep) in nmi_debug_setup() 57 *sep = 0; in nmi_debug_setup() 69 if (!sep) in nmi_debug_setup()
|
/linux/scripts/dtc/ |
A D | fdtput.c | 153 const char *sep; in create_paths() local 160 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths() 162 sep = strchr(path, '/'); in create_paths() 163 if (!sep) in create_paths() 164 sep = path + strlen(path); in create_paths() 167 sep - path); in create_paths() 170 sep - path); in create_paths() 173 report_error(path, sep - path, node); in create_paths()
|
/linux/tools/perf/ui/stdio/ |
A D | hist.c | 417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local 434 if (!sep || !first) { in __hist_entry__snprintf() 462 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local 484 if (!sep || !first) { in hist_entry__hierarchy_fprintf() 499 if (!sep) in hist_entry__hierarchy_fprintf() 624 if (sep != NULL || indent < 2) in print_hierarchy_indent() 642 const char *sep = symbol_conf.field_sep; in hists__fprintf_hierarchy_headers() local 692 fprintf(fp, "%s", sep ?: ".."); in hists__fprintf_hierarchy_headers() 741 fprintf(fp, "%s", sep ?: " "); in fprintf_line() 772 if (sep) in hists__fprintf_standard_headers() [all …]
|
/linux/tools/bpf/bpftool/ |
A D | json_writer.c | 25 char sep; /* either nul or comma */ member 49 if (self->sep != '\0') in jsonw_eor() 50 putc(self->sep, self->out); in jsonw_eor() 51 self->sep = ','; in jsonw_eor() 100 self->sep = '\0'; in jsonw_new() 125 self->sep = '\0'; in jsonw_reset() 134 self->sep = '\0'; in jsonw_begin() 142 if (self->sep != '\0') in jsonw_end() 145 self->sep = ','; in jsonw_end() 154 self->sep = '\0'; in jsonw_name()
|
/linux/tools/perf/util/ |
A D | intlist.c | 97 char *sep; in intlist__parse_list() local 101 unsigned long value = strtol(s, &sep, 10); in intlist__parse_list() 103 if (*sep != ',' && *sep != '\0') in intlist__parse_list() 108 s = sep + 1; in intlist__parse_list() 109 } while (*sep != '\0'); in intlist__parse_list()
|
A D | strlist.c | 144 char *sep; in strlist__parse_list() local 147 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list() 148 *sep = '\0'; in strlist__parse_list() 150 *sep = ','; in strlist__parse_list() 153 s = sep + 1; in strlist__parse_list()
|
A D | pfm.c | 39 const char *sep; in parse_libpfm_events_option() local 54 sep = p ? str + (p - p_orig - 1) : ""; in parse_libpfm_events_option() 55 if (*sep == '{') { in parse_libpfm_events_option() 66 if (*sep == '}') { in parse_libpfm_events_option() 108 if (*sep == '}') { in parse_libpfm_events_option()
|
A D | metricgroup.c | 737 const char *sep, *rsep, *id = cur->key; in metricgroup__build_event_string() local 767 sep = strchr(id, '@'); in metricgroup__build_event_string() 768 if (sep != NULL) { in metricgroup__build_event_string() 769 ret = strbuf_add(events, id, sep - id); in metricgroup__build_event_string() 773 rsep = strrchr(sep, '@'); in metricgroup__build_event_string() 774 ret = strbuf_add(events, sep + 1, rsep - sep - 1); in metricgroup__build_event_string() 778 sep = rsep; in metricgroup__build_event_string() 780 sep = strchr(id, ':'); in metricgroup__build_event_string() 781 if (sep != NULL) { in metricgroup__build_event_string() 796 if (sep != NULL) { in metricgroup__build_event_string() [all …]
|
/linux/scripts/dtc/libfdt/ |
A D | fdt_overlay.c | 449 char *sep, *endptr; in overlay_fixup_phandle() local 461 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle() 462 if (!sep || *sep != ':') in overlay_fixup_phandle() 465 path_len = sep - path; in overlay_fixup_phandle() 470 name = sep + 1; in overlay_fixup_phandle() 471 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle() 472 if (!sep || *sep != ':') in overlay_fixup_phandle() 475 name_len = sep - name; in overlay_fixup_phandle() 479 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle() 480 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
|
/linux/fs/cifs/ |
A D | dns_resolve.c | 37 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local 55 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip() 56 if (sep) in dns_resolve_server_name_to_ip() 57 len = sep - hostname; in dns_resolve_server_name_to_ip()
|
A D | cifs_dfs_ref.c | 147 char sep = ','; in cifs_compose_mount_options() local 202 sep = sb_mountdata[4]; in cifs_compose_mount_options() 208 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options() 237 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 238 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
|
/linux/tools/perf/scripts/python/ |
A D | stackcollapse.py | 113 sep = "-" 115 comm = comm + sep + str(param_dict['sample']['pid']) 116 sep = "/" 118 comm = comm + sep + str(param_dict['sample']['tid'])
|
/linux/mm/kasan/ |
A D | report_generic.c | 136 const char *sep = strchr(*frame_descr, ' '); in tokenize_frame_descr() local 138 if (sep == NULL) in tokenize_frame_descr() 139 sep = *frame_descr + strlen(*frame_descr); in tokenize_frame_descr() 142 const size_t tok_len = sep - *frame_descr; in tokenize_frame_descr() 155 *frame_descr = sep + 1; in tokenize_frame_descr()
|
/linux/kernel/trace/ |
A D | trace_boot.c | 224 char sep; in trace_boot_hist_add_array() local 234 sep = '='; in trace_boot_hist_add_array() 236 append_printf(bufp, end, "%c%s", sep, p); in trace_boot_hist_add_array() 237 if (sep == '=') in trace_boot_hist_add_array() 238 sep = ','; in trace_boot_hist_add_array() 253 char sep; in trace_boot_hist_add_one_handler() local 279 sep = '('; in trace_boot_hist_add_one_handler() 281 append_printf(bufp, end, "%c%s", sep, p); in trace_boot_hist_add_one_handler() 282 if (sep == '(') in trace_boot_hist_add_one_handler() 283 sep = ','; in trace_boot_hist_add_one_handler()
|
/linux/drivers/scsi/ |
A D | scsi_debugfs.c | 18 bool sep = false; in scsi_flags_show() local 22 if (sep) in scsi_flags_show() 24 sep = true; in scsi_flags_show()
|
/linux/tools/perf/arch/s390/util/ |
A D | header.c | 111 char *sep = strchr(cp, '='); in get_cpuid() local 114 sizeof(version) - vssize, "%s", sep + 1); in get_cpuid() 118 char *sep = strchr(cp, '='); in get_cpuid() local 121 sizeof(authorization) - atsize, "%s", sep + 1); in get_cpuid()
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_mitigations.c | 32 char *str, *sep, *tok; in mitigations_set() local 42 for (sep = str; (tok = strsep(&sep, ","));) { in mitigations_set()
|
/linux/drivers/dma-buf/ |
A D | selftest.c | 49 char *filter, *sep, *tok; in apply_subtest_filter() local 53 for (sep = filter; (tok = strsep(&sep, ","));) { in apply_subtest_filter()
|
/linux/tools/lib/perf/ |
A D | cpumap.c | 111 char sep; in perf_cpu_map__read() local 113 sep = 0; in perf_cpu_map__read() 116 n = fscanf(file, "%u%c", &cpu, &sep); in perf_cpu_map__read() 145 if (n == 2 && sep == '-') in perf_cpu_map__read() 149 if (n == 1 || sep == '\n') in perf_cpu_map__read()
|
/linux/tools/perf/ |
A D | builtin-list.c | 78 char *sep, *s; in cmd_list() local 104 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list() 107 sep_idx = sep - argv[i]; in cmd_list()
|
/linux/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
A D | modify_srcu.awk | 98 function update_fieldsep(sep, p) { 100 sep_tmp = sep; 134 last_fs = sep;
|