Home
last modified time | relevance | path

Searched refs:fbarg (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_bargs.c97 barg2bootargs(const grub_barg_t *barg, grub_boot_args_t *fbarg) in barg2bootargs() argument
104 assert(fbarg); in barg2bootargs()
105 bzero(fbarg, sizeof (*fbarg)); in barg2bootargs()
106 fbarg->gba_kernel_fd = -1; in barg2bootargs()
113 bcopy(fsd, &fbarg->gba_fsd, sizeof (fbarg->gba_fsd)); in barg2bootargs()
114 bcopy(barg->gb_kernel, fbarg->gba_kernel, sizeof (fbarg->gba_kernel)); in barg2bootargs()
115 bcopy(barg->gb_module, fbarg->gba_module, sizeof (fbarg->gba_module)); in barg2bootargs()
117 if (fbarg->gba_fsd.gfs_mountp[0] == 0 && in barg2bootargs()
118 (rc = grub_fsd_mount_tmp(&fbarg->gba_fsd, in barg2bootargs()
122 if (snprintf(path, sizeof (path), "%s%s", fbarg->gba_fsd.gfs_mountp, in barg2bootargs()
[all …]
H A Dlibgrub_impl.h73 #define GRUB_ENTRY_IS_XVM(fbarg) \ argument
74 (strstr(fbarg.gba_kernel, "xen.gz") != NULL)
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c141 static char *fbarg; variable
1079 if (rc == 0 && (rc = be_get_boot_args(&fbarg, entnum)) == 0) { in parse_fastboot_args()
1080 if (strlcpy(bootargs_buf, fbarg, in parse_fastboot_args()
1082 free(fbarg); in parse_fastboot_args()
1098 fbarg_used = fbarg; in parse_fastboot_args()
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c113 be_get_boot_args(char **fbarg, int entry) in be_get_boot_args() argument
123 *fbarg = NULL; in be_get_boot_args()
266 (void) asprintf(fbarg, "/ %s " in be_get_boot_args()
270 (void) asprintf(fbarg, "/ %s %s " in be_get_boot_args()
274 if (*fbarg == NULL) in be_get_boot_args()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dgraph.c3563 char *fbarg = NULL; in do_uadmin() local
3616 if (be_get_boot_args(&fbarg, BE_ENTRY_DEFAULT) == 0) { in do_uadmin()
3617 mdep = (uintptr_t)fbarg; in do_uadmin()
3688 free(fbarg); in do_uadmin()