Home
last modified time | relevance | path

Searched refs:delim (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.6.21/lib/
Dtest_scanf.c401 static void __init numbers_list_ll(const char *delim) in numbers_list_ll() argument
403 numbers_list_8(unsigned long long, "%llu", delim, "llu", check_ull); in numbers_list_ll()
404 numbers_list_8(long long, "%lld", delim, "lld", check_ll); in numbers_list_ll()
405 numbers_list_8(long long, "%lld", delim, "lli", check_ll); in numbers_list_ll()
406 numbers_list_8(unsigned long long, "%llx", delim, "llx", check_ull); in numbers_list_ll()
407 numbers_list_8(unsigned long long, "0x%llx", delim, "llx", check_ull); in numbers_list_ll()
408 numbers_list_8(long long, "0x%llx", delim, "lli", check_ll); in numbers_list_ll()
411 static void __init numbers_list_l(const char *delim) in numbers_list_l() argument
413 numbers_list_8(unsigned long, "%lu", delim, "lu", check_ulong); in numbers_list_l()
414 numbers_list_8(long, "%ld", delim, "ld", check_long); in numbers_list_l()
[all …]
/linux-6.6.21/fs/smb/client/
Dunc.c21 char *dst, *delim; in extract_hostname() local
34 delim = strchr(src, '\\'); in extract_hostname()
35 if (!delim) in extract_hostname()
38 len = delim - src; in extract_hostname()
52 char *delim, *dst; in extract_sharename() local
58 delim = strchr(src, '\\'); in extract_sharename()
59 if (!delim) in extract_sharename()
61 delim++; in extract_sharename()
64 dst = kstrdup(delim, GFP_KERNEL); in extract_sharename()
/linux-6.6.21/net/netfilter/
Dnf_conntrack_ftp.c195 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
203 if (data[i] == delim) { in get_port()
224 char delim; in try_eprt() local
233 delim = data[0]; in try_eprt()
234 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
245 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
251 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
258 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
265 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
273 char delim; in try_epsv_response() local
[all …]
Dnf_conntrack_expect.c631 char *delim = ""; in exp_seq_show() local
648 delim = ","; in exp_seq_show()
651 seq_printf(s, "%sINACTIVE", delim); in exp_seq_show()
652 delim = ","; in exp_seq_show()
655 seq_printf(s, "%sUSERSPACE", delim); in exp_seq_show()
/linux-6.6.21/tools/power/x86/turbostat/
Dturbostat.c829 void print_header(char *delim) in print_header() argument
835 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
837 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
839 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
841 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
843 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
845 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
847 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
849 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
851 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/linux-6.6.21/tools/testing/selftests/cgroup/
Dcgroup_util.c162 const char delim[] = "\n"; in cg_read_lc() local
169 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in cg_read_lc()
202 const char delim[] = "\n\t "; in cg_find_unified_root() local
211 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
212 mount = strtok(NULL, delim); in cg_find_unified_root()
213 type = strtok(NULL, delim); in cg_find_unified_root()
214 strtok(NULL, delim); in cg_find_unified_root()
215 strtok(NULL, delim); in cg_find_unified_root()
216 strtok(NULL, delim); in cg_find_unified_root()
511 const char delim[] = "\n"; in is_swap_enabled() local
[all …]
/linux-6.6.21/include/trace/stages/
Dstage3_trace_output.h67 #define __print_flags(flag, delim, flag_array...) \ argument
71 trace_print_flags_seq(p, delim, flag, __flags); \
85 #define __print_flags_u64(flag, delim, flag_array...) \ argument
89 trace_print_flags_seq_u64(p, delim, flag, __flags); \
99 #define __print_flags_u64(flag, delim, flag_array...) \ argument
100 __print_flags(flag, delim, flag_array)
/linux-6.6.21/net/sunrpc/
Daddr.c162 const size_t buflen, const char *delim, in rpc_parse_scope_id() argument
170 if ((buf + buflen) == delim) in rpc_parse_scope_id()
173 if (*delim != IPV6_SCOPE_DELIMITER) in rpc_parse_scope_id()
179 len = (buf + buflen) - delim - 1; in rpc_parse_scope_id()
183 memcpy(p, delim + 1, len); in rpc_parse_scope_id()
204 const char *delim; in rpc_pton6() local
212 if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0) in rpc_pton6()
215 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
/linux-6.6.21/drivers/gpu/drm/
Ddrm_modes.c2089 static int drm_mode_parse_cmdline_int(const char *delim, unsigned int *int_ret) in drm_mode_parse_cmdline_int() argument
2099 if (*delim != '=') in drm_mode_parse_cmdline_int()
2102 value = delim + 1; in drm_mode_parse_cmdline_int()
2112 static int drm_mode_parse_panel_orientation(const char *delim, in drm_mode_parse_panel_orientation() argument
2117 if (*delim != '=') in drm_mode_parse_panel_orientation()
2120 value = delim + 1; in drm_mode_parse_panel_orientation()
2121 delim = strchr(value, ','); in drm_mode_parse_panel_orientation()
2122 if (!delim) in drm_mode_parse_panel_orientation()
2123 delim = value + strlen(value); in drm_mode_parse_panel_orientation()
2125 if (!strncmp(value, "normal", delim - value)) in drm_mode_parse_panel_orientation()
[all …]
/linux-6.6.21/fs/afs/
Daddr_list.c65 char delim, in afs_parse_text_addrs() argument
76 _enter("%*.*s,%c", (int)len, (int)len, text, delim); in afs_parse_text_addrs()
83 if (delim == ':' && (memchr(text, ',', len) || !memchr(text, '.', len))) in afs_parse_text_addrs()
84 delim = ','; in afs_parse_text_addrs()
93 if (*p == delim) in afs_parse_text_addrs()
112 p = memchr(p, delim, end - p); in afs_parse_text_addrs()
141 if (*p == delim) { in afs_parse_text_addrs()
151 if (*q == '+' || *q == delim) in afs_parse_text_addrs()
191 } else if (*p == delim) { in afs_parse_text_addrs()
/linux-6.6.21/net/core/
Dnetpoll.c543 char *cur=opt, *delim; in netpoll_parse_options() local
548 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options()
550 *delim = 0; in netpoll_parse_options()
553 cur = delim; in netpoll_parse_options()
559 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options()
561 *delim = 0; in netpoll_parse_options()
567 cur = delim; in netpoll_parse_options()
573 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options()
575 *delim = 0; in netpoll_parse_options()
577 cur = delim; in netpoll_parse_options()
[all …]
Dutils.c86 static inline int xdigit2bin(char c, int delim) in xdigit2bin() argument
90 if (c == delim || c == '\0') in xdigit2bin()
101 if (delim == -1) in xdigit2bin()
120 int delim, const char **end) in in4_pton() argument
136 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton()
186 int delim, const char **end) in in6_pton() argument
206 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton()
249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, &s); in in6_pton()
/linux-6.6.21/drivers/mtd/parsers/
Dcmdlinepart.c94 char delim; in newpart() local
113 delim = 0; in newpart()
123 delim = ')'; in newpart()
125 if (delim) { in newpart()
129 p = strchr(name, delim); in newpart()
131 pr_err("no closing %c found in partition name\n", delim); in newpart()
/linux-6.6.21/include/linux/
Dinet.h53 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
54 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
/linux-6.6.21/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DCore.py17 def define_flag_field(event_name, field_name, delim): argument
18 flag_fields[event_name][field_name]['delim'] = delim
/linux-6.6.21/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
DCore.pm90 my ($event_name, $field_name, $delim) = @_;
92 $flag_fields{$event_name}{$field_name}{"delim"} = $delim;
/linux-6.6.21/arch/s390/boot/
Dipl_parm.c148 char *parm, *delim; in append_ipl_block_parm() local
153 delim = early_command_line + len; /* '\0' character position */ in append_ipl_block_parm()
172 *delim = ' '; /* replace '\0' with space */ in append_ipl_block_parm()
/linux-6.6.21/kernel/trace/
Dtrace_output.c65 trace_print_flags_seq(struct trace_seq *p, const char *delim, in trace_print_flags_seq() argument
82 if (!first && delim) in trace_print_flags_seq()
83 trace_seq_puts(p, delim); in trace_print_flags_seq()
91 if (!first && delim) in trace_print_flags_seq()
92 trace_seq_puts(p, delim); in trace_print_flags_seq()
129 trace_print_flags_seq_u64(struct trace_seq *p, const char *delim, in trace_print_flags_seq_u64() argument
146 if (!first && delim) in trace_print_flags_seq_u64()
147 trace_seq_puts(p, delim); in trace_print_flags_seq_u64()
155 if (!first && delim) in trace_print_flags_seq_u64()
156 trace_seq_puts(p, delim); in trace_print_flags_seq_u64()
[all …]
/linux-6.6.21/block/
Ddisk-events.c330 const char *delim = ""; in __disk_events_show() local
337 delim, disk_events_strs[i]); in __disk_events_show()
338 delim = " "; in __disk_events_show()
/linux-6.6.21/net/ceph/
Dmessenger.c1221 char delim, const char **ipend) in ceph_pton() argument
1225 …if (in4_pton(str, len, (u8 *)&((struct sockaddr_in *)&addr->in_addr)->sin_addr.s_addr, delim, ipen… in ceph_pton()
1230 …if (in6_pton(str, len, (u8 *)&((struct sockaddr_in6 *)&addr->in_addr)->sin6_addr.s6_addr, delim, i… in ceph_pton()
1243 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1253 delim_p = memchr(name, delim, namelen); in ceph_dns_resolve_name()
1288 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1299 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_parse_server_name() argument
1303 ret = ceph_pton(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1305 ret = ceph_dns_resolve_name(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1316 int max_count, int *count, char delim) in ceph_parse_ips() argument
[all …]
/linux-6.6.21/tools/usb/usbip/libsrc/
Dvhci_driver.c194 char delim[] = {' ', ' ', '\n'}; in read_record() local
222 end = strchr(start, delim[part]); in read_record()
/linux-6.6.21/tools/perf/util/scripting-engines/
Dtrace-event-perl.c172 const char *delim) in define_flag_field() argument
182 XPUSHs(sv_2mortal(newSVpv(delim, 0))); in define_flag_field()
214 define_flag_field(ev_name, cur_field_name, args->flags.delim); in define_event_symbols()
/linux-6.6.21/drivers/bluetooth/
Dhci_h5.c519 const u8 delim = SLIP_DELIMITER, esc = SLIP_ESC; in h5_unslip_one_byte() local
530 byte = &delim; in h5_unslip_one_byte()
645 const char delim = SLIP_DELIMITER; in h5_slip_delim() local
647 skb_put_data(skb, &delim, 1); in h5_slip_delim()
/linux-6.6.21/include/linux/netfilter/
Dnf_conntrack_sip.h186 bool delim);
/linux-6.6.21/drivers/net/bonding/
Dbond_options.c1533 char *delim; in bond_option_queue_id_set() local
1538 delim = strchr(newval->string, ':'); in bond_option_queue_id_set()
1539 if (!delim) in bond_option_queue_id_set()
1545 *delim = '\0'; in bond_option_queue_id_set()
1546 if (sscanf(++delim, "%hd\n", &qid) != 1) in bond_option_queue_id_set()

12