Searched refs:benv (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfs.c | 688 nvlist_t *benv = NULL; in zfs_get_bootenv() local 701 benv = vdev_read_bootenv(vd); in zfs_get_bootenv() 703 if (benv != NULL) in zfs_get_bootenv() 706 spa->spa_bootenv = benv; in zfs_get_bootenv() 708 benv = spa->spa_bootenv; in zfs_get_bootenv() 711 if (benv == NULL) in zfs_get_bootenv() 714 *benvp = benv; in zfs_get_bootenv() 722 zfs_set_bootenv(void *vdev, nvlist_t *benv) in zfs_set_bootenv() argument 735 vdev_write_bootenv(vd, benv); in zfs_set_bootenv() 738 spa->spa_bootenv = benv; in zfs_set_bootenv() [all …]
|
H A D | zfsimpl.c | 1794 nvlist_t *benv; in vdev_read_bootenv() local 1804 benv = vdev_read_bootenv(kid); in vdev_read_bootenv() 1805 if (benv != NULL) in vdev_read_bootenv() 1806 return (benv); in vdev_read_bootenv() 1833 benv = nvlist_create(NV_UNIQUE_NAME); in vdev_read_bootenv() 1834 if (benv != NULL) { in vdev_read_bootenv() 1836 nvlist_add_uint64(benv, BOOTENV_VERSION, in vdev_read_bootenv() 1840 nvlist_add_uint64(benv, BOOTENV_VERSION, VB_RAW); in vdev_read_bootenv() 1842 nvlist_add_string(benv, GRUB_ENVMAP, be->vbe_bootenv); in vdev_read_bootenv() 1847 benv = nvlist_import(be->vbe_bootenv, sizeof (be->vbe_bootenv)); in vdev_read_bootenv() [all …]
|
/illumos-gate/usr/src/cmd/eeprom/i386/ |
H A D | Makefile | 30 OBJS += benv.o benv_kvm.o
|
/illumos-gate/usr/src/boot/i386/gptzfsboot/ |
H A D | zfsboot.c | 256 nvlist_t *benv; in main() local 267 if (zfs_get_bootenv(bdev, &benv) == 0) { in main() 268 nvlist_add_string(benv, OS_BOOTONCE_USED, in main() 270 zfs_set_bootenv(bdev, benv); in main()
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 1373 process_boot_environment(struct boot_modules *benv) in process_boot_environment() argument 1378 if (benv == NULL || benv->bm_type != BMT_ENV) in process_boot_environment() 1380 ptr = env = benv->bm_addr; in process_boot_environment() 1381 size = benv->bm_size; in process_boot_environment() 1510 struct boot_modules *bm, *rdbm, *benv = NULL; in build_boot_properties() local 1542 if (benv == NULL) in build_boot_properties() 1543 benv = &bm[i]; in build_boot_properties() 1782 process_boot_environment(benv); in build_boot_properties()
|