Lines Matching refs:g_zfs

298 		if ((err = zpool_iter(g_zfs, be_find_zpool_callback, &bt))
305 "%s\n"), libzfs_error_description(g_zfs));
306 return (zfs_err_to_be_err(g_zfs));
318 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
322 libzfs_error_description(g_zfs));
323 return (zfs_err_to_be_err(g_zfs));
396 (void) zpool_iter(g_zfs, zpool_shared_fs_callback, &md);
470 if ((zret = zpool_iter(g_zfs, be_find_zpool_callback, &bt))
478 libzfs_error_description(g_zfs));
479 ret = zfs_err_to_be_err(g_zfs);
492 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) ==
496 libzfs_error_description(g_zfs));
497 ret = zfs_err_to_be_err(g_zfs);
613 libzfs_error_description(g_zfs));
614 return (zfs_err_to_be_err(g_zfs));
650 return (zfs_err_to_be_err(g_zfs));
677 libzfs_error_description(g_zfs));
678 return (zfs_err_to_be_err(g_zfs));
686 zfs_get_name(zhp), libzfs_error_description(g_zfs));
687 return (zfs_err_to_be_err(g_zfs));
697 libzfs_error_description(g_zfs));
698 return (zfs_err_to_be_err(g_zfs));
745 if ((zhp = zfs_open(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM))
749 libzfs_error_description(g_zfs));
750 ret = zfs_err_to_be_err(g_zfs);
769 be_name, libzfs_error_description(g_zfs));
770 ret = zfs_err_to_be_err(g_zfs);
786 if ((zhp = zfs_open(g_zfs, zoneroot_ds,
790 zoneroot_ds, libzfs_error_description(g_zfs));
791 ret = zfs_err_to_be_err(g_zfs);
946 (void) zfs_iter_root(g_zfs, be_get_ds_from_dir_callback, &dd);
1029 tmp_mntpnt, libzfs_error_description(g_zfs));
1163 libzfs_error_description(g_zfs));
1216 libzfs_error_description(g_zfs));
1217 ret = zfs_err_to_be_err(g_zfs);
1263 fs_name, libzfs_error_description(g_zfs));
1264 ret = zfs_err_to_be_err(g_zfs);
1367 if ((zhp = zfs_open(g_zfs, zpool, ZFS_TYPE_FILESYSTEM)) == NULL) {
1370 libzfs_error_description(g_zfs));
1371 ret = zfs_err_to_be_err(g_zfs);
1938 libzfs_error_description(g_zfs));
1939 ret = zfs_err_to_be_err(g_zfs);
1998 altroot, libzfs_error_description(g_zfs));
1999 return (zfs_err_to_be_err(g_zfs));
2042 libzfs_error_description(g_zfs));
2043 return (zfs_err_to_be_err(g_zfs));
2051 zfs_get_name(zhp), libzfs_error_description(g_zfs));
2052 return (zfs_err_to_be_err(g_zfs));
2064 return (zfs_err_to_be_err(g_zfs));
2103 libzfs_error_description(g_zfs));
2415 if ((zone_zhp = zfs_open(g_zfs, zoneroot_ds, ZFS_TYPE_FILESYSTEM))
2419 libzfs_error_description(g_zfs));
2420 return (zfs_err_to_be_err(g_zfs));
2522 if ((zone_zhp = zfs_open(g_zfs, zoneroot_ds, ZFS_TYPE_FILESYSTEM))
2526 libzfs_error_description(g_zfs));
2527 return (zfs_err_to_be_err(g_zfs));