Home
last modified time | relevance | path

Searched refs:bootfs (Results 1 – 13 of 13) sorted by relevance

/onnv-gate/usr/src/cmd/luxadm/
H A Dsetboot.c92 getbootdevname(char *bootfs, char *bdev) in getbootdevname() argument
102 devname = bootfs; in getbootdevname()
104 if (stat(bootfs, &sbuf) < 0) { in getbootdevname()
126 if (strcmp(m.mnt_mountp, bootfs)) in getbootdevname()
/onnv-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c328 char bootfs[BOOTARGS_MAX]; in dollar_kernel() local
335 bfslen = barg_bootfs_var(barg, bootfs, sizeof (bootfs)); in dollar_kernel()
338 if (bfslen >= sizeof (bootfs) || isalen >= sizeof (isadir)) in dollar_kernel()
342 ZFS_BOOT_VAR, strlen(ZFS_BOOT_VAR), bootfs, bfslen)) != 0) in dollar_kernel()
422 bootfs(const grub_line_t *lp, grub_barg_t *barg) in bootfs() function
H A Dlibgrub_cmd.def60 menu_cmd("bootfs", GRBM_BOOTFS_CMD, GRUB_LINE_ENTRY, bootfs)
H A Dlibgrub_impl.h193 int bootfs(const grub_line_t *lp, grub_barg_t *barg);
H A Dlibgrub_errno.def68 grub_errno_def(EG_UNKBOOTFS, "Unknown bootfs filesystem")
/onnv-gate/usr/src/cmd/cmd-inet/etc/
H A Dwanboot.conf.sample47 # These are used by wanboot-cgi(bootfile|bootfs|rootfs) to determine
48 # whether boot_file or the bootfs is to be sent encrypted/signed, or
59 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
65 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
72 # wanboot-cgi(bootfs) will construct a hosts file which resolves any
/onnv-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c764 char *bootfs = NULL; in cvt_to_hyper() local
847 bootfs = strdupa(lp->arg); in cvt_to_hyper()
971 module, bootfs)) == BAM_ERROR) in cvt_to_hyper()
1013 char *bootfs = NULL; in cvt_to_metal() local
1068 bootfs = strdupa(lp->arg); in cvt_to_metal()
1227 barchive_path, bootfs)) == BAM_ERROR) { in cvt_to_metal()
H A Dbootadm.c4623 char *bootfs) in add_boot_entry() argument
4691 if (bootfs != NULL) { in add_boot_entry()
4693 menu_cmds[BOOTFS_CMD], menu_cmds[SEP_CMD], bootfs); in add_boot_entry()
/onnv-gate/usr/src/cmd/halt/
H A Dhalt.c728 char bootfs[ZPOOL_MAXNAMELEN]; in get_zfs_bootfs_arg() local
738 bzero(bootfs, sizeof (bootfs)); in get_zfs_bootfs_arg()
772 (void) strlcpy(bootfs, mntsp, sizeof (bootfs)); in get_zfs_bootfs_arg()
796 if (snprintf(bootfs_arg, BOOTARGS_MAX, fmt, bootfs, physpath) >= in get_zfs_bootfs_arg()
/onnv-gate/usr/src/lib/libbe/common/
H A Dbe_utils.c427 char *bootfs = strtok(NULL, BE_WHITE_SPACE); in be_append_menu() local
429 if (bootfs == NULL) in be_append_menu()
432 if (strcmp(bootfs, be_root_ds) == 0) { in be_append_menu()
438 strcmp(bootfs, be_orig_root_ds) == 0 && in be_append_menu()
800 char *bootfs = NULL; in be_remove_menu() local
806 if ((bootfs = strtok(NULL, BE_WHITE_SPACE)) == NULL || in be_remove_menu()
807 strcmp(bootfs, be_root_ds) != 0) { in be_remove_menu()
1335 char *bootfs = strtok(NULL, BE_WHITE_SPACE); in be_change_grub_default() local
1336 if (bootfs == NULL) in be_change_grub_default()
1339 if (strcmp(bootfs, be_root_ds) == 0) { in be_change_grub_default()
/onnv-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c325 bootfs_name_valid(const char *pool, char *bootfs) in bootfs_name_valid() argument
329 if (!zfs_name_valid(bootfs, ZFS_TYPE_FILESYSTEM|ZFS_TYPE_SNAPSHOT)) in bootfs_name_valid()
332 if (strncmp(pool, bootfs, len) == 0 && in bootfs_name_valid()
333 (bootfs[len] == '/' || bootfs[len] == '\0')) in bootfs_name_valid()
363 char bootfs[ZPOOL_MAXNAMELEN]; in pool_is_bootable() local
365 return (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs, in pool_is_bootable()
366 sizeof (bootfs), NULL) == 0 && strncmp(bootfs, "-", in pool_is_bootable()
367 sizeof (bootfs)) != 0); in pool_is_bootable()
/onnv-gate/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth895 0 instance value bootfs-obj#
997 dup to bootfs-obj#
1013 dnode " bootfs" zap-lookup if
1014 " no bootfs" die
1390 bootfs-obj# (xu.) bootprop$ $append
1391 bootprop$ encode-string " zfs-bootfs" ( propval propname )
/onnv-gate/usr/src/psm/stand/bootblks/common/
H A Dboot.fth532 fs-ih encode-int " bootfs" property