Home
last modified time | relevance | path

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

12

/Linux-v5.4/net/netfilter/
Dnf_conntrack_ftp.c199 static int get_port(const char *data, int start, size_t dlen, char delim, in get_port() argument
207 if (data[i] == delim) { in get_port()
228 char delim; in try_eprt() local
237 delim = data[0]; in try_eprt()
238 if (isdigit(delim) || delim < 33 || delim > 126 || data[2] != delim) { in try_eprt()
249 pr_debug("EPRT: Got %c%c%c\n", delim, data[1], delim); in try_eprt()
255 length = try_number(data + 3, dlen - 3, array, 4, '.', delim); in try_eprt()
262 (struct in6_addr *)cmd->u3.ip6, delim); in try_eprt()
269 return get_port(data, 3 + length + 1, dlen, delim, &cmd->u.tcp.port); in try_eprt()
277 char delim; in try_epsv_response() local
[all …]
Dnf_conntrack_expect.c611 char *delim = ""; in exp_seq_show() local
628 delim = ","; in exp_seq_show()
631 seq_printf(s, "%sINACTIVE", delim); in exp_seq_show()
632 delim = ","; in exp_seq_show()
635 seq_printf(s, "%sUSERSPACE", delim); in exp_seq_show()
/Linux-v5.4/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.c1294 char *dst, *delim; in extract_hostname() local
1307 delim = strchr(src, '\\'); in extract_hostname()
1308 if (!delim) in extract_hostname()
1311 len = delim - src; in extract_hostname()
1614 char delim; in cifs_parse_mount_options() local
1622 delim = separator[0]; in cifs_parse_mount_options()
2167 if (!(tmp_end < end && tmp_end[1] == delim)) { in cifs_parse_mount_options()
2186 if (tmp_end < end && tmp_end[1] == delim) { in cifs_parse_mount_options()
2187 tmp_end[0] = delim; in cifs_parse_mount_options()
2192 while ((tmp_end = strchr(tmp_end, delim)) in cifs_parse_mount_options()
[all …]
/Linux-v5.4/tools/power/x86/turbostat/
Dturbostat.c620 void print_header(char *delim) in print_header() argument
626 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header()
628 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header()
630 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header()
632 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header()
634 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header()
636 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header()
638 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header()
640 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header()
642 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim : "")); in print_header()
[all …]
/Linux-v5.4/tools/testing/selftests/cgroup/
Dcgroup_util.c178 const char delim[] = "\n\t "; in cg_find_unified_root() local
187 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root()
188 mount = strtok(NULL, delim); in cg_find_unified_root()
189 type = strtok(NULL, delim); in cg_find_unified_root()
190 strtok(NULL, delim); in cg_find_unified_root()
191 strtok(NULL, delim); in cg_find_unified_root()
192 strtok(NULL, delim); in cg_find_unified_root()
379 const char delim[] = "\n"; in is_swap_enabled() local
386 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in is_swap_enabled()
/Linux-v5.4/net/sunrpc/
Daddr.c162 const size_t buflen, const char *delim, in rpc_parse_scope_id() argument
168 if ((buf + buflen) == delim) in rpc_parse_scope_id()
171 if (*delim != IPV6_SCOPE_DELIMITER) in rpc_parse_scope_id()
177 len = (buf + buflen) - delim - 1; in rpc_parse_scope_id()
178 p = kstrndup(delim + 1, len, GFP_KERNEL); in rpc_parse_scope_id()
208 const char *delim; in rpc_pton6() local
216 if (in6_pton(buf, buflen, addr, IPV6_SCOPE_DELIMITER, &delim) == 0) in rpc_pton6()
219 if (!rpc_parse_scope_id(net, buf, buflen, delim, sin6)) in rpc_pton6()
/Linux-v5.4/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.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-v5.4/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-v5.4/drivers/mtd/parsers/
Dcmdlinepart.c94 char delim; in newpart() local
112 delim = 0; in newpart()
122 delim = ')'; in newpart()
124 if (delim) { in newpart()
128 p = strchr(name, delim); in newpart()
130 pr_err("no closing %c found in partition name\n", delim); in newpart()
/Linux-v5.4/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-v5.4/drivers/gpu/drm/
Ddrm_modes.c1579 char *delim, *option; in drm_mode_parse_cmdline_options() local
1582 delim = strchr(option, '='); in drm_mode_parse_cmdline_options()
1583 if (!delim) { in drm_mode_parse_cmdline_options()
1584 delim = strchr(option, ','); in drm_mode_parse_cmdline_options()
1586 if (!delim) in drm_mode_parse_cmdline_options()
1587 delim = str + len; in drm_mode_parse_cmdline_options()
1590 if (!strncmp(option, "rotate", delim - option)) { in drm_mode_parse_cmdline_options()
1591 const char *value = delim + 1; in drm_mode_parse_cmdline_options()
1620 } else if (!strncmp(option, "reflect_x", delim - option)) { in drm_mode_parse_cmdline_options()
1622 sep = delim; in drm_mode_parse_cmdline_options()
[all …]
/Linux-v5.4/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-v5.4/arch/s390/boot/
Dipl_parm.c103 char *parm, *delim; in append_ipl_block_parm() local
108 delim = early_command_line + len; /* '\0' character position */ in append_ipl_block_parm()
125 *delim = ' '; /* replace '\0' with space */ in append_ipl_block_parm()
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/tools/usb/usbip/libsrc/
Dvhci_driver.c194 char delim[] = {' ', ' ', '\n'}; in read_record() local
222 end = strchr(start, delim[part]); in read_record()
/Linux-v5.4/drivers/bluetooth/
Dhci_h5.c498 const u8 delim = SLIP_DELIMITER, esc = SLIP_ESC; in h5_unslip_one_byte() local
509 byte = &delim; in h5_unslip_one_byte()
611 const char delim = SLIP_DELIMITER; in h5_slip_delim() local
613 skb_put_data(skb, &delim, 1); in h5_slip_delim()
/Linux-v5.4/tools/perf/util/scripting-engines/
Dtrace-event-perl.c173 const char *delim) in define_flag_field() argument
183 XPUSHs(sv_2mortal(newSVpv(delim, 0))); in define_flag_field()
215 define_flag_field(ev_name, cur_field_name, args->flags.delim); in define_event_symbols()
/Linux-v5.4/net/ceph/
Dmessenger.c1845 char delim, const char **ipend) in ceph_pton() argument
1849 …if (in4_pton(str, len, (u8 *)&((struct sockaddr_in *)&addr->in_addr)->sin_addr.s_addr, delim, ipen… in ceph_pton()
1854 …if (in6_pton(str, len, (u8 *)&((struct sockaddr_in6 *)&addr->in_addr)->sin6_addr.s6_addr, delim, i… in ceph_pton()
1867 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1877 delim_p = memchr(name, delim, namelen); in ceph_dns_resolve_name()
1912 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_dns_resolve_name() argument
1923 struct ceph_entity_addr *addr, char delim, const char **ipend) in ceph_parse_server_name() argument
1927 ret = ceph_pton(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1929 ret = ceph_dns_resolve_name(name, namelen, addr, delim, ipend); in ceph_parse_server_name()
1949 char delim = ','; in ceph_parse_ips() local
[all …]
/Linux-v5.4/drivers/net/bonding/
Dbond_options.c1314 char *delim; in bond_option_queue_id_set() local
1319 delim = strchr(newval->string, ':'); in bond_option_queue_id_set()
1320 if (!delim) in bond_option_queue_id_set()
1326 *delim = '\0'; in bond_option_queue_id_set()
1327 if (sscanf(++delim, "%hd\n", &qid) != 1) in bond_option_queue_id_set()
/Linux-v5.4/include/linux/netfilter/
Dnf_conntrack_sip.h186 bool delim);
/Linux-v5.4/arch/s390/kernel/
Dtopology.c387 char delim; in dispatching_store() local
389 if (sscanf(buf, "%d %c", &val, &delim) != 1) in dispatching_store()

12