Home
last modified time | relevance | path

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

/drivers/staging/lustre/lnet/lnet/
Dconfig.c460 char *sep; in lnet_str2tbs_sep() local
474 for (sep = str; *sep; sep++) in lnet_str2tbs_sep()
475 if (lnet_issep(*sep) || *sep == '#') in lnet_str2tbs_sep()
478 nob = (int)(sep - str); in lnet_str2tbs_sep()
497 if (*sep == '#') { in lnet_str2tbs_sep()
500 sep++; in lnet_str2tbs_sep()
501 } while (*sep && !lnet_issep(*sep)); in lnet_str2tbs_sep()
504 if (!*sep) in lnet_str2tbs_sep()
507 str = sep + 1; in lnet_str2tbs_sep()
544 char *sep; in lnet_str2tbs_expand() local
[all …]
Dnidstrings.c1207 const char *sep = strchr(str, '@'); in libcfs_str2nid() local
1212 if (sep) { in libcfs_str2nid()
1213 nf = libcfs_str2net_internal(sep + 1, &net); in libcfs_str2nid()
1217 sep = str + strlen(str); in libcfs_str2nid()
1223 if (!nf->nf_str2addr(str, (int)(sep - str), &addr)) in libcfs_str2nid()
/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.c3241 char *sep; in parport_setup() local
3271 sep = strchr(str, ','); in parport_setup()
3272 if (sep++) { in parport_setup()
3273 if (parport_parse_irq(sep, &val)) in parport_setup()
3276 sep = strchr(sep, ','); in parport_setup()
3277 if (sep++) { in parport_setup()
3278 if (parport_parse_dma(sep, &val)) in parport_setup()
/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 …]
/drivers/gpu/drm/i915/
Di915_drv.h636 #define DEV_INFO_FOR_EACH_FLAG(func, sep) \ argument
637 func(is_mobile) sep \
638 func(is_i85x) sep \
639 func(is_i915g) sep \
640 func(is_i945gm) sep \
641 func(is_g33) sep \
642 func(hws_needs_physical) sep \
643 func(is_g4x) sep \
644 func(is_pineview) sep \
645 func(is_broadwater) sep \
[all …]
/drivers/nvdimm/
Dcore.c217 static bool is_uuid_sep(char sep) in is_uuid_sep() argument
219 if (sep == '\n' || sep == '-' || sep == ':' || sep == '\0') in is_uuid_sep()
/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()
/drivers/staging/lustre/lustre/obdclass/
Dlprocfs_status.c109 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep) in obd_connect_flags2str() argument
117 ret ? sep : "", obd_connect_names[i]); in obd_connect_flags2str()
122 ret ? sep : "", flags & ~(mask - 1)); in obd_connect_flags2str()
652 static void obd_connect_seq_flags2str(struct seq_file *m, __u64 flags, char *sep) in obd_connect_seq_flags2str() argument
661 first ? sep : "", obd_connect_names[i]); in obd_connect_seq_flags2str()
667 first ? sep : "", flags & ~(mask - 1)); in obd_connect_seq_flags2str()
/drivers/md/
Dmd.c2526 char *sep = ""; in state_show() local
2532 len+= sprintf(page+len, "%sfaulty",sep); in state_show()
2533 sep = ","; in state_show()
2536 len += sprintf(page+len, "%sin_sync",sep); in state_show()
2537 sep = ","; in state_show()
2540 len += sprintf(page+len, "%sjournal",sep); in state_show()
2541 sep = ","; in state_show()
2544 len += sprintf(page+len, "%swrite_mostly",sep); in state_show()
2545 sep = ","; in state_show()
2550 len += sprintf(page+len, "%sblocked", sep); in state_show()
[all …]
/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()
/drivers/staging/lustre/lustre/include/
Dobd_class.h93 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep);