Home
last modified time | relevance | path

Searched refs:sep (Results 1 - 25 of 183) sorted by relevance

12345678

/kernel/linux/linux-6.6/drivers/parport/
H A Dprobe.c66 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()
88 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
89 string_upper(sep, se in parse_data()
[all...]
/kernel/linux/linux-5.10/drivers/parport/
H A Dprobe.c66 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; * in parse_data()
[all...]
/kernel/linux/linux-5.10/samples/pktgen/
H A Dfunctions.sh179 local sep=: sep2=::
180 local sep_cnt=$(tr -cd $sep <<< $1 | wc -c)
189 shrink=( $(egrep -o "$sep{2,}" <<< $addr) )
197 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
198 [[ ${addr: -1} == $sep ]] && addr=${addr}0
211 local addr sep
224 [[ $IP6 ]] && sep=: || sep=.
225 IFS=$sep read -a addr <<< $net
272 local ip sep
[all...]
/kernel/linux/linux-6.6/samples/pktgen/
H A Dfunctions.sh185 local sep=: sep2=::
186 local sep_cnt=$(tr -cd $sep <<< $1 | wc -c)
195 shrink=( $(grep -E -o "$sep{2,}" <<< $addr) )
203 [[ ${addr:0:1} == $sep ]] && addr=0${addr}
204 [[ ${addr: -1} == $sep ]] && addr=${addr}0
217 local addr sep
230 [[ $IP6 ]] && sep=: || sep=.
231 IFS=$sep read -a addr <<< $net
278 local ip sep
[all...]
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_debugfs.c34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit()
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()
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, "postpone in seq_print_request_state()
33 __seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name, const char *unset_name) __seq_print_rq_state_bit() argument
47 seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name) seq_print_rq_state_bit() argument
233 char sep = ' '; seq_print_peer_request_flags() local
[all...]
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_debugfs.c34 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit()
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()
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, "postpone in seq_print_request_state()
33 __seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name, const char *unset_name) __seq_print_rq_state_bit() argument
47 seq_print_rq_state_bit(struct seq_file *m, bool is_set, char *sep, const char *set_name) seq_print_rq_state_bit() argument
233 char sep = ' '; seq_print_peer_request_flags() local
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/tui/
H A Dutil.c85 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()
175 const char *sep = strchr(t, '\n'); in __ui__info_window() local
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep in __ui__info_window()
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/tui/
H A Dutil.c85 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()
175 const char *sep = strchr(t, '\n'); in __ui__info_window() local
178 if (sep == NULL) in __ui__info_window()
179 sep = strchr(t, '\0'); in __ui__info_window()
180 len = sep in __ui__info_window()
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dnmi_debug.c47 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()
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dnmi_debug.c47 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()
/kernel/linux/linux-5.10/scripts/dtc/
H A Dfdtput.c153 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 in create_paths()
[all...]
/kernel/linux/linux-6.6/scripts/dtc/
H A Dfdtput.c153 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 in create_paths()
[all...]
/kernel/linux/linux-5.10/tools/perf/ui/stdio/
H A Dhist.c332 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local
347 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded()
417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
434 if (!sep || !first) { in __hist_entry__snprintf()
435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); 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()
485 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
499 if (!sep) in hist_entry__hierarchy_fprintf()
523 printed += fprintf(fp, "%s%s", sep in hist_entry__hierarchy_fprintf()
619 print_hierarchy_indent(const char *sep, int indent, const char *line, FILE *fp) print_hierarchy_indent() argument
642 const char *sep = symbol_conf.field_sep; hists__fprintf_hierarchy_headers() local
732 const char *sep = symbol_conf.field_sep; fprintf_line() local
760 const char *sep = symbol_conf.field_sep; hists__fprintf_standard_headers() local
823 const char *sep = symbol_conf.field_sep; hists__fprintf() local
[all...]
/kernel/linux/linux-6.6/tools/perf/ui/stdio/
H A Dhist.c332 const char *sep = symbol_conf.field_sep ?: ";"; in __callchain__fprintf_folded() local
347 ret += fprintf(fp, "%s%s", first ? "" : sep, in __callchain__fprintf_folded()
417 const char *sep = symbol_conf.field_sep; in __hist_entry__snprintf() local
434 if (!sep || !first) { in __hist_entry__snprintf()
435 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); 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()
485 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__hierarchy_fprintf()
499 if (!sep) in hist_entry__hierarchy_fprintf()
523 printed += fprintf(fp, "%s%s", sep in hist_entry__hierarchy_fprintf()
619 print_hierarchy_indent(const char *sep, int indent, const char *line, FILE *fp) print_hierarchy_indent() argument
642 const char *sep = symbol_conf.field_sep; hists__fprintf_hierarchy_headers() local
732 const char *sep = symbol_conf.field_sep; fprintf_line() local
760 const char *sep = symbol_conf.field_sep; hists__fprintf_standard_headers() local
823 const char *sep = symbol_conf.field_sep; hists__fprintf() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dintlist.c92 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()
H A Dstrlist.c144 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()
/kernel/linux/linux-6.6/tools/perf/util/
H A Dintlist.c97 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()
H A Dstrlist.c144 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()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Djson_writer.c25 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()
97 self->sep = '\0'; in jsonw_new()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep in jsonw_name()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Djson_writer.c25 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()
97 self->sep = '\0'; in jsonw_new()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep in jsonw_name()
[all...]
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Djson_writer.c25 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()
97 self->sep = '\0'; in jsonw_new()
122 self->sep = '\0'; in jsonw_reset()
131 self->sep = '\0'; in jsonw_begin()
139 if (self->sep != '\0') in jsonw_end()
142 self->sep = ','; in jsonw_end()
151 self->sep in jsonw_name()
[all...]
/kernel/linux/linux-5.10/fs/cifs/
H A Ddns_resolve.c49 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()
/kernel/linux/linux-6.6/fs/smb/client/
H A Ddns_resolve.c34 const char *hostname, *sep; in dns_resolve_server_name_to_ip() local
52 sep = memchr(hostname, '/', len); in dns_resolve_server_name_to_ip()
53 if (sep) in dns_resolve_server_name_to_ip()
54 len = sep - hostname; in dns_resolve_server_name_to_ip()
/kernel/linux/linux-5.10/scripts/dtc/libfdt/
H A Dfdt_overlay.c449 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 in overlay_fixup_phandle()
[all...]
/kernel/linux/linux-6.6/scripts/dtc/libfdt/
H A Dfdt_overlay.c434 char *sep, *endptr; in overlay_fixup_phandle() local
446 sep = memchr(fixup_str, ':', fixup_len); in overlay_fixup_phandle()
447 if (!sep || *sep != ':') in overlay_fixup_phandle()
450 path_len = sep - path; in overlay_fixup_phandle()
455 name = sep + 1; in overlay_fixup_phandle()
456 sep = memchr(name, ':', fixup_len); in overlay_fixup_phandle()
457 if (!sep || *sep != ':') in overlay_fixup_phandle()
460 name_len = sep in overlay_fixup_phandle()
[all...]

Completed in 12 milliseconds

12345678