Lines Matching refs:benv
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()
1863 benv = nvlist_create(NV_UNIQUE_NAME); in vdev_read_bootenv()
1864 if (benv != NULL) { in vdev_read_bootenv()
1866 nvlist_add_string(benv, FREEBSD_BOOTONCE, in vdev_read_bootenv()
1869 nvlist_add_uint64(benv, BOOTENV_VERSION, in vdev_read_bootenv()
1875 return (benv); in vdev_read_bootenv()