Lines Matching refs:optstr
325 cvt_metal_option(char *optstr) in cvt_metal_option() argument
330 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_metal_option()
335 if ((value = strchr(optstr, '=')) == NULL) in cvt_metal_option()
338 namlen = value - optstr; in cvt_metal_option()
343 if (strncmp(optstr, "console", namlen) == 0) { in cvt_metal_option()
348 if ((strncmp(optstr, "ttya-mode", namlen) == 0) || in cvt_metal_option()
349 (strncmp(optstr, "ttyb-mode", namlen) == 0)) { in cvt_metal_option()
350 char *port = strndupa(optstr, namlen); in cvt_metal_option()
370 cvt_hyper_option(char *optstr) in cvt_hyper_option() argument
382 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_hyper_option()
392 if ((value = strchr(optstr, '=')) == NULL) in cvt_hyper_option()
395 namlen = value - optstr; in cvt_hyper_option()
415 if (strncmp(optstr, "console", namlen) == 0) { in cvt_hyper_option()
430 if ((strncmp(optstr, "com1", namlen) == 0) || in cvt_hyper_option()
431 (strncmp(optstr, "com2", namlen) == 0)) { in cvt_hyper_option()
432 unsigned com = COMNAME_TO_COMNUM(optstr); in cvt_hyper_option()