/Linux-v5.4/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-v5.4/tools/perf/ui/tui/ |
D | util.c | 81 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local 83 if (sep == NULL) in ui_browser__input_window() 84 sep = strchr(t, '\0'); in ui_browser__input_window() 85 len = sep - t; in ui_browser__input_window() 89 if (*sep == '\0') in ui_browser__input_window() 91 t = sep + 1; in ui_browser__input_window() 171 const char *sep = strchr(t, '\n'); in __ui__info_window() local 174 if (sep == NULL) in __ui__info_window() 175 sep = strchr(t, '\0'); in __ui__info_window() 176 len = sep - t; in __ui__info_window() [all …]
|
/Linux-v5.4/arch/sh/kernel/ |
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-v5.4/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-v5.4/scripts/dtc/ |
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-v5.4/tools/perf/ui/stdio/ |
D | hist.c | 331 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local 346 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded() 416 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local 433 if (!sep || !first) { in __hist_entry__snprintf() 434 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in __hist_entry__snprintf() 461 const char *sep = symbol_conf.field_sep; in hist_entry__hierarchy_fprintf() local 483 if (!sep || !first) { in hist_entry__hierarchy_fprintf() 484 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf() 498 if (!sep) in hist_entry__hierarchy_fprintf() 522 printed += fprintf(fp, "%s%s", sep ?: " ", skip_spaces(buf)); in hist_entry__hierarchy_fprintf() [all …]
|
/Linux-v5.4/tools/perf/util/ |
D | intlist.c | 92 char *sep; in intlist__parse_list() local 96 long value = strtol(s, &sep, 10); in intlist__parse_list() 98 if (*sep != ',' && *sep != '\0') in intlist__parse_list() 103 s = sep + 1; in intlist__parse_list() 104 } while (*sep != '\0'); in intlist__parse_list()
|
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()
|
D | srcline.c | 372 char *sep; in filename_split() local 374 sep = strchr(filename, '\n'); in filename_split() 375 if (sep) in filename_split() 376 *sep = '\0'; in filename_split() 381 sep = strchr(filename, ':'); in filename_split() 382 if (sep) { in filename_split() 383 *sep++ = '\0'; in filename_split() 384 *line_nr = strtoul(sep, NULL, 0); in filename_split()
|
/Linux-v5.4/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 | 147 char sep = ','; in cifs_compose_mount_options() local 190 sep = sb_mountdata[4]; in cifs_compose_mount_options() 196 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options() 221 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options() 222 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
|
/Linux-v5.4/tools/bpf/bpftool/ |
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() 128 self->sep = '\0'; in jsonw_begin() 136 if (self->sep != '\0') in jsonw_end() 139 self->sep = ','; in jsonw_end() 148 self->sep = '\0'; in jsonw_name()
|
D | feature.c | 291 char *sep; in read_next_kernel_config_option() local 297 sep = strchr(buf, '='); in read_next_kernel_config_option() 298 if (!sep) in read_next_kernel_config_option() 305 *sep = '\0'; in read_next_kernel_config_option() 306 if (!sep[1]) in read_next_kernel_config_option() 309 *value = sep + 1; in read_next_kernel_config_option()
|
/Linux-v5.4/scripts/dtc/libfdt/ |
D | fdt_overlay.c | 448 char *sep, *endptr; in overlay_fixup_phandle() local 460 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle() 461 if (!sep || *sep != ':') in overlay_fixup_phandle() 464 path_len = sep - path; in overlay_fixup_phandle() 469 name = sep + 1; in overlay_fixup_phandle() 470 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle() 471 if (!sep || *sep != ':') in overlay_fixup_phandle() 474 name_len = sep - name; in overlay_fixup_phandle() 478 poffset = strtoul(sep + 1, &endptr, 10); in overlay_fixup_phandle() 479 if ((*endptr != '\0') || (endptr <= (sep + 1))) in overlay_fixup_phandle()
|
/Linux-v5.4/tools/perf/scripts/python/ |
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-v5.4/drivers/scsi/ |
D | scsi_debugfs.c | 19 bool sep = false; in scsi_flags_show() local 23 if (sep) in scsi_flags_show() 25 sep = true; in scsi_flags_show()
|
/Linux-v5.4/tools/perf/ |
D | builtin-list.c | 63 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-v5.4/tools/perf/arch/s390/util/ |
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-v5.4/tools/perf/lib/ |
D | cpumap.c | 92 char sep; in perf_cpu_map__read() local 94 sep = 0; in perf_cpu_map__read() 97 n = fscanf(file, "%u%c", &cpu, &sep); in perf_cpu_map__read() 126 if (n == 2 && sep == '-') in perf_cpu_map__read() 130 if (n == 1 || sep == '\n') in perf_cpu_map__read()
|
/Linux-v5.4/drivers/dma-buf/ |
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-v5.4/drivers/gpu/drm/ |
D | drm_modes.c | 1576 char *sep = str; in drm_mode_parse_cmdline_options() local 1578 while ((sep = strchr(sep, ','))) { in drm_mode_parse_cmdline_options() 1581 option = sep + 1; in drm_mode_parse_cmdline_options() 1594 deg = simple_strtol(value, &sep, 10); in drm_mode_parse_cmdline_options() 1597 if (sep == value) in drm_mode_parse_cmdline_options() 1622 sep = delim; in drm_mode_parse_cmdline_options() 1625 sep = delim; in drm_mode_parse_cmdline_options() 1630 margin = simple_strtol(value, &sep, 10); in drm_mode_parse_cmdline_options() 1633 if (sep == value) in drm_mode_parse_cmdline_options() 1641 margin = simple_strtol(value, &sep, 10); in drm_mode_parse_cmdline_options() [all …]
|
/Linux-v5.4/mm/kasan/ |
D | report.c | 212 const char *sep = strchr(*frame_descr, ' '); in tokenize_frame_descr() local 214 if (sep == NULL) in tokenize_frame_descr() 215 sep = *frame_descr + strlen(*frame_descr); in tokenize_frame_descr() 218 const size_t tok_len = sep - *frame_descr; in tokenize_frame_descr() 231 *frame_descr = sep + 1; in tokenize_frame_descr()
|
/Linux-v5.4/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-v5.4/scripts/ |
D | ver_linux | 66 mods = mods sep $1 67 sep = " "
|
/Linux-v5.4/drivers/nvdimm/ |
D | core.c | 209 static bool is_uuid_sep(char sep) in is_uuid_sep() argument 211 if (sep == '\n' || sep == '-' || sep == ':' || sep == '\0') in is_uuid_sep()
|