Home
last modified time | relevance | path

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

/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 …]
/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.c3238 char *sep; in parport_setup() local
3268 sep = strchr(str, ','); in parport_setup()
3269 if (sep++) { in parport_setup()
3270 if (parport_parse_irq(sep, &val)) in parport_setup()
3273 sep = strchr(sep, ','); in parport_setup()
3274 if (sep++) { in parport_setup()
3275 if (parport_parse_dma(sep, &val)) in parport_setup()
/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 …]
/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.h540 #define DEV_INFO_FOR_EACH_FLAG(func, sep) \ argument
541 func(is_mobile) sep \
542 func(is_i85x) sep \
543 func(is_i915g) sep \
544 func(is_i945gm) sep \
545 func(is_g33) sep \
546 func(need_gfx_hws) sep \
547 func(is_g4x) sep \
548 func(is_pineview) sep \
549 func(is_broadwater) sep \
[all …]
/drivers/staging/lustre/lustre/libcfs/
Dnidstrings.c468 const char *sep = strchr(str, '@'); in libcfs_str2nid() local
473 if (sep != NULL) { in libcfs_str2nid()
474 nf = libcfs_str2net_internal(sep + 1, &net); in libcfs_str2nid()
478 sep = str + strlen(str); in libcfs_str2nid()
484 if (!nf->nf_str2addr(str, (int)(sep - str), &addr)) in libcfs_str2nid()
/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()
658 static void obd_connect_seq_flags2str(struct seq_file *m, __u64 flags, char *sep) in obd_connect_seq_flags2str() argument
667 first ? sep : "", obd_connect_names[i]); in obd_connect_seq_flags2str()
673 first ? sep : "", flags & ~(mask - 1)); in obd_connect_seq_flags2str()
/drivers/md/
Dmd.c2388 char *sep = ""; in state_show() local
2393 len+= sprintf(page+len, "%sfaulty",sep); in state_show()
2394 sep = ","; in state_show()
2397 len += sprintf(page+len, "%sin_sync",sep); in state_show()
2398 sep = ","; in state_show()
2401 len += sprintf(page+len, "%swrite_mostly",sep); in state_show()
2402 sep = ","; in state_show()
2407 len += sprintf(page+len, "%sblocked", sep); in state_show()
2408 sep = ","; in state_show()
2412 len += sprintf(page+len, "%sspare", sep); in state_show()
[all …]
/drivers/scsi/
Dqla1280.c4187 char *sep; in qla1280_get_token() local
4191 sep = strchr(str, ':'); in qla1280_get_token()
4193 if (sep) { in qla1280_get_token()
4195 if (!strncmp(setup_token[i].token, str, (sep - str))) { in qla1280_get_token()
/drivers/staging/lustre/lustre/include/
Dobd_class.h103 int obd_connect_flags2str(char *page, int count, __u64 flags, char *sep);