Home
last modified time | relevance | path

Searched refs:bootenv (Results 1 – 8 of 8) sorted by relevance

/src/sbin/bectl/
H A Dbectl.c186 char *atpos, *bootenv, *snapname; in bectl_cmd_create() local
219 bootenv = *argv; in bectl_cmd_create()
222 if ((atpos = strchr(bootenv, '@')) != NULL) { in bectl_cmd_create()
228 err = be_snapshot(be, bootenv, atpos, recursive, NULL); in bectl_cmd_create()
235 err = be_create_empty(be, bootenv); in bectl_cmd_create()
250 err = be_create_depth(be, bootenv, snapshot, in bectl_cmd_create()
265 atpos, bootenv); in bectl_cmd_create()
268 "Failed to create bootenv %s\n", bootenv); in bectl_cmd_create()
272 bootenv, snapname); in bectl_cmd_create()
282 char *bootenv; in bectl_cmd_export() local
[all …]
H A Dbectl_jail.c217 char *bootenv, **jargv, *mountpoint; in bectl_cmd_jail() local
283 bootenv = argv[0]; in bectl_cmd_jail()
295 if (be_mount(be, bootenv, mountpoint, mntflags, mnt_loc) != BE_ERR_SUCCESS) { in bectl_cmd_jail()
301 jailparam_add("host.hostname", bootenv); in bectl_cmd_jail()
344 jid = bectl_locate_jail(bootenv); in bectl_cmd_jail()
346 be_unmount(be, bootenv, 0); in bectl_cmd_jail()
/src/sys/contrib/openzfs/module/zfs/
H A Dvdev_label.c1074 abd_t *bootenv; in vdev_label_init() local
1221 bootenv = abd_alloc_for_io(VDEV_PAD_SIZE, B_TRUE); in vdev_label_init()
1222 abd_zero(bootenv, VDEV_PAD_SIZE); in vdev_label_init()
1240 vdev_label_write(zio, vd, l, bootenv, in vdev_label_init()
1252 abd_free(bootenv); in vdev_label_init()
1325 vdev_label_read_bootenv(vdev_t *rvd, nvlist_t *bootenv) in vdev_label_read_bootenv() argument
1333 ASSERT(bootenv); in vdev_label_read_bootenv()
1351 fnvlist_add_uint64(bootenv, BOOTENV_VERSION, VB_RAW); in vdev_label_read_bootenv()
1353 fnvlist_add_string(bootenv, GRUB_ENVMAP, in vdev_label_read_bootenv()
1361 fnvlist_merge(bootenv, config); in vdev_label_read_bootenv()
[all …]
/src/lib/libbe/
H A Dbe_access.c219 be_mount(libbe_handle_t *lbh, const char *bootenv, const char *mountpoint, in be_mount() argument
229 if ((err = be_root_concat(lbh, bootenv, be)) != 0) in be_mount()
232 if ((err = be_exists(lbh, bootenv)) != 0) in be_mount()
285 be_unmount(libbe_handle_t *lbh, const char *bootenv, int flags) in be_unmount() argument
292 if ((err = be_root_concat(lbh, bootenv, be)) != 0) in be_unmount()
H A Dbe.c1089 be_export(libbe_handle_t *lbh, const char *bootenv, int fd) in be_export() argument
1097 if ((err = be_snapshot(lbh, bootenv, NULL, true, snap_name)) != 0) in be_export()
1114 be_import(libbe_handle_t *lbh, const char *bootenv, int fd) in be_import() argument
1122 be_root_concat(lbh, bootenv, buf); in be_import()
1336 be_activate(libbe_handle_t *lbh, const char *bootenv, bool temporary) in be_activate() argument
1343 be_root_concat(lbh, bootenv, be_path); in be_activate()
/src/sbin/bectl/tests/
H A Dbectl_test.sh486 for bootenv in "default" "target" "1234"; do
488 mountpoint="$(bectl -r ${zpool}/ROOT list -H | grep ${bootenv} | awk '{print $3}')"
/src/stand/forth/
H A Dmenu.rc147 set menuset_name3="bootenv"
/src/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam3874-iceboard.dts454 bootenv@2 {