Home
last modified time | relevance | path

Searched refs:zfs_open (Results 1 – 25 of 42) sorted by relevance

12

/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_chkpnt.c108 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) { in ndmp_has_backup_snapshot()
194 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) { in snapshot_hold()
224 if ((zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == 0) { in snapshot_release()
322 if ((zhp = zfs_open(zlibh, namep, ztype)) == NULL) { in snapshot_destroy()
H A Dndmpd_zfs.c620 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, in ndmpd_zfs_backup_send_read()
1182 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, zpath, in ndmpd_zfs_backup_pathvalid()
1210 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, in ndmpd_zfs_backup_pathvalid()
1316 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, in ndmpd_zfs_restore_pathvalid()
1934 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, ndmpd_zfs_args->nz_dataset, in ndmpd_zfs_snapshot_find()
2102 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, fullname, ZFS_TYPE_SNAPSHOT); in ndmpd_zfs_snapshot_prop_add()
2226 zhp = zfs_open(ndmpd_zfs_args->nz_zlibh, fullname, ZFS_TYPE_SNAPSHOT); in ndmpd_zfs_snapshot_prop_remove()
H A Dndmpd_dtime.c857 ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) != NULL)) { in ndmpd_get_dumptime()
972 ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) != NULL)) { in ndmpd_put_dumptime()
1009 ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) != NULL)) { in ndmpd_append_dumptime()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzfs.c369 if ((zhp = zfs_open(g_zfs, snapshot_name, ZFS_TYPE_SNAPSHOT)) == NULL) in clone_snap()
400 if ((clone = zfs_open(g_zfs, zonepath, ZFS_TYPE_DATASET)) == NULL) in clone_snap()
538 zhp = zfs_open(g_zfs, snap_name, ZFS_TYPE_DATASET); in snap2path()
767 if ((cln_zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) == NULL) in promote_clone()
813 if ((zhp = zfs_open(g_zfs, nm, ZFS_TYPE_FILESYSTEM)) == NULL) in promote_all_clones()
943 if ((zhp = zfs_open(g_zfs, snap_name, ZFS_TYPE_SNAPSHOT)) in clone_zfs()
976 if ((zhp = zfs_open(g_zfs, zfs_name, ZFS_TYPE_DATASET)) != NULL) { in create_zfs_zonepath()
998 (zhp = zfs_open(g_zfs, zfs_name, ZFS_TYPE_DATASET)) == NULL) { in create_zfs_zonepath()
1106 if ((ohp = zfs_open(g_zfs, origin, in destroy_zfs()
1214 if ((zhp = zfs_open(g_zfs, dstab.zone_dataset_name, in verify_datasets()
[all …]
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_activate.c247 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) != NULL) { in _be_activate()
287 if ((zhp = zfs_open(g_zfs, root_ds, in _be_activate()
322 if ((zhp = zfs_open(g_zfs, active_ds, in _be_activate()
486 if ((zhp = zfs_open(g_zfs, ds_path, ZFS_TYPE_DATASET)) == in set_canmount()
519 if ((zhp = zfs_open(g_zfs, ds_path, ZFS_TYPE_DATASET)) in set_canmount()
598 if ((pool_zhp = zfs_open(g_zfs, bt->obe_zpool, ZFS_TYPE_FILESYSTEM)) == in be_get_grub_vers()
639 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_get_grub_vers()
933 if ((zhp = zfs_open(g_zfs, bt->obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_do_installgrub()
1039 if ((zhp = zfs_open(g_zfs, bt->obe_zpool, ZFS_TYPE_FILESYSTEM)) == in be_do_installgrub()
1161 if ((zhp = zfs_open(g_zfs, be_root_ds, in be_promote_zone_ds()
[all …]
H A Dbe_create.c475 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in be_destroy()
877 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) in be_copy()
949 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, in be_copy()
1129 if ((zhp = zfs_open(g_zfs, bt.nbe_root_ds, in be_copy()
1347 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_set_uuid()
1392 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_get_uuid()
1467 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_destroy()
1487 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_destroy()
1530 if ((zhp = zfs_open(g_zfs, origin, ZFS_TYPE_SNAPSHOT)) == in _be_destroy()
1547 if ((zhp = zfs_open(g_zfs, parent, ZFS_TYPE_FILESYSTEM)) == in _be_destroy()
[all …]
H A Dbe_zones.c143 if ((zhp = zfs_open(g_zfs, zone_container_ds, ZFS_TYPE_FILESYSTEM)) in be_find_active_zone_root()
212 if ((zhp = zfs_open(g_zfs, zone_container_ds, ZFS_TYPE_FILESYSTEM)) in be_find_mounted_zone_root()
354 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_zone_get_parent_uuid()
416 if ((zhp = zfs_open(g_zfs, root_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_zone_set_parent_uuid()
H A Dbe_snapshot.c336 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET)) == NULL) { in be_rollback()
354 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET)) == NULL) { in be_rollback()
483 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET)) in _be_create_snapshot()
670 zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_DATASET); in _be_destroy_snapshot()
782 if ((zhp_snap = zfs_open(g_zfs, ss, ZFS_TYPE_SNAPSHOT)) == NULL) { in be_rollback_callback()
H A Dbe_rename.c169 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) in be_rename()
189 if ((zhp = zfs_open(g_zfs, bt.nbe_root_ds, ZFS_TYPE_FILESYSTEM)) in be_rename()
H A Dbe_mount.c284 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_mount()
455 if ((zhp = zfs_open(g_zfs, bt.obe_root_ds, ZFS_TYPE_FILESYSTEM)) == in _be_unmount()
721 if ((zhp = zfs_open(g_zfs, be_root_ds, ZFS_TYPE_FILESYSTEM)) in be_get_legacy_fs()
761 if ((zhp = zfs_open(g_zfs, zoneroot_ds, in be_get_legacy_fs()
1545 if ((zhp = zfs_open(g_zfs, zpool, ZFS_TYPE_FILESYSTEM)) == NULL) { in zpool_shared_fs_callback()
2564 if ((zone_zhp = zfs_open(g_zfs, zoneroot_ds, ZFS_TYPE_FILESYSTEM)) in be_mount_one_zone()
2652 if ((zone_zhp = zfs_open(g_zfs, zoneroot_ds, ZFS_TYPE_FILESYSTEM)) in be_unmount_one_zone()
H A Dbe_utils.c104 zhp = zfs_open(g_zfs, dataset, ZFS_TYPE_DATASET); in be_max_avail()
427 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_append_menu()
726 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_remove_menu()
1175 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_default_grub_bootfs()
1336 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_change_grub_default()
1561 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_update_menu()
1835 if ((zhp = zfs_open(g_zfs, be_root_pool, ZFS_TYPE_DATASET)) == NULL) { in be_has_menu_entry()
2500 if ((zhp = zfs_open(g_zfs, be_container_ds, ZFS_TYPE_FILESYSTEM)) == in be_zpool_find_current_be_callback()
H A Dbe_list.c376 if ((zhp = zfs_open(g_zfs, zone_be_container_ds, in be_get_zone_be_list()
476 if ((zhp = zfs_open(g_zfs, open_ds, ZFS_TYPE_FILESYSTEM)) == NULL) { in be_get_list_callback()
/titanic_41/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c117 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) { in smbd_vss_get_count()
179 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) { in smbd_vss_get_snapshots()
247 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_DATASET)) == NULL) { in smbd_vss_map_gmttoken()
/titanic_41/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_dataset.c584 parent_zhp = zfs_open(g_zfs, parent, ZFS_TYPE_DATASET); in is_fs_snapshot()
616 zfs_handle_t *zhp = zfs_open(g_zfs, zpool_get_name(zphp), in zjni_create_add_Pool()
694 zhp = zfs_open(g_zfs, name, parent_typemask); in zjni_get_Datasets_below()
762 zfs_handle_t *zhp = zfs_open(g_zfs, path, in zjni_get_Datasets_dependents()
810 zfs_handle_t *zhp = zfs_open(g_zfs, name, typemask); in zjni_get_Dataset()
/titanic_41/usr/src/cmd/zfs/
H A Dzfs_main.c677 if ((zhp = zfs_open(g_zfs, argv[0], ZFS_TYPE_SNAPSHOT)) == NULL) in zfs_do_clone()
701 clone = zfs_open(g_zfs, argv[1], ZFS_TYPE_DATASET); in zfs_do_clone()
889 if ((zhp = zfs_open(g_zfs, argv[0], ZFS_TYPE_DATASET)) == NULL) in zfs_do_create()
1201 zfs_handle_t *zhp = zfs_open(g_zfs, nvpair_name(pair), in destroy_clones()
1290 zhp = zfs_open(g_zfs, argv[0], in zfs_do_destroy()
1387 if ((zhp = zfs_open(g_zfs, argv[0], type)) == NULL) in zfs_do_destroy()
2802 if ((zhp = zfs_open(g_zfs, argv[0], ZFS_TYPE_DATASET)) == NULL) in zfs_do_userspace()
3251 if ((zhp = zfs_open(g_zfs, argv[0], parents ? ZFS_TYPE_FILESYSTEM | in zfs_do_rename()
3298 zhp = zfs_open(g_zfs, argv[1], ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in zfs_do_promote()
3440 if ((snap = zfs_open(g_zfs, argv[0], ZFS_TYPE_SNAPSHOT)) == NULL) in zfs_do_rollback()
[all …]
H A Dzfs_iter.c439 zhp = zfs_open(g_zfs, argv[i], argtype); in zfs_for_each()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfilesys.h57 int zfs_open (char *dirname);
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c735 (zhp = zfs_open(zlibh, volname, ZFS_TYPE_DATASET)) == NULL) { in tlm_build_snapshot_name()
1217 if ((zhp = zfs_open(zlibh, chk_name, ZFS_TYPE_DATASET)) == NULL) { in chkpnt_creationtime_bypattern()
1284 if ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) == NULL) { in fs_is_chkpntvol()
1318 if ((zhp = zfs_open(zlibh, vol, ZFS_TYPE_DATASET)) == NULL) { in fs_is_chkpnt_enabled()
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c784 zfs_handle_t *origin = zfs_open(zhp->zfs_hdl, in send_iterate_fs()
832 zhp = zfs_open(hdl, fsname, ZFS_TYPE_FILESYSTEM | ZFS_TYPE_VOLUME); in gather_nvlist()
1400 zhp = zfs_open(rzhp->zfs_hdl, fsname, ZFS_TYPE_DATASET); in dump_filesystems()
1562 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in zfs_send_resume()
2069 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in recv_rename()
2143 zhp = zfs_open(hdl, name, ZFS_TYPE_DATASET); in recv_destroy()
2300 guid1hdl = zfs_open(hdl, buf, ZFS_TYPE_SNAPSHOT); in created_before()
2307 guid2hdl = zfs_open(hdl, buf, ZFS_TYPE_SNAPSHOT); in created_before()
2742 zhp = zfs_open(hdl, nvpair_name(pair), in zfs_receive_package()
2918 zfs_handle_t *zhp = zfs_open(hdl, target_fs, in recv_ecksum_set_aux()
[all …]
H A Dmapfile-vers103 zfs_open;
H A Dlibzfs_diff.c619 zhp = zfs_open(hdl, di->ds, ZFS_TYPE_FILESYSTEM); in get_snapshot_names()
631 zhp = zfs_open(hdl, origin, ZFS_TYPE_FILESYSTEM); in get_snapshot_names()
H A Dlibzfs_iter.c49 zfs_handle_t *clone = zfs_open(zhp->zfs_hdl, nvpair_name(pair), in zfs_iter_clones()
/titanic_41/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c346 handle = zfs_open(libhandle, dataset, ZFS_TYPE_FILESYSTEM); in get_zfs_property()
382 handle = zfs_open(libhandle, dataset, in sa_zfs_is_shared()
1561 z_fs = zfs_open(z_lib, dataset, ZFS_TYPE_DATASET); in sa_zfs_setprop()
/titanic_41/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c455 if ((zfh = zfs_open(mp->gm_fs.gf_lzfh, in bootfs()
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_share.c2028 if ((zfshd = zfs_open(libhd, buf, ZFS_TYPE_FILESYSTEM)) == NULL) { in smb_shr_zfs_add()
2068 if ((zfshd = zfs_open(libhd, buf, ZFS_TYPE_FILESYSTEM)) == NULL) { in smb_shr_zfs_remove()
2106 if ((zfshd = zfs_open(libhd, dataset, ZFS_TYPE_FILESYSTEM)) == NULL) { in smb_shr_zfs_rename()

12