Lines Matching refs:obe_name
404 if (nvlist_lookup_string(be_attrs, BE_ATTR_ORIG_BE_NAME, &bt.obe_name) in be_destroy()
416 if (!be_valid_be_name(bt.obe_name)) { in be_destroy()
418 bt.obe_name); in be_destroy()
420 } else if (bt.obe_name != NULL) { in be_destroy()
424 if (strcmp(cur_bt.obe_name, bt.obe_name) == 0) { in be_destroy()
444 "for BE (%s)\n"), bt.obe_name); in be_destroy()
453 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in be_destroy()
456 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in be_destroy()
463 if (be_is_active_on_boot(bt.obe_name)) { in be_destroy()
476 if (be_is_active_on_boot(bt.obe_name)) { in be_destroy()
543 bt.obe_name, mp != NULL ? mp : "<unknown>"); in be_destroy()
557 if ((ret = be_destroy_zones(bt.obe_name, bt.obe_root_ds, &dd)) in be_destroy()
561 bt.obe_name); in be_destroy()
568 if ((ret = _be_unmount(bt.obe_name, BE_UNMOUNT_FLAG_FORCE)) in be_destroy()
571 "failed to unmount %s\n"), bt.obe_name); in be_destroy()
586 if ((ret = be_remove_menu(bt.obe_name, bt.obe_zpool, NULL)) in be_destroy()
650 char *obe_name = NULL; in be_copy() local
664 BE_ATTR_ORIG_BE_NAME, DATA_TYPE_STRING, &obe_name, NULL) != 0) { in be_copy()
677 if (obe_name != NULL) { in be_copy()
678 bt.obe_name = obe_name; in be_copy()
680 if (!be_valid_be_name(bt.obe_name)) { in be_copy()
682 "invalid BE name %s\n"), bt.obe_name); in be_copy()
702 "find zpool for BE (%s)\n"), bt.obe_name); in be_copy()
856 if ((bt.nbe_name = be_auto_be_name(bt.obe_name)) in be_copy()
868 if ((ret = be_make_root_ds(bt.obe_zpool, bt.obe_name, obe_root_ds, in be_copy()
871 "for %s/%s\n"), __func__, bt.obe_zpool, bt.obe_name); in be_copy()
907 if ((ret = _be_create_snapshot(bt.obe_name, in be_copy()
937 bt.obe_name, libzfs_error_description(g_zfs)); in be_copy()
958 bt.nbe_name, bt.obe_name); in be_copy()
976 if ((bt.nbe_name = be_auto_be_name(bt.obe_name)) in be_copy()
1027 bt.nbe_name, bt.obe_name); in be_copy()
1069 "send BE (%s) to pool (%s)\n"), bt.obe_name, in be_copy()
1127 if ((ret = be_copy_zones(bt.obe_name, bt.obe_root_ds, in be_copy()
1140 if ((ret = be_get_legacy_fs(bt.obe_name, bt.obe_root_ds, NULL, NULL, in be_copy()
1144 bt.obe_name); in be_copy()
1301 if (be_make_root_ds(zpool, bt->obe_name, be_root_ds, in be_find_zpool_callback()
1968 be_copy_zones(char *obe_name, char *obe_root_ds, char *nbe_root_ds) in be_copy_zones() argument
2041 if ((ret = _be_mount(obe_name, &temp_mntpt, in be_copy_zones()
2045 obe_name); in be_copy_zones()
2095 "in BE %s\n"), zonename, obe_name); in be_copy_zones()
2151 bt.obe_name = zone_be_name; in be_copy_zones()
2301 if ((ret = be_get_legacy_fs(obe_name, obe_root_ds, in be_copy_zones()
2335 (void) _be_unmount(obe_name, 0); in be_copy_zones()