Lines Matching refs:optstr
326 cvt_metal_option(char *optstr) in cvt_metal_option() argument
331 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_metal_option()
336 if ((value = strchr(optstr, '=')) == NULL) in cvt_metal_option()
339 namlen = value - optstr; in cvt_metal_option()
344 if (strncmp(optstr, "console", namlen) == 0) { in cvt_metal_option()
349 if ((strncmp(optstr, "ttya-mode", namlen) == 0) || in cvt_metal_option()
350 (strncmp(optstr, "ttyb-mode", namlen) == 0)) { in cvt_metal_option()
351 char *port = strndupa(optstr, namlen); in cvt_metal_option()
371 cvt_hyper_option(char *optstr) in cvt_hyper_option() argument
383 if (strcmp(optstr, ZFS_BOOTSTR) == 0) { in cvt_hyper_option()
393 if ((value = strchr(optstr, '=')) == NULL) in cvt_hyper_option()
396 namlen = value - optstr; in cvt_hyper_option()
416 if (strncmp(optstr, "console", namlen) == 0) { in cvt_hyper_option()
431 if ((strncmp(optstr, "com1", namlen) == 0) || in cvt_hyper_option()
432 (strncmp(optstr, "com2", namlen) == 0)) { in cvt_hyper_option()
433 unsigned com = COMNAME_TO_COMNUM(optstr); in cvt_hyper_option()