/Linux-v4.19/drivers/parport/ |
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() 84 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data() 87 info->model = kstrdup(sep, GFP_KERNEL); in parse_data() 92 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data() 93 for (u = sep; *u; u++) in parse_data() 96 if (!strcmp(classes[i].token, sep)) { in parse_data() [all …]
|
/Linux-v4.19/tools/perf/ui/tui/ |
D | util.c | 83 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local 85 if (sep == NULL) in ui_browser__input_window() 86 sep = strchr(t, '\0'); in ui_browser__input_window() 87 len = sep - t; in ui_browser__input_window() 91 if (*sep == '\0') in ui_browser__input_window() 93 t = sep + 1; in ui_browser__input_window() 174 const char *sep = strchr(t, '\n'); in ui__question_window() local 177 if (sep == NULL) in ui__question_window() 178 sep = strchr(t, '\0'); in ui__question_window() 179 len = sep - t; in ui__question_window() [all …]
|
/Linux-v4.19/arch/sh/kernel/ |
D | nmi_debug.c | 50 char *p, *sep; in nmi_debug_setup() local 57 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup() 58 sep = strchr(p, ','); in nmi_debug_setup() 59 if (sep) in nmi_debug_setup() 60 *sep = 0; in nmi_debug_setup() 72 if (!sep) in nmi_debug_setup()
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_debugfs.c | 34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit() argument 37 seq_putc(m, *sep); in __seq_print_rq_state_bit() 39 *sep = '|'; in __seq_print_rq_state_bit() 41 seq_putc(m, *sep); in __seq_print_rq_state_bit() 43 *sep = '|'; in __seq_print_rq_state_bit() 48 bool is_set, char *sep, const char *set_name) in seq_print_rq_state_bit() argument 50 __seq_print_rq_state_bit(m, is_set, sep, set_name, NULL); in seq_print_rq_state_bit() 57 char sep = ' '; in seq_print_request_state() local 63 seq_print_rq_state_bit(m, s & RQ_IN_ACT_LOG, &sep, "in-AL"); in seq_print_request_state() 64 seq_print_rq_state_bit(m, s & RQ_POSTPONED, &sep, "postponed"); in seq_print_request_state() [all …]
|
/Linux-v4.19/scripts/dtc/ |
D | fdtput.c | 167 const char *sep; in create_paths() local 174 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths() 176 sep = strchr(path, '/'); in create_paths() 177 if (!sep) in create_paths() 178 sep = path + strlen(path); in create_paths() 181 sep - path); in create_paths() 184 sep - path); in create_paths() 187 report_error(path, sep - path, node); in create_paths()
|
/Linux-v4.19/tools/perf/ui/stdio/ |
D | hist.c | 324 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local 339 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded() 409 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local 426 if (!sep || !first) { in __hist_entry__snprintf() 427 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 454 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local 476 if (!sep || !first) { in hist_entry__hierarchy_fprintf() 477 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf() 491 if (!sep) in hist_entry__hierarchy_fprintf() 515 printed += fprintf(fp, "%s%s", sep ?: " ", ltrim(buf)); in hist_entry__hierarchy_fprintf() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | intlist.c | 93 char *sep; in intlist__parse_list() local 97 long value = strtol(s, &sep, 10); in intlist__parse_list() 99 if (*sep != ',' && *sep != '\0') in intlist__parse_list() 104 s = sep + 1; in intlist__parse_list() 105 } while (*sep != '\0'); in intlist__parse_list()
|
D | strlist.c | 145 char *sep; in strlist__parse_list() local 148 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list() 149 *sep = '\0'; in strlist__parse_list() 151 *sep = ','; in strlist__parse_list() 154 s = sep + 1; in strlist__parse_list()
|
D | srcline.c | 369 char *sep; in filename_split() local 371 sep = strchr(filename, '\n'); in filename_split() 372 if (sep) in filename_split() 373 *sep = '\0'; in filename_split() 378 sep = strchr(filename, ':'); in filename_split() 379 if (sep) { in filename_split() 380 *sep++ = '\0'; in filename_split() 381 *line_nr = strtoul(sep, NULL, 0); in filename_split()
|
D | cpumap.c | 63 char sep; in cpu_map__read() local 65 sep = 0; in cpu_map__read() 68 n = fscanf(file, "%u%c", &cpu, &sep); in cpu_map__read() 94 if (n == 2 && sep == '-') in cpu_map__read() 98 if (n == 1 || sep == '\n') in cpu_map__read()
|
/Linux-v4.19/fs/cifs/ |
D | dns_resolve.c | 49 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local 67 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip() 68 if (sep) in dns_resolve_server_name_to_ip() 69 len = sep - hostname; in dns_resolve_server_name_to_ip()
|
D | cifs_dfs_ref.c | 148 char sep = ','; in cifs_compose_mount_options() local 191 sep = sb_mountdata[4]; in cifs_compose_mount_options() 197 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options() 222 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 223 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
|
/Linux-v4.19/tools/bpf/bpftool/ |
D | json_writer.c | 29 char sep; /* either nul or comma */ member 53 if (self->sep != '\0') in jsonw_eor() 54 putc(self->sep, self->out); in jsonw_eor() 55 self->sep = ','; in jsonw_eor() 104 self->sep = '\0'; in jsonw_new() 132 self->sep = '\0'; in jsonw_begin() 140 if (self->sep != '\0') in jsonw_end() 143 self->sep = ','; in jsonw_end() 152 self->sep = '\0'; in jsonw_name()
|
/Linux-v4.19/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 493 char *sep, *endptr; in overlay_fixup_phandle() local 505 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle() 506 if (!sep || *sep != ':') in overlay_fixup_phandle() 509 path_len = sep - path; in overlay_fixup_phandle() 514 name = sep + 1; in overlay_fixup_phandle() 515 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle() 516 if (!sep || *sep != ':') in overlay_fixup_phandle() 519 name_len = sep - name; in overlay_fixup_phandle() 523 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle() 524 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
|
/Linux-v4.19/tools/perf/scripts/python/ |
D | stackcollapse.py | 111 sep = "-" 113 comm = comm + sep + str(param_dict['sample']['pid']) 114 sep = "/" 116 comm = comm + sep + str(param_dict['sample']['tid'])
|
/Linux-v4.19/tools/perf/ |
D | builtin-list.c | 64 char *sep, *s; in cmd_list() local 88 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list() 91 if (sep == NULL) { in cmd_list() 97 sep_idx = sep - argv[i]; in cmd_list()
|
/Linux-v4.19/drivers/scsi/ |
D | scsi_debugfs.c | 18 bool sep = false; in scsi_flags_show() local 24 if (sep) in scsi_flags_show() 26 sep = true; in scsi_flags_show()
|
/Linux-v4.19/tools/perf/arch/s390/util/ |
D | header.c | 112 char *sep = strchr(cp, '='); in get_cpuid() local 115 sizeof(version) - vssize, "%s", sep + 1); in get_cpuid() 119 char *sep = strchr(cp, '='); in get_cpuid() local 122 sizeof(authorization) - atsize, "%s", sep + 1); in get_cpuid()
|
/Linux-v4.19/scripts/ |
D | ver_linux | 64 mods = mods sep $1 65 sep = " "
|
/Linux-v4.19/tools/testing/selftests/rcutorture/formal/srcu-cbmc/ |
D | modify_srcu.awk | 98 function update_fieldsep(sep, p) { 100 sep_tmp = sep; 134 last_fs = sep;
|
/Linux-v4.19/drivers/nvdimm/ |
D | core.c | 217 static bool is_uuid_sep(char sep) in is_uuid_sep() argument 219 if (sep == '\n' || sep == '-' || sep == ':' || sep == '\0') in is_uuid_sep()
|
/Linux-v4.19/tools/power/cpupower/utils/helpers/ |
D | bitmask.c | 105 static const char *nexttoken(const char *q, int sep) in nexttoken() argument 108 q = strchr(q, sep); in nexttoken()
|
/Linux-v4.19/drivers/staging/fbtft/ |
D | fbtft-sysfs.c | 5 static int get_next_ulong(char **str_p, unsigned long *val, char *sep, int base) in get_next_ulong() argument 12 p_val = strsep(str_p, sep); in get_next_ulong()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | setup.c | 648 char features[128], *cp, *sep; in show_cpuinfo() local 660 sep = ""; in show_cpuinfo() 663 cp += snprintf(cp, size, "%s%s", sep, in show_cpuinfo() 665 sep = ", "; in show_cpuinfo() 672 snprintf(cp, size, "%s0x%lx", sep, mask); in show_cpuinfo()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | intel_rdt_ctrlmondata.c | 376 bool sep = false; in show_doms() local 381 if (sep) in show_doms() 388 sep = true; in show_doms()
|