Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfs.c688 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()
735 vdev_write_bootenv(vd, benv); in zfs_set_bootenv()
738 spa->spa_bootenv = benv; in zfs_set_bootenv()
749 nvlist_t *benv; in zfs_get_bootonce() local
[all …]
H A Dzfsimpl.c1794 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()
1863 benv = nvlist_create(NV_UNIQUE_NAME); in vdev_read_bootenv()
1864 if (benv != NULL) { in vdev_read_bootenv()
1869 nvlist_add_uint64(benv, BOOTENV_VERSION, in vdev_read_bootenv()
[all …]
/illumos-gate/usr/src/cmd/eeprom/i386/
H A DMakefile30 OBJS += benv.o benv_kvm.o
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dzfsboot.c256 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 Dfakebop.c1373 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()