Searched refs:optnames (Results 1 – 4 of 4) sorted by relevance
163 my %optnames = map { $_ => 1 } keys %$opts;165 delete $optnames{$_};167 push @messages, "Unknown options: " . join(', ', sort keys %optnames)168 if keys %optnames;
327 const char **optnames; in get_media_options() local349 optnames = calloc(nopts, sizeof(*optnames)); in get_media_options()350 if (optnames == NULL) in get_media_options()354 optnames[i] = opt; in get_media_options()361 options = ifconfig_media_lookup_options(media, optnames, nopts); in get_media_options()367 errx(EXIT_FAILURE, "unknown option: %s", optnames[i]); in get_media_options()371 free(optnames); in get_media_options()
92 static struct mntoptnames optnames[] = { variable658 for (o = optnames; flags != 0 && o->o_opt != 0; o++) in prmount()
2959 static struct mntoptnames optnames[] = { variable2988 for (fp = optnames; fp->o_opt != 0; fp++) { in mount_devctl_event()