Lines Matching refs:g_zfs
144 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) {
147 libzfs_error_description(g_zfs));
148 return (zfs_err_to_be_err(g_zfs));
156 ret = zfs_err_to_be_err(g_zfs);
164 ret = zfs_err_to_be_err(g_zfs);
237 if ((zhp = zfs_open(g_zfs, zone_container_ds, ZFS_TYPE_FILESYSTEM))
241 zone_container_ds, libzfs_error_description(g_zfs));
242 return (zfs_err_to_be_err(g_zfs));
309 if ((zhp = zfs_open(g_zfs, zone_container_ds, ZFS_TYPE_FILESYSTEM))
313 zone_container_ds, libzfs_error_description(g_zfs));
314 return (zfs_err_to_be_err(g_zfs));
334 libzfs_error_description(g_zfs));
335 ret = zfs_err_to_be_err(g_zfs);
378 if ((ret = zpool_iter(g_zfs, be_check_be_roots_callback,
386 libzfs_error_description(g_zfs));
399 if (!zfs_dataset_exists(g_zfs, zone_container_ds,
492 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) {
495 libzfs_error_description(g_zfs));
496 return (zfs_err_to_be_err(g_zfs));
504 libzfs_error_description(g_zfs));
505 ret = zfs_err_to_be_err(g_zfs);
553 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) {
556 libzfs_error_description(g_zfs));
557 return (zfs_err_to_be_err(g_zfs));
565 libzfs_error_description(g_zfs));
566 ret = zfs_err_to_be_err(g_zfs);
696 libzfs_error_description(g_zfs));