Searched refs:benv (Results 1 – 3 of 3) sorted by relevance
| /freebsd/stand/libsa/zfs/ |
| H A D | zfsimpl.c | 1832 nvlist_t *benv; in vdev_read_bootenv() local 1842 benv = vdev_read_bootenv(kid); in vdev_read_bootenv() 1843 if (benv != NULL) in vdev_read_bootenv() 1844 return (benv); in vdev_read_bootenv() 1871 benv = nvlist_create(NV_UNIQUE_NAME); in vdev_read_bootenv() 1872 if (benv != NULL) { in vdev_read_bootenv() 1874 nvlist_add_uint64(benv, BOOTENV_VERSION, in vdev_read_bootenv() 1878 nvlist_add_uint64(benv, BOOTENV_VERSION, VB_RAW); in vdev_read_bootenv() 1880 nvlist_add_string(benv, GRUB_ENVMAP, be->vbe_bootenv); in vdev_read_bootenv() 1885 benv = nvlist_import(be->vbe_bootenv, sizeof(be->vbe_bootenv)); in vdev_read_bootenv() [all …]
|
| H A D | zfs.c | 810 zfs_set_bootenv(void *vdev, nvlist_t *benv) in zfs_set_bootenv() argument 817 return (zfs_set_bootenv_spa(spa, benv)); in zfs_set_bootenv()
|
| /freebsd/stand/i386/gptzfsboot/ |
| H A D | zfsboot.c | 229 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()
|