Home
last modified time | relevance | path

Searched refs:sep (Results 1 – 46 of 46) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dconfig.c421 char *sep; in lnet_str2tbs_sep() local
435 for (sep = str; *sep != 0; sep++) in lnet_str2tbs_sep()
436 if (lnet_issep(*sep) || *sep == '#') in lnet_str2tbs_sep()
439 nob = (int)(sep - str); in lnet_str2tbs_sep()
458 if (*sep == '#') { in lnet_str2tbs_sep()
461 sep++; in lnet_str2tbs_sep()
462 } while (*sep != 0 && !lnet_issep(*sep)); in lnet_str2tbs_sep()
465 if (*sep == 0) in lnet_str2tbs_sep()
468 str = sep + 1; in lnet_str2tbs_sep()
505 char *sep; in lnet_str2tbs_expand() local
[all …]
Dnidstrings.c1208 const char *sep = strchr(str, '@'); in libcfs_str2nid() local
1213 if (sep != NULL) { in libcfs_str2nid()
1214 nf = libcfs_str2net_internal(sep + 1, &net); in libcfs_str2nid()
1218 sep = str + strlen(str); in libcfs_str2nid()
1224 if (!nf->nf_str2addr(str, (int)(sep - str), &addr)) in libcfs_str2nid()
/linux-4.4.14/drivers/parport/
Dprobe.c65 char *sep; in parse_data() local
68 sep = strchr(p, ':'); in parse_data()
69 if (sep) { in parse_data()
71 *(sep++) = 0; in parse_data()
73 u = sep + strlen (sep) - 1; in parse_data()
83 info->mfr = kstrdup(sep, GFP_KERNEL); in parse_data()
86 info->model = kstrdup(sep, GFP_KERNEL); in parse_data()
91 info->class_name = kstrdup(sep, GFP_KERNEL); in parse_data()
92 for (u = sep; *u; u++) in parse_data()
95 if (!strcmp(classes[i].token, sep)) { in parse_data()
[all …]
Dparport_ip32.c415 #define sep (f++ ? ',' : ' ') in parport_ip32_dump_state() macro
421 printk("%cBusy", sep); in parport_ip32_dump_state()
423 printk("%cnAck", sep); in parport_ip32_dump_state()
425 printk("%cPError", sep); in parport_ip32_dump_state()
427 printk("%cSelect", sep); in parport_ip32_dump_state()
429 printk("%cnFault", sep); in parport_ip32_dump_state()
431 printk("%c(Print)", sep); in parport_ip32_dump_state()
433 printk("%cTimeout", sep); in parport_ip32_dump_state()
436 #undef sep in parport_ip32_dump_state()
Dparport_pc.c3237 char *sep; in parport_setup() local
3267 sep = strchr(str, ','); in parport_setup()
3268 if (sep++) { in parport_setup()
3269 if (parport_parse_irq(sep, &val)) in parport_setup()
3272 sep = strchr(sep, ','); in parport_setup()
3273 if (sep++) { in parport_setup()
3274 if (parport_parse_dma(sep, &val)) in parport_setup()
/linux-4.4.14/net/irda/ircomm/
Dircomm_tty.c1160 char sep; in ircomm_tty_line_info() local
1178 sep = ' '; in ircomm_tty_line_info()
1180 seq_printf(m, "%cRTS", sep); in ircomm_tty_line_info()
1181 sep = '|'; in ircomm_tty_line_info()
1184 seq_printf(m, "%cDTR", sep); in ircomm_tty_line_info()
1185 sep = '|'; in ircomm_tty_line_info()
1190 sep = ' '; in ircomm_tty_line_info()
1192 seq_printf(m, "%cCTS", sep); in ircomm_tty_line_info()
1193 sep = '|'; in ircomm_tty_line_info()
1196 seq_printf(m, "%cDSR", sep); in ircomm_tty_line_info()
[all …]
/linux-4.4.14/tools/perf/ui/tui/
Dutil.c82 const char *sep = strchr(t, '\n'); in ui_browser__input_window() local
84 if (sep == NULL) in ui_browser__input_window()
85 sep = strchr(t, '\0'); in ui_browser__input_window()
86 len = sep - t; in ui_browser__input_window()
90 if (*sep == '\0') in ui_browser__input_window()
92 t = sep + 1; in ui_browser__input_window()
173 const char *sep = strchr(t, '\n'); in ui__question_window() local
176 if (sep == NULL) in ui__question_window()
177 sep = strchr(t, '\0'); in ui__question_window()
178 len = sep - t; in ui__question_window()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dnmi_debug.c49 char *p, *sep; in nmi_debug_setup() local
56 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup()
57 sep = strchr(p, ','); in nmi_debug_setup()
58 if (sep) in nmi_debug_setup()
59 *sep = 0; in nmi_debug_setup()
71 if (!sep) in nmi_debug_setup()
/linux-4.4.14/arch/avr32/kernel/
Dnmi_debug.c50 char *p, *sep; in nmi_debug_setup() local
61 for (p = str + 1; *p; p = sep + 1) { in nmi_debug_setup()
62 sep = strchr(p, ','); in nmi_debug_setup()
63 if (sep) in nmi_debug_setup()
64 *sep = 0; in nmi_debug_setup()
76 if (!sep) in nmi_debug_setup()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_debugfs.c33 bool is_set, char *sep, const char *set_name, const char *unset_name) in __seq_print_rq_state_bit() argument
36 seq_putc(m, *sep); in __seq_print_rq_state_bit()
38 *sep = '|'; in __seq_print_rq_state_bit()
40 seq_putc(m, *sep); in __seq_print_rq_state_bit()
42 *sep = '|'; in __seq_print_rq_state_bit()
47 bool is_set, char *sep, const char *set_name) in seq_print_rq_state_bit() argument
49 __seq_print_rq_state_bit(m, is_set, sep, set_name, NULL); in seq_print_rq_state_bit()
56 char sep = ' '; in seq_print_request_state() local
62 seq_print_rq_state_bit(m, s & RQ_IN_ACT_LOG, &sep, "in-AL"); in seq_print_request_state()
63 seq_print_rq_state_bit(m, s & RQ_POSTPONED, &sep, "postponed"); in seq_print_request_state()
[all …]
/linux-4.4.14/scripts/dtc/
Dfdtput.c167 const char *sep; in create_paths() local
174 for (sep = path; *sep; path = sep + 1, offset = node) { in create_paths()
176 sep = strchr(path, '/'); in create_paths()
177 if (!sep) in create_paths()
178 sep = path + strlen(path); in create_paths()
181 sep - path); in create_paths()
184 sep - path); in create_paths()
187 report_error(path, sep - path, node); in create_paths()
/linux-4.4.14/tools/perf/util/
Dintlist.c93 char *sep; in intlist__parse_list() local
97 long value = strtol(s, &sep, 10); in intlist__parse_list()
99 if (*sep != ',' && *sep != '\0') in intlist__parse_list()
104 s = sep + 1; in intlist__parse_list()
105 } while (*sep != '\0'); in intlist__parse_list()
Dsrcline.c219 char *sep; in addr2line() local
236 sep = strchr(filename, '\n'); in addr2line()
237 if (sep) in addr2line()
238 *sep = '\0'; in addr2line()
246 sep = strchr(filename, ':'); in addr2line()
247 if (sep) { in addr2line()
248 *sep++ = '\0'; in addr2line()
250 *line_nr = strtoul(sep, NULL, 0); in addr2line()
Dstrlist.c139 char *sep; in strlist__parse_list() local
142 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list()
143 *sep = '\0'; in strlist__parse_list()
145 *sep = ','; in strlist__parse_list()
148 s = sep + 1; in strlist__parse_list()
Dcpumap.c53 char sep; in cpu_map__read() local
55 sep = 0; in cpu_map__read()
58 n = fscanf(file, "%u%c", &cpu, &sep); in cpu_map__read()
84 if (n == 2 && sep == '-') in cpu_map__read()
88 if (n == 1 || sep == '\n') in cpu_map__read()
Dsymbol.c530 char *sep; in modules__parse() local
548 sep = strrchr(line, 'x'); in modules__parse()
549 if (sep == NULL) in modules__parse()
552 hex2u64(sep + 1, &start); in modules__parse()
554 sep = strchr(line, ' '); in modules__parse()
555 if (sep == NULL) in modules__parse()
558 *sep = '\0'; in modules__parse()
Dsort.c36 char *sep = bf; in repsep_snprintf() local
39 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
40 if (sep == NULL) in repsep_snprintf()
42 *sep = '.'; in repsep_snprintf()
Dhist.h191 const char *sep; member
/linux-4.4.14/fs/cifs/
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()
Dcifs_dfs_ref.c148 char sep = ','; in cifs_compose_mount_options() local
187 sep = sb_mountdata[4]; in cifs_compose_mount_options()
193 tkn_e = strchr(sb_mountdata + off, sep); in cifs_compose_mount_options()
218 if (mountdata[strlen(mountdata) - 1] != sep) in cifs_compose_mount_options()
219 strncat(mountdata, &sep, 1); in cifs_compose_mount_options()
Dcifsfs.c605 char sep; in cifs_get_root() local
614 sep = CIFS_DIR_SEP(cifs_sb); in cifs_get_root()
634 while (*s == sep) in cifs_get_root()
640 while (*s && *s != sep) in cifs_get_root()
/linux-4.4.14/tools/perf/
Dbuiltin-list.c48 char *sep, *s; in cmd_list() local
65 else if ((sep = strchr(argv[i], ':')) != NULL) { in cmd_list()
68 if (sep == NULL) { in cmd_list()
72 sep_idx = sep - argv[i]; in cmd_list()
/linux-4.4.14/tools/perf/ui/stdio/
Dhist.c316 const char *sep = symbol_conf.field_sep; in hist_entry__snprintf() local
333 if (!sep || !first) { in hist_entry__snprintf()
334 ret = scnprintf(hpp->buf, hpp->size, "%s", sep ?: " "); in hist_entry__snprintf()
380 const char *sep = symbol_conf.field_sep; in hists__fprintf() local
409 fprintf(fp, "%s", sep ?: " "); in hists__fprintf()
421 if (sep) in hists__fprintf()
435 fprintf(fp, "%s", sep ?: " "); in hists__fprintf()
/linux-4.4.14/arch/frv/kernel/
Dsetup.c1022 const char *sep; in show_cpuinfo() local
1057 sep = "\t"; in show_cpuinfo()
1060 seq_printf(m, "%scmode=0x%04hx", sep, clock_cmodes_permitted); in show_cpuinfo()
1061 sep = ", "; in show_cpuinfo()
1065 seq_printf(m, "%scm=0x%lx", sep, clock_bits_settable & CLOCK_BIT_CM); in show_cpuinfo()
1066 sep = ", "; in show_cpuinfo()
1070 seq_printf(m, "%sp0=0x3", sep); in show_cpuinfo()
1071 sep = ", "; in show_cpuinfo()
1074 seq_printf(m, "%ssuspend=0x22\n", sep); in show_cpuinfo()
/linux-4.4.14/drivers/nvdimm/
Dcore.c114 static bool is_uuid_sep(char sep) in is_uuid_sep() argument
116 if (sep == '\n' || sep == '-' || sep == ':' || sep == '\0') in is_uuid_sep()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_drv.h759 #define DEV_INFO_FOR_EACH_FLAG(func, sep) \ argument
760 func(is_mobile) sep \
761 func(is_i85x) sep \
762 func(is_i915g) sep \
763 func(is_i945gm) sep \
764 func(is_g33) sep \
765 func(need_gfx_hws) sep \
766 func(is_g4x) sep \
767 func(is_pineview) sep \
768 func(is_broadwater) sep \
[all …]
/linux-4.4.14/tools/power/cpupower/utils/helpers/
Dbitmask.c104 static const char *nexttoken(const char *q, int sep) in nexttoken() argument
107 q = strchr(q, sep); in nexttoken()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-sysfs.c4 static int get_next_ulong(char **str_p, unsigned long *val, char *sep, int base) in get_next_ulong() argument
12 p_val = strsep(str_p, sep); in get_next_ulong()
/linux-4.4.14/arch/ia64/kernel/
Dsetup.c640 char features[128], *cp, *sep; in show_cpuinfo() local
652 sep = ""; in show_cpuinfo()
655 cp += snprintf(cp, size, "%s%s", sep, in show_cpuinfo()
657 sep = ", "; in show_cpuinfo()
664 snprintf(cp, size, "%s0x%lx", sep, mask); in show_cpuinfo()
Dpalinfo.c297 const char *sep; in vm_info() local
329 sep = ""; in vm_info()
332 seq_printf(m, "%s%s", sep, mem_attrib[i]); in vm_info()
333 sep = ", "; in vm_info()
/linux-4.4.14/lib/
Ddynamic_debug.c871 char *sep; in ddebug_dyndbg_param_cb() local
873 sep = strchr(param, '.'); in ddebug_dyndbg_param_cb()
874 if (sep) { in ddebug_dyndbg_param_cb()
876 *sep = '\0'; in ddebug_dyndbg_param_cb()
878 param = sep + 1; in ddebug_dyndbg_param_cb()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_ftp.c122 int array_size, char sep, char term) in try_number() argument
133 else if (*data == sep) in try_number()
148 array_size, sep); in try_number()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c107 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep) in obd_connect_flags2str() argument
115 ret ? sep : "", obd_connect_names[i]); in obd_connect_flags2str()
120 ret ? sep : "", flags & ~(mask - 1)); in obd_connect_flags2str()
601 static void obd_connect_seq_flags2str(struct seq_file *m, __u64 flags, char *sep) in obd_connect_seq_flags2str() argument
610 first ? sep : "", obd_connect_names[i]); in obd_connect_seq_flags2str()
616 first ? sep : "", flags & ~(mask - 1)); in obd_connect_seq_flags2str()
/linux-4.4.14/fs/nfsd/
Dnfsctl.c549 char *sep; in __write_versions() local
603 sep = ""; in __write_versions()
607 len = snprintf(buf, remaining, "%s%c%d", sep, in __write_versions()
610 sep = " "; in __write_versions()
Dnfs4xdr.c1923 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc() argument
1950 if (*end && (!*next || *next == sep)) { in nfsd4_encode_components_esc()
1957 for (; *end && (*end != sep); end++) in nfsd4_encode_components_esc()
1983 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components() argument
1986 return nfsd4_encode_components_esc(xdr, sep, components, 0, 0); in nfsd4_encode_components()
/linux-4.4.14/fs/btrfs/
Dsuper.c1245 char *buf, *dst, *sep; in setup_root_args() local
1256 sep = strchrnul(args, ','); in setup_root_args()
1259 memcpy(dst, args, sep - args); in setup_root_args()
1260 dst += sep - args; in setup_root_args()
1263 if (*sep) in setup_root_args()
1264 args = sep + 1; in setup_root_args()
/linux-4.4.14/security/smack/
Dsmackfs.c801 char sep = '/'; in cipso_seq_show() local
819 seq_printf(s, "%c%d", sep, i); in cipso_seq_show()
820 sep = ','; in cipso_seq_show()
992 char sep = '/'; in cipso2_seq_show() local
999 seq_printf(s, "%c%d", sep, i); in cipso2_seq_show()
1000 sep = ','; in cipso2_seq_show()
/linux-4.4.14/arch/powerpc/kernel/
Dprocess.c990 const char *sep = ""; in printbits() local
995 printk("%s%s", sep, bits->name); in printbits()
996 sep = ","; in printbits()
/linux-4.4.14/drivers/md/
Dmd.c2524 char *sep = ""; in state_show() local
2530 len+= sprintf(page+len, "%sfaulty",sep); in state_show()
2531 sep = ","; in state_show()
2534 len += sprintf(page+len, "%sin_sync",sep); in state_show()
2535 sep = ","; in state_show()
2538 len += sprintf(page+len, "%sjournal",sep); in state_show()
2539 sep = ","; in state_show()
2542 len += sprintf(page+len, "%swrite_mostly",sep); in state_show()
2543 sep = ","; in state_show()
2548 len += sprintf(page+len, "%sblocked", sep); in state_show()
[all …]
/linux-4.4.14/scripts/mod/
Dfile2alias.c115 #define ADD(str, sep, cond, field) \ argument
117 strcat(str, sep); \
/linux-4.4.14/scripts/
Dcheckpatch.pl3039 my $sep = '';
3046 $err .= "$sep$ctx\n";
3047 $sep = '';
3049 $sep = "[...]\n";
/linux-4.4.14/drivers/scsi/
Dqla1280.c4186 char *sep; in qla1280_get_token() local
4190 sep = strchr(str, ':'); in qla1280_get_token()
4192 if (sep) { in qla1280_get_token()
4194 if (!strncmp(setup_token[i].token, str, (sep - str))) { in qla1280_get_token()
/linux-4.4.14/fs/ext4/
Dsuper.c1821 char sep = nodefs ? '\n' : ','; in _ext4_show_options() local
1823 #define SEQ_OPTS_PUTS(str) seq_printf(seq, "%c" str, sep) in _ext4_show_options()
1824 #define SEQ_OPTS_PRINT(str, arg) seq_printf(seq, "%c" str, sep, arg) in _ext4_show_options()
/linux-4.4.14/Documentation/filesystems/cifs/
DREADME354 sep if first mount option (after the -o), overrides
359 -o sep=.user=myname.password=mypassword.domain=mydom
DCHANGES628 (read oplock) not allowed. Treat "sep=" when first mount option
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_class.h94 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep);