Lines Matching refs:bt

251 	be_transaction_data_t	bt = { 0 };  in _be_mount()  local
265 bt.obe_name = be_name; in _be_mount()
268 if ((err = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_mount()
270 "find zpool for BE (%s)\n"), bt.obe_name); in _be_mount()
279 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_mount()
281 bt.obe_root_ds = obe_root_ds; in _be_mount()
284 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_mount()
287 "open BE root dataset (%s): %s\n"), bt.obe_root_ds, in _be_mount()
296 "at %s\n"), bt.obe_name, mp != NULL ? mp : ""); in _be_mount()
307 "failed for %s\n"), bt.obe_root_ds); in _be_mount()
358 "mount BE (%s) on %s\n"), bt.obe_name, tmp_altroot); in _be_mount()
383 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) { in _be_mount()
420 be_transaction_data_t bt = { 0 }; in _be_unmount() local
434 bt.obe_name = be_name; in _be_unmount()
437 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt)) == 0) { in _be_unmount()
439 "find zpool for BE (%s)\n"), bt.obe_name); in _be_unmount()
450 be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in _be_unmount()
452 bt.obe_root_ds = obe_root_ds; in _be_unmount()
455 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_unmount()
458 "open BE root dataset (%s): %s\n"), bt.obe_root_ds, in _be_unmount()
468 "(%s) not mounted\n"), bt.obe_name); in _be_unmount()
476 "failed for %s\n"), bt.obe_root_ds); in _be_unmount()
493 "get mountpoint of (%s)\n"), bt.obe_name); in _be_unmount()
515 be_get_uuid(bt.obe_root_ds, &uu) == BE_SUCCESS) { in _be_unmount()
536 "unmount BE (%s)\n"), bt.obe_name); in _be_unmount()