| /onnv-gate/usr/src/cmd/luxadm/ |
| H A D | setboot.c | 92 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 D | libgrub_cmd.c | 328 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 D | libgrub_cmd.def | 60 menu_cmd("bootfs", GRBM_BOOTFS_CMD, GRUB_LINE_ENTRY, bootfs)
|
| H A D | libgrub_impl.h | 193 int bootfs(const grub_line_t *lp, grub_barg_t *barg);
|
| H A D | libgrub_errno.def | 68 grub_errno_def(EG_UNKBOOTFS, "Unknown bootfs filesystem")
|
| /onnv-gate/usr/src/cmd/cmd-inet/etc/ |
| H A D | wanboot.conf.sample | 47 # 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 D | bootadm_hyper.c | 764 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 D | bootadm.c | 4623 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 D | halt.c | 728 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 D | be_utils.c | 427 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 D | libzfs_pool.c | 325 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 D | zfs.fth | 895 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 D | boot.fth | 532 fs-ih encode-int " bootfs" property
|