Lines Matching defs:options

134 static int prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf);
249 * the list may be restricted by specifying the correct flags in options.
252 devfs_get_prom_names(const char *dev_name, uint_t options, char ***prom_list)
288 if ((ret = prom_dev_to_alias(prom_path, options, &alias_list)) < 0) {
298 if ((options & BOOTDEV_NO_PROM_PATH) == 0) {
320 if ((options & BOOTDEV_NO_PROM_PATH) == 0) {
599 devfs_uefi_set_boot(const char *dev_name, uint_t options)
610 (options & (BOOTDEV_LITERAL | BOOTDEV_PROMDEV))) {
824 * Available options include: converting the device name to a prom
830 devfs_bootdev_set_list(const char *dev_name, const uint_t options)
843 return (devfs_uefi_set_boot(dev_name, options));
855 if ((*dev_name != '/') && !(options & BOOTDEV_LITERAL)) {
858 if ((options & BOOTDEV_LITERAL) && (options & BOOTDEV_PROMDEV)) {
873 if (options & BOOTDEV_LITERAL) {
887 if (!(options & BOOTDEV_PROMDEV)) {
921 if (options & BOOTDEV_OVERWRITE) {
954 if (options & BOOTDEV_OVERWRITE) {
2055 prom_dev_to_alias(char *dev, uint_t options, char ***ret_buf)
2099 if ((options & BOOTDEV_NO_EXACT_ALIAS) != 0) {
2104 if ((options & BOOTDEV_NO_INEXACT_ALIAS) != 0) {
2347 * append :x to alias_name to override any default minor name options
2568 char options[16] = "";
2591 * save off any options (minor name info) that is
2596 (void) strlcpy(options, ++options_ptr, sizeof (options));
2619 * save off any explicit options (minor name info)
2626 (void) strlcpy(options, ++options_ptr,
2627 sizeof (options));
2648 (void) strcat(ret_buf, options);