Lines Matching refs:bt

253 	be_transaction_data_t	bt = { 0 };  in _be_mount()  local
267 bt.obe_name = be_name; in _be_mount()
270 if ((err = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_mount()
272 "find zpool for BE (%s)\n"), bt.obe_name); in _be_mount()
281 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_mount()
284 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_mount()
287 bt.obe_root_ds = obe_root_ds; in _be_mount()
290 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_mount()
293 "open BE root dataset (%s): %s\n"), bt.obe_root_ds, in _be_mount()
302 "at %s\n"), bt.obe_name, mp != NULL ? mp : ""); in _be_mount()
313 "failed for %s\n"), bt.obe_root_ds); in _be_mount()
364 "mount BE (%s) on %s\n"), bt.obe_name, tmp_altroot); in _be_mount()
389 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) { in _be_mount()
426 be_transaction_data_t bt = { 0 }; in _be_unmount() local
440 bt.obe_name = be_name; in _be_unmount()
443 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_unmount()
445 "find zpool for BE (%s)\n"), bt.obe_name); in _be_unmount()
456 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_unmount()
459 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in _be_unmount()
462 bt.obe_root_ds = obe_root_ds; in _be_unmount()
465 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_unmount()
468 "open BE root dataset (%s): %s\n"), bt.obe_root_ds, in _be_unmount()
478 "(%s) not mounted\n"), bt.obe_name); in _be_unmount()
486 "failed for %s\n"), bt.obe_root_ds); in _be_unmount()
503 "get mountpoint of (%s)\n"), bt.obe_name); in _be_unmount()
525 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) { in _be_unmount()
546 "unmount BE (%s)\n"), bt.obe_name); in _be_unmount()