/kernel/linux/linux-6.6/lib/ |
H A D | test_scanf.c | 401 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, "l in numbers_list_l() 421 numbers_list_d(const char *delim) numbers_list_d() argument 431 numbers_list_h(const char *delim) numbers_list_h() argument 441 numbers_list_hh(const char *delim) numbers_list_hh() argument 451 numbers_list(const char *delim) numbers_list() argument 460 numbers_list_field_width_ll(const char *delim) numbers_list_field_width_ll() argument 470 numbers_list_field_width_l(const char *delim) numbers_list_field_width_l() argument 489 numbers_list_field_width_d(const char *delim) numbers_list_field_width_d() argument 499 numbers_list_field_width_h(const char *delim) numbers_list_field_width_h() argument 509 numbers_list_field_width_hh(const char *delim) numbers_list_field_width_hh() argument 523 numbers_list_field_width_typemax(const char *delim) numbers_list_field_width_typemax() argument 532 numbers_list_field_width_val_ll(const char *delim) numbers_list_field_width_val_ll() argument 542 numbers_list_field_width_val_l(const char *delim) numbers_list_field_width_val_l() argument 552 numbers_list_field_width_val_d(const char *delim) numbers_list_field_width_val_d() argument 562 numbers_list_field_width_val_h(const char *delim) numbers_list_field_width_val_h() argument 572 numbers_list_field_width_val_hh(const char *delim) numbers_list_field_width_val_hh() argument 586 numbers_list_field_width_val_width(const char *delim) numbers_list_field_width_val_width() argument [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | unc.c | 21 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()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 199 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() 277 char delim; try_epsv_response() local [all...] |
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_ftp.c | 195 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() 273 char delim; try_epsv_response() local [all...] |
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | cache.c | 59 char *delim, *dst; in extract_sharename() local 66 delim = strchr(src, '\\'); in extract_sharename() 67 if (!delim) in extract_sharename() 69 delim++; in extract_sharename() 70 len = strlen(delim); in extract_sharename() 73 dst = kstrndup(delim, len, GFP_KERNEL); in extract_sharename()
|
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 829 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() 1105 char *delim = "\\t"; format_counters() local [all...] |
/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 739 void print_header(char *delim) in print_header() argument 745 outp += sprintf(outp, "%susec", (printed++ ? delim : "")); in print_header() 747 outp += sprintf(outp, "%sTime_Of_Day_Seconds", (printed++ ? delim : "")); in print_header() 749 outp += sprintf(outp, "%sPackage", (printed++ ? delim : "")); in print_header() 751 outp += sprintf(outp, "%sDie", (printed++ ? delim : "")); in print_header() 753 outp += sprintf(outp, "%sNode", (printed++ ? delim : "")); in print_header() 755 outp += sprintf(outp, "%sCore", (printed++ ? delim : "")); in print_header() 757 outp += sprintf(outp, "%sCPU", (printed++ ? delim : "")); in print_header() 759 outp += sprintf(outp, "%sAPIC", (printed++ ? delim : "")); in print_header() 761 outp += sprintf(outp, "%sX2APIC", (printed++ ? delim in print_header() 1010 char *delim = "\\t"; format_counters() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_modes.c | 1543 static int drm_mode_parse_cmdline_int(const char *delim, unsigned int *int_ret) in drm_mode_parse_cmdline_int() argument 1549 * delim must point to the '=', otherwise it is a syntax error and in drm_mode_parse_cmdline_int() 1550 * if delim points to the terminating zero, then delim + 1 wil point in drm_mode_parse_cmdline_int() 1553 if (*delim != '=') in drm_mode_parse_cmdline_int() 1556 value = delim + 1; in drm_mode_parse_cmdline_int() 1566 static int drm_mode_parse_panel_orientation(const char *delim, in drm_mode_parse_panel_orientation() argument 1571 if (*delim != '=') in drm_mode_parse_panel_orientation() 1574 value = delim + 1; in drm_mode_parse_panel_orientation() 1575 delim in drm_mode_parse_panel_orientation() 1599 const char *delim, *option, *sep; drm_mode_parse_cmdline_options() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 165 const char delim[] = "\n"; in cg_read_lc() local 172 for (line = strtok(buf, delim); line; line = strtok(NULL, delim)) in cg_read_lc() 195 const char delim[] = "\n\t "; in cg_find_unified_root() local 204 for (fs = strtok(buf, delim); fs; fs = strtok(NULL, delim)) { in cg_find_unified_root() 205 mount = strtok(NULL, delim); in cg_find_unified_root() 206 type = strtok(NULL, delim); in cg_find_unified_root() 207 strtok(NULL, delim); in cg_find_unified_root() 208 strtok(NULL, delim); in cg_find_unified_root() 498 const char delim[] = "\\n"; is_swap_enabled() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/cgroup/ |
H A D | cgroup_util.c | 162 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() 511 const char delim[] = "\\n"; is_swap_enabled() local [all...] |
/kernel/linux/linux-6.6/include/trace/stages/ |
H A D | stage3_trace_output.h | 67 #define __print_flags(flag, delim, flag_array...) \ 71 trace_print_flags_seq(p, delim, flag, __flags); \ 85 #define __print_flags_u64(flag, delim, flag_array...) \ 89 trace_print_flags_seq_u64(p, delim, flag, __flags); \ 99 #define __print_flags_u64(flag, delim, flag_array...) \ 100 __print_flags(flag, delim, flag_array)
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_modes.c | 2089 static int drm_mode_parse_cmdline_int(const char *delim, unsigned int *int_ret) in drm_mode_parse_cmdline_int() argument 2095 * delim must point to the '=', otherwise it is a syntax error and in drm_mode_parse_cmdline_int() 2096 * if delim points to the terminating zero, then delim + 1 will point in drm_mode_parse_cmdline_int() 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 in drm_mode_parse_panel_orientation() 2139 drm_mode_parse_tv_mode(const char *delim, struct drm_cmdline_mode *mode) drm_mode_parse_tv_mode() argument 2169 const char *delim, *option, *sep; drm_mode_parse_cmdline_options() local [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | addr.c | 162 const size_t buflen, const char *delim, in rpc_parse_scope_id() 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() 161 rpc_parse_scope_id(struct net *net, const char *buf, const size_t buflen, const char *delim, struct sockaddr_in6 *sin6) rpc_parse_scope_id() argument
|
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | addr.c | 162 const size_t buflen, const char *delim, in rpc_parse_scope_id() 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() 161 rpc_parse_scope_id(struct net *net, const char *buf, const size_t buflen, const char *delim, struct sockaddr_in6 *sin6) rpc_parse_scope_id() argument
|
/kernel/linux/linux-5.10/net/core/ |
H A D | netpoll.c | 542 char *cur=opt, *delim; in netpoll_parse_options() local 547 if ((delim = strchr(cur, '@')) == NULL) in netpoll_parse_options() 549 *delim = 0; in netpoll_parse_options() 552 cur = delim; in netpoll_parse_options() 558 if ((delim = strchr(cur, '/')) == NULL) in netpoll_parse_options() 560 *delim = 0; in netpoll_parse_options() 566 cur = delim; in netpoll_parse_options() 572 if ((delim = strchr(cur, ',')) == NULL) in netpoll_parse_options() 574 *delim = 0; in netpoll_parse_options() 576 cur = delim; in netpoll_parse_options() [all...] |
H A D | utils.c | 86 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() 111 * @delim: the delimiter of the IPv4 address in @src, -1 means no delimiter 120 int delim, const char **end) in in4_pton() 136 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton() 177 * @delim: the delimiter of the IPv6 address in @src, -1 means no delimiter 186 int delim, const char **end) in in6_pton() 206 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton() 249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, in in6_pton() 118 in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end) in4_pton() argument 184 in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end) in6_pton() argument [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | netpoll.c | 543 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...] |
H A D | utils.c | 86 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() 111 * @delim: the delimiter of the IPv4 address in @src, -1 means no delimiter 120 int delim, const char **end) in in4_pton() 136 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in4_pton() 177 * @delim: the delimiter of the IPv6 address in @src, -1 means no delimiter 186 int delim, const char **end) in in6_pton() 206 c = xdigit2bin(srclen > 0 ? *s : '\0', delim); in in6_pton() 249 ret = in4_pton(tok ? tok : s, srclen + (int)(s - tok), d, delim, in in6_pton() 118 in4_pton(const char *src, int srclen, u8 *dst, int delim, const char **end) in4_pton() argument 184 in6_pton(const char *src, int srclen, u8 *dst, int delim, const char **end) in6_pton() argument [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | addr_list.c | 65 char delim, in afs_parse_text_addrs() 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() 63 afs_parse_text_addrs(struct afs_net *net, const char *text, size_t len, char delim, unsigned short service, unsigned short port) afs_parse_text_addrs() argument
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | addr_list.c | 65 char delim, in afs_parse_text_addrs() 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() 63 afs_parse_text_addrs(struct afs_net *net, const char *text, size_t len, char delim, unsigned short service, unsigned short port) afs_parse_text_addrs() argument
|
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | cmdlinepart.c | 94 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()
|
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | cmdlinepart.c | 94 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | inet.h | 53 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);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | inet.h | 53 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);
|
/kernel/linux/linux-5.10/arch/s390/boot/ |
H A D | ipl_parm.c | 121 char *parm, *delim; in append_ipl_block_parm() local 126 delim = early_command_line + len; /* '\0' character position */ in append_ipl_block_parm() 144 *delim = ' '; /* replace '\0' with space */ in append_ipl_block_parm()
|