Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/netfilter/
Dnf_conntrack_ftp.c200 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
208 if (data[i] == delim) { in get_port()
229 char delim; in try_eprt() local
238 delim = data[0]; in try_eprt()
239 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
250 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
256 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
263 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
270 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
278 char delim; in try_epsv_response() local
[all …]
Dnf_conntrack_expect.c600 char *delim = ""; in exp_seq_show() local
618 delim = ","; in exp_seq_show()
621 seq_printf(s, "%sINACTIVE", delim); in exp_seq_show()
622 delim = ","; in exp_seq_show()
625 seq_printf(s, "%sUSERSPACE", delim); in exp_seq_show()
/Linux-v4.19/fs/cifs/
Dcache.c66 char *delim, *dst; in extract_sharename() local
73 delim = strchr(src, '\\'); in extract_sharename()
74 if (!delim) in extract_sharename()
76 delim++; in extract_sharename()
77 len = strlen(delim); in extract_sharename()
80 dst = kstrndup(delim, len, GFP_KERNEL); in extract_sharename()
Dconnect.c1040 char *dst, *delim; in extract_hostname() local
1048 delim = strchr(src, '\\'); in extract_hostname()
1049 if (!delim) in extract_hostname()
1052 len = delim - src; in extract_hostname()
1332 char delim; in cifs_parse_mount_options() local
1340 delim = separator[0]; in cifs_parse_mount_options()
1823 if (!(tmp_end < end && tmp_end[1] == delim)) { in cifs_parse_mount_options()
1842 if (tmp_end < end && tmp_end[1] == delim) { in cifs_parse_mount_options()
1843 tmp_end[0] = delim; in cifs_parse_mount_options()
1848 while ((tmp_end = strchr(tmp_end, delim)) in cifs_parse_mount_options()
[all …]
/Linux-v4.19/tools/testing/selftests/cgroup/
Dcgroup_util.c168 const char delim[] = "\n\t "; in cg_find_unified_root() local
177 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
178 mount = strtok(NULL, delim); in cg_find_unified_root()
179 type = strtok(NULL, delim); in cg_find_unified_root()
180 strtok(NULL, delim); in cg_find_unified_root()
181 strtok(NULL, delim); in cg_find_unified_root()
182 strtok(NULL, delim); in cg_find_unified_root()
339 const char delim[] = "\n"; in is_swap_enabled() local
346 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in is_swap_enabled()
/Linux-v4.19/tools/power/x86/turbostat/
Dturbostat.c611 void print_header(char *delim) in print_header() argument
617 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
619 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
621 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
623 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
625 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
627 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
629 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
631 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
633 outp += sprintf(outp, "%sAvg_MHz", (printed++ ? delim : "")); in print_header()
[all …]
/Linux-v4.19/net/sunrpc/
Daddr.c161 const size_t buflen, const char *delim, in rpc_parse_scope_id() argument
167 if ((buf + buflen) == delim) in rpc_parse_scope_id()
170 if (*delim != IPV6_SCOPE_DELIMITER) in rpc_parse_scope_id()
176 len = (buf + buflen) - delim - 1; in rpc_parse_scope_id()
177 p = kstrndup(delim + 1, len, GFP_KERNEL); in rpc_parse_scope_id()
207 const char *delim; in rpc_pton6() local
215 if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0) in rpc_pton6()
218 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
/Linux-v4.19/net/core/
Dnetpoll.c504 char *cur=opt, *delim; in netpoll_parse_options() local
509 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options()
511 *delim = 0; in netpoll_parse_options()
514 cur = delim; in netpoll_parse_options()
520 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options()
522 *delim = 0; in netpoll_parse_options()
528 cur = delim; in netpoll_parse_options()
534 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options()
536 *delim = 0; in netpoll_parse_options()
538 cur = delim; in netpoll_parse_options()
[all …]
Dutils.c90 static inline int xdigit2bin(char c, int delim) in xdigit2bin() argument
94 if (c == delim || c == '\0') in xdigit2bin()
105 if (delim == -1) in xdigit2bin()
124 int delim, const char **end) in in4_pton() argument
140 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton()
190 int delim, const char **end) in in6_pton() argument
210 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton()
253 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, &s); in in6_pton()
/Linux-v4.19/fs/afs/
Daddr_list.c69 char delim, in afs_parse_text_addrs() argument
77 _enter("%*.*s,%c", (int)len, (int)len, text, delim); in afs_parse_text_addrs()
82 if (delim == ':' && (memchr(text, ',', len) || !memchr(text, '.', len))) in afs_parse_text_addrs()
83 delim = ','; in afs_parse_text_addrs()
90 if (*p == delim) in afs_parse_text_addrs()
105 p = memchr(p, delim, end - p); in afs_parse_text_addrs()
125 if (*p == delim) { in afs_parse_text_addrs()
135 if (*q == '+' || *q == delim) in afs_parse_text_addrs()
175 } else if (*p == delim) { in afs_parse_text_addrs()
/Linux-v4.19/drivers/mtd/
Dcmdlinepart.c107 char delim; in newpart() local
125 delim = 0; in newpart()
135 delim = ')'; in newpart()
137 if (delim) { in newpart()
141 p = strchr(name, delim); in newpart()
143 pr_err("no closing %c found in partition name\n", delim); in newpart()
/Linux-v4.19/security/selinux/ss/
Dmls.c244 char delim; in mls_context_to_sid() local
279 delim = *p; in mls_context_to_sid()
280 if (delim != '\0') in mls_context_to_sid()
292 if (delim == ':') { in mls_context_to_sid()
298 delim = *p; in mls_context_to_sid()
299 if (delim != '\0') in mls_context_to_sid()
343 if (delim != ',') in mls_context_to_sid()
347 if (delim == '-') { in mls_context_to_sid()
353 delim = *p; in mls_context_to_sid()
354 if (delim != '\0') in mls_context_to_sid()
/Linux-v4.19/include/linux/
Dinet.h57 extern int in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
58 extern int in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end);
Dtrace_events.h19 const char *trace_print_flags_seq(struct trace_seq *p, const char *delim,
27 const char *trace_print_flags_seq_u64(struct trace_seq *p, const char *delim,
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/arch/s390/kernel/
Dearly.c290 char *parm, *delim; in append_to_cmdline() local
295 delim = boot_command_line + len; /* '\0' character position */ in append_to_cmdline()
303 *delim = ' '; /* replace '\0' with space */ in append_to_cmdline()
/Linux-v4.19/include/trace/
Dtrace_events.h288 #define __print_flags(flag, delim, flag_array...) \ argument
292 trace_print_flags_seq(p, delim, flag, __flags); \
306 #define __print_flags_u64(flag, delim, flag_array...) \ argument
310 trace_print_flags_seq_u64(p, delim, flag, __flags); \
320 #define __print_flags_u64(flag, delim, flag_array...) \ argument
321 __print_flags(flag, delim, flag_array)
/Linux-v4.19/tools/usb/usbip/libsrc/
Dvhci_driver.c194 char delim[] = {' ', ' ', '\n'}; in read_record() local
222 end = strchr(start, delim[part]); in read_record()
/Linux-v4.19/drivers/bluetooth/
Dhci_h5.c511 const u8 delim = SLIP_DELIMITER, esc = SLIP_ESC; in h5_unslip_one_byte() local
522 byte = &delim; in h5_unslip_one_byte()
624 const char delim = SLIP_DELIMITER; in h5_slip_delim() local
626 skb_put_data(skb, &delim, 1); in h5_slip_delim()
/Linux-v4.19/tools/perf/util/scripting-engines/
Dtrace-event-perl.c171 const char *delim) in define_flag_field() argument
181 XPUSHs(sv_2mortal(newSVpv(delim, 0))); in define_flag_field()
213 define_flag_field(ev_name, cur_field_name, args->flags.delim); in define_event_symbols()
/Linux-v4.19/net/ceph/
Dmessenger.c1863 char delim, const char **ipend) in ceph_pton() argument
1870 if (in4_pton(str, len, (u8 *)&in4->sin_addr.s_addr, delim, ipend)) { in ceph_pton()
1875 if (in6_pton(str, len, (u8 *)&in6->sin6_addr.s6_addr, delim, ipend)) { in ceph_pton()
1888 struct sockaddr_storage *ss, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1898 delim_p = memchr(name, delim, namelen); in ceph_dns_resolve_name()
1932 struct sockaddr_storage *ss, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1943 struct sockaddr_storage *ss, char delim, const char **ipend) in ceph_parse_server_name() argument
1947 ret = ceph_pton(name, namelen, ss, delim, ipend); in ceph_parse_server_name()
1949 ret = ceph_dns_resolve_name(name, namelen, ss, delim, ipend); in ceph_parse_server_name()
1970 char delim = ','; in ceph_parse_ips() local
[all …]
/Linux-v4.19/drivers/net/bonding/
Dbond_options.c1312 char *delim; in bond_option_queue_id_set() local
1317 delim = strchr(newval->string, ':'); in bond_option_queue_id_set()
1318 if (!delim) in bond_option_queue_id_set()
1324 *delim = '\0'; in bond_option_queue_id_set()
1325 if (sscanf(++delim, "%hd\n", &qid) != 1) in bond_option_queue_id_set()
/Linux-v4.19/include/linux/netfilter/
Dnf_conntrack_sip.h187 bool delim);

12