Home
last modified time | relevance | path

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

/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c1778 nvlist_t *benv; in vdev_read_bootenv() local
1788 benv = vdev_read_bootenv(kid); in vdev_read_bootenv()
1789 if (benv != NULL) in vdev_read_bootenv()
1790 return (benv); in vdev_read_bootenv()
1817 benv = nvlist_create(NV_UNIQUE_NAME); in vdev_read_bootenv()
1818 if (benv != NULL) { in vdev_read_bootenv()
1820 nvlist_add_uint64(benv, BOOTENV_VERSION, in vdev_read_bootenv()
1824 nvlist_add_uint64(benv, BOOTENV_VERSION, VB_RAW); in vdev_read_bootenv()
1826 nvlist_add_string(benv, GRUB_ENVMAP, be->vbe_bootenv); in vdev_read_bootenv()
1831 benv = nvlist_import(be->vbe_bootenv, sizeof(be->vbe_bootenv)); in vdev_read_bootenv()
[all …]
H A Dzfs.c808 zfs_set_bootenv(void *vdev, nvlist_t *benv) in zfs_set_bootenv() argument
815 return (zfs_set_bootenv_spa(spa, benv)); in zfs_set_bootenv()
/freebsd/stand/i386/zfsboot/
H A Dzfsboot.c229 nvlist_t *benv; in main() local
242 if (zfs_get_bootenv(bdev, &benv) == 0) { in main()
243 nvlist_add_string(benv, OS_BOOTONCE_USED, in main()
245 zfs_set_bootenv(bdev, benv); in main()