Home
last modified time | relevance | path

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

/linux-4.1.27/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 …]
/linux-4.1.27/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.1.27/net/irda/ircomm/
Dircomm_tty.c1189 char sep; in ircomm_tty_line_info() local
1207 sep = ' '; in ircomm_tty_line_info()
1209 seq_printf(m, "%cRTS", sep); in ircomm_tty_line_info()
1210 sep = '|'; in ircomm_tty_line_info()
1213 seq_printf(m, "%cDTR", sep); in ircomm_tty_line_info()
1214 sep = '|'; in ircomm_tty_line_info()
1219 sep = ' '; in ircomm_tty_line_info()
1221 seq_printf(m, "%cCTS", sep); in ircomm_tty_line_info()
1222 sep = '|'; in ircomm_tty_line_info()
1225 seq_printf(m, "%cDSR", sep); in ircomm_tty_line_info()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/target/
Dtarget_core_stat.c546 struct se_port *sep; in target_stat_scsi_port_show_attr_inst() local
552 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_inst()
553 if (!sep) { in target_stat_scsi_port_show_attr_inst()
568 struct se_port *sep; in target_stat_scsi_port_show_attr_dev() local
573 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_dev()
574 if (!sep) { in target_stat_scsi_port_show_attr_dev()
588 struct se_port *sep; in target_stat_scsi_port_show_attr_indx() local
592 sep = lun->lun_sep; in target_stat_scsi_port_show_attr_indx()
593 if (!sep) { in target_stat_scsi_port_show_attr_indx()
597 ret = snprintf(page, PAGE_SIZE, "%u\n", sep->sep_index); in target_stat_scsi_port_show_attr_indx()
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.c204 char *sep; in addr2line() local
221 sep = strchr(filename, '\n'); in addr2line()
222 if (sep) in addr2line()
223 *sep = '\0'; in addr2line()
231 sep = strchr(filename, ':'); in addr2line()
232 if (sep) { in addr2line()
233 *sep++ = '\0'; in addr2line()
235 *line_nr = strtoul(sep, NULL, 0); in addr2line()
Dstrlist.c121 char *sep; in strlist__parse_list() local
124 while ((sep = strchr(s, ',')) != NULL) { in strlist__parse_list()
125 *sep = '\0'; in strlist__parse_list()
127 *sep = ','; in strlist__parse_list()
130 s = sep + 1; in strlist__parse_list()
Dcpumap.c50 char sep; in cpu_map__read() local
52 sep = 0; in cpu_map__read()
55 n = fscanf(file, "%u%c", &cpu, &sep); in cpu_map__read()
81 if (n == 2 && sep == '-') in cpu_map__read()
85 if (n == 1 || sep == '\n') in cpu_map__read()
Dsymbol.c509 char *sep; in modules__parse() local
527 sep = strrchr(line, 'x'); in modules__parse()
528 if (sep == NULL) in modules__parse()
531 hex2u64(sep + 1, &start); in modules__parse()
533 sep = strchr(line, ' '); in modules__parse()
534 if (sep == NULL) in modules__parse()
537 *sep = '\0'; in modules__parse()
Dsort.c35 char *sep = bf; in repsep_snprintf() local
38 sep = strchr(sep, *symbol_conf.field_sep); in repsep_snprintf()
39 if (sep == NULL) in repsep_snprintf()
41 *sep = '.'; in repsep_snprintf()
Dhist.h184 const char *sep; member
/linux-4.1.27/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.c598 char sep; in cifs_get_root() local
607 sep = CIFS_DIR_SEP(cifs_sb); in cifs_get_root()
627 while (*s == sep) in cifs_get_root()
633 while (*s && *s != sep) in cifs_get_root()
/linux-4.1.27/tools/perf/
Dbuiltin-list.c64 char *sep = strchr(argv[i], ':'), *s; in cmd_list() local
67 if (sep == NULL) { in cmd_list()
71 sep_idx = sep - argv[i]; in cmd_list()
/linux-4.1.27/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.1.27/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.1.27/drivers/gpu/drm/i915/
Di915_drv.h669 #define DEV_INFO_FOR_EACH_FLAG(func, sep) \ argument
670 func(is_mobile) sep \
671 func(is_i85x) sep \
672 func(is_i915g) sep \
673 func(is_i945gm) sep \
674 func(is_g33) sep \
675 func(need_gfx_hws) sep \
676 func(is_g4x) sep \
677 func(is_pineview) sep \
678 func(is_broadwater) sep \
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dnidstrings.c489 const char *sep = strchr(str, '@'); in libcfs_str2nid() local
494 if (sep != NULL) { in libcfs_str2nid()
495 nf = libcfs_str2net_internal(sep + 1, &net); in libcfs_str2nid()
499 sep = str + strlen(str); in libcfs_str2nid()
505 if (!nf->nf_str2addr(str, (int)(sep - str), &addr)) in libcfs_str2nid()
/linux-4.1.27/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.1.27/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.1.27/arch/ia64/kernel/
Dsetup.c652 char features[128], *cp, *sep; in show_cpuinfo() local
664 sep = ""; in show_cpuinfo()
667 cp += snprintf(cp, size, "%s%s", sep, in show_cpuinfo()
669 sep = ", "; in show_cpuinfo()
676 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.1.27/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.1.27/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.1.27/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.c1922 static __be32 nfsd4_encode_components_esc(struct xdr_stream *xdr, char sep, in nfsd4_encode_components_esc() argument
1949 if (*end && (!*next || *next == sep)) { in nfsd4_encode_components_esc()
1956 for (; *end && (*end != sep); end++) in nfsd4_encode_components_esc()
1982 static __be32 nfsd4_encode_components(struct xdr_stream *xdr, char sep, in nfsd4_encode_components() argument
1985 return nfsd4_encode_components_esc(xdr, sep, components, 0, 0); in nfsd4_encode_components()
/linux-4.1.27/security/smack/
Dsmackfs.c814 char sep = '/'; in cipso_seq_show() local
832 seq_printf(s, "%c%d", sep, i); in cipso_seq_show()
833 sep = ','; in cipso_seq_show()
1003 char sep = '/'; in cipso2_seq_show() local
1010 seq_printf(s, "%c%d", sep, i); in cipso2_seq_show()
1011 sep = ','; in cipso2_seq_show()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c108 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep) in obd_connect_flags2str() argument
116 ret ? sep : "", obd_connect_names[i]); in obd_connect_flags2str()
121 ret ? sep : "", flags & ~(mask - 1)); in obd_connect_flags2str()
670 static void obd_connect_seq_flags2str(struct seq_file *m, __u64 flags, char *sep) in obd_connect_seq_flags2str() argument
679 first ? sep : "", obd_connect_names[i]); in obd_connect_seq_flags2str()
685 first ? sep : "", flags & ~(mask - 1)); in obd_connect_seq_flags2str()
/linux-4.1.27/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.1.27/drivers/md/
Dmd.c2443 char *sep = ""; in state_show() local
2449 len+= sprintf(page+len, "%sfaulty",sep); in state_show()
2450 sep = ","; in state_show()
2453 len += sprintf(page+len, "%sin_sync",sep); in state_show()
2454 sep = ","; in state_show()
2457 len += sprintf(page+len, "%swrite_mostly",sep); in state_show()
2458 sep = ","; in state_show()
2463 len += sprintf(page+len, "%sblocked", sep); in state_show()
2464 sep = ","; in state_show()
2468 len += sprintf(page+len, "%sspare", sep); in state_show()
[all …]
/linux-4.1.27/kernel/trace/
Dtrace_events_filter.c2093 char *str, *sep, **re; in ftrace_function_filter_re() local
2103 while ((sep = strchr(str, ','))) in ftrace_function_filter_re()
2104 *sep = ' '; in ftrace_function_filter_re()
/linux-4.1.27/scripts/mod/
Dfile2alias.c112 #define ADD(str, sep, cond, field) \ argument
114 strcat(str, sep); \
/linux-4.1.27/scripts/
Dcheckpatch.pl2881 my $sep = '';
2888 $err .= "$sep$ctx\n";
2889 $sep = '';
2891 $sep = "[...]\n";
/linux-4.1.27/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.1.27/fs/ext4/
Dsuper.c1795 char sep = nodefs ? '\n' : ','; in _ext4_show_options() local
1797 #define SEQ_OPTS_PUTS(str) seq_printf(seq, "%c" str, sep) in _ext4_show_options()
1798 #define SEQ_OPTS_PRINT(str, arg) seq_printf(seq, "%c" str, sep, arg) in _ext4_show_options()
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/include/
Dobd_class.h104 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep);