Lines Matching refs:bam_root

228 static char *bam_root;  variable
745 if (bam_root) { in parse_args_internal()
756 bam_root = rootbuf; in parse_args_internal()
885 if (bam_root == NULL) { in check_subcmd_and_options()
886 bam_root = rootbuf; in check_subcmd_and_options()
1067 if (stat(bam_root, &statbuf) != 0) { in install_bootloader()
1068 bam_error(STAT_FAIL, bam_root, strerror(errno)); in install_bootloader()
1089 bam_error(NOT_IN_MNTTAB, bam_root); in install_bootloader()
1296 if (!is_grub(bam_alt_root ? bam_root : "/")) { in bam_menu()
1309 assert(bam_root); in bam_menu()
1311 (void) strlcpy(menu_root, bam_root, sizeof (menu_root)); in bam_menu()
1328 bam_root = rootbuf; in bam_menu()
1337 if (is_pcfs(bam_root)) { in bam_menu()
1338 bam_error(PCFS_ROOT_NOTSUP, bam_root); in bam_menu()
1357 (void) snprintf(path, sizeof (path), "%s%s", bam_root, in bam_menu()
1367 assert(strcmp(menu_root, bam_root) == 0); in bam_menu()
1433 ret = get_boot_cap(bam_root); in bam_menu()
1446 ret = f(menu, bam_root, menu_root); in bam_menu()
1457 ret = f(menu, bam_root, NULL); in bam_menu()
1502 ret = f(menu, bam_root, extra_args); in bam_menu()
1568 ucode_install(bam_root); in bam_archive()
1571 ret = f(bam_root, opt); in bam_archive()
3175 if (flushfs(bam_root) != 0) in do_archive_copy()
3498 if (flushfs(bam_root) != 0) in extend_iso_archive()
3764 bam_error(IS_RAMDISK, bam_root); in is_ramdisk()
8216 assert(bam_root);
8218 BAM_DPRINTF((D_FUNC_ENTRY3, fcn, menu_root, osdev, bam_root));
8220 (void) strlcpy(osroot, bam_root, sizeof (osroot));
8418 BAM_DPRINTF((D_BAM_ROOT, fcn, bam_alt_root, bam_root));
8421 strcmp(bam_root, "/") != 0 ||
8423 bam_error(ALT_ROOT_INVALID, bam_root);
8682 bam_error(DUP_CMD, globalcmd, lp->lineNum, bam_root);
9329 bam_error(DUP_CMD, globalcmd, lp->lineNum, bam_root);
9714 bam_root, UCODE_INSTALL_PATH, ucode_vendors[i].filestr,
9727 "%s/%s/%s %s > /dev/null 2>&1", bam_root,