Home
last modified time | relevance | path

Searched refs:zfs_get_name (Results 1 – 25 of 28) sorted by relevance

12

/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_mount.c636 zfs_get_name(zhp), md->altroot); in be_mount_zone_root()
821 zfs_get_name(zhp)); in be_get_legacy_fs()
833 zfs_get_name(zhp)); in be_get_legacy_fs()
1022 zfs_get_name(zhp), in be_mount_pool()
1048 "%s: %s\n"), zfs_get_name(zhp), in be_mount_pool()
1061 zfs_get_name(zhp), *tmp_mntpnt, in be_mount_pool()
1567 const char *name = zfs_get_name(zhp); in iter_shared_fs_callback()
2022 zfs_get_name(zhp)); in fix_mountpoint_callback()
2054 "%s: %s\n"), zfs_get_name(zhp), in fix_mountpoint_callback()
2719 zfs_get_name(zhp)); in mount_zfs()
[all …]
H A Dbe_zones.c122 if ((ret = be_get_uuid(zfs_get_name(be_zhp), in be_find_active_zone_root()
126 zfs_get_name(be_zhp)); in be_find_active_zone_root()
130 if ((ret = be_zone_get_parent_uuid(zfs_get_name(be_zhp), in be_find_active_zone_root()
134 zfs_get_name(be_zhp)); in be_find_active_zone_root()
530 if ((iret = be_zone_get_parent_uuid(zfs_get_name(zhp), &parent_uuid)) in be_find_active_zone_root_callback()
534 zfs_get_name(zhp), be_err_to_str(iret)); in be_find_active_zone_root_callback()
554 azr_data->zoneroot_ds = strdup(zfs_get_name(zhp)); in be_find_active_zone_root_callback()
592 mzr_data->zoneroot_ds = strdup(zfs_get_name(zhp)); in be_find_mounted_zone_root_callback()
624 "dataset (%s): %s\n"), zfs_get_name(zhp), in be_zone_get_active()
H A Dbe_create.c528 if (be_get_uuid(zfs_get_name(zhp), in be_destroy()
531 "UUID (%s)\n"), zfs_get_name(zhp)); in be_destroy()
1379 if (zfs_get_name(zhp) == NULL) { in be_has_snapshot_callback()
1930 zfs_get_name(zhp)); in be_destroy_zone_roots_callback()
1943 zfs_get_name(zhp)); in be_destroy_zone_roots_callback()
2029 "dataset %s\n"), zfs_get_name(nbe_zhp)); in be_copy_zones()
2652 "failed to unmount %s: %s\n"), zfs_get_name(zhp), in be_destroy_callback()
2662 "failed to destroy %s: %s\n"), zfs_get_name(zhp), in be_destroy_callback()
2730 zfs_get_name(dd.clone_zhp), in be_demote_callback()
2791 dd->snapshot = zfs_get_name(zhp); in be_demote_find_clone_callback()
[all …]
H A Dbe_snapshot.c504 "get ZFS pool version for %s: %s\n"), zfs_get_name(zhp), in _be_create_snapshot()
748 (void) snprintf(ss, sizeof (ss), "%s@%s", zfs_get_name(zhp), snap_name); in be_rollback_check_callback()
791 (void) snprintf(ss, sizeof (ss), "%s@%s", zfs_get_name(zhp), snap_name); in be_rollback_callback()
796 "failed to open snapshot %s: %s\n"), zfs_get_name(zhp), in be_rollback_callback()
807 zfs_get_name(zhp), ss, libzfs_error_description(g_zfs)); in be_rollback_callback()
H A Dbe_activate.c1629 sub_dataset = strdup(zfs_get_name(zhp)); in be_promote_ds_callback()
1653 zfs_get_name(zhp), in be_promote_ds_callback()
1673 "name collision: %s\n"), zfs_get_name(zhp), in be_promote_ds_callback()
H A Dbe_utils.c2344 zfs_get_name(zhp)); in be_update_zone_vfstab()
2369 zfs_get_name(zhp), md.altroot); in be_update_zone_vfstab()
2862 if ((bt->obe_root_ds = strdup(zfs_get_name(zhp))) in be_zfs_find_current_be_callback()
H A Dbe_list.c585 ds_path = str = strdup(zfs_get_name(zhp)); in be_add_children_callback()
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c119 nm = zfs_get_name(zhp); in match_mountpoint()
252 nump = (char *)(zfs_get_name(zhp) + cbp->len); in get_snap_max()
280 zfs_get_name(zhp)) >= sizeof (template)) in take_snapshot()
293 zfs_get_name(zhp), cb.max) >= snap_size) in take_snapshot()
416 "%s\n"), zfs_get_name(clone)); in clone_snap()
422 zfs_get_name(clone)); in clone_snap()
616 cd->snapshot = zfs_get_name(zhp); in find_clone()
710 "to %s: %s\n"), zfs_get_name(zhp), template, in rename_snap()
737 (void) strlcpy(nm, zfs_get_name(cln_zhp), sizeof (nm)); in promote_clone()
755 zfs_get_name(src_zhp)); in promote_clone()
[all …]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_crypto.c1162 zfs_get_name(zhp)); in zfs_crypto_load_key()
1167 zfs_get_name(zhp), prop_encroot); in zfs_crypto_load_key()
1184 zfs_get_name(zhp)); in zfs_crypto_load_key()
1234 zfs_get_name(zhp)); in zfs_crypto_load_key()
1242 "'%s' is busy."), zfs_get_name(zhp)); in zfs_crypto_load_key()
1248 zfs_get_name(zhp)); in zfs_crypto_load_key()
1322 zfs_get_name(zhp)); in zfs_crypto_unload_key()
1327 zfs_get_name(zhp), prop_encroot); in zfs_crypto_unload_key()
1349 zfs_get_name(zhp)); in zfs_crypto_unload_key()
1353 "'%s' is busy."), zfs_get_name(zhp)); in zfs_crypto_unload_key()
[all …]
H A Dlibzfs_mount.c299 return (is_mounted(zhp->zfs_hdl, zfs_get_name(zhp), where)); in zfs_is_mounted()
424 if (mount(zfs_get_name(zhp), mountpoint, MS_OPTIONSTR | flags, in zfs_mount()
458 libzfs_mnttab_add(hdl, zfs_get_name(zhp), mountpoint, in zfs_mount()
880 zfs_get_name(zhp), _sa_errorstr != NULL ? in zfs_share_proto()
899 zfs_get_name(zhp)); in zfs_share_proto()
913 zfs_get_name(zhp)); in zfs_share_proto()
920 zfs_get_name(zhp)); in zfs_share_proto()
1023 libzfs_mnttab_find(hdl, zfs_get_name(zhp), &entry) == 0)) { in zfs_unshare_proto()
1282 return (strcmp(zfs_get_name(za), zfs_get_name(zb))); in mountpoint_cmp()
H A Dlibzfs_iter.c327 shortsnapname = strchr(zfs_get_name(zhp), '@') + 1; in snapspec_cb()
388 "%s@%s", zfs_get_name(fs_zhp), in zfs_iter_snapspec()
409 zfs_get_name(fs_zhp), comma_separated); in zfs_iter_snapspec()
486 zfs_get_name(zhp)); in iter_dependents_cb()
H A Dmapfile-vers102 zfs_get_name;
H A Dlibzfs_changelist.c671 if ((temp = zfs_open(zhp->zfs_hdl, zfs_get_name(zhp), in changelist_gather()
H A Dlibzfs.h458 extern const char *zfs_get_name(const zfs_handle_t *);
H A Dlibzfs_dataset.c654 if (strcmp(dp->path, zfs_get_name(zhp)) == 0) { in zfs_open_bookmarks_cb()
2464 fnvlist_add_boolean(gca->value, zfs_get_name(zhp)); in get_clones_cb()
3285 zfs_get_name(const zfs_handle_t *zhp) in zfs_get_name() function
3351 return (parent_name(zfs_get_name(zhp), buf, buflen)); in zfs_parent_name()
4039 "%s@%s", zfs_get_name(zhp), sd->sd_snapname); in zfs_snapshot_cb()
4547 changelist_rename(cl, zfs_get_name(zhp), target); in zfs_rename()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c213 const char *lname = zfs_get_name(l); in zfs_compare()
214 const char *rname = zfs_get_name(r); in zfs_compare()
322 (void) strlcpy(lbuf, zfs_get_name(l), sizeof (lbuf)); in zfs_sort()
323 (void) strlcpy(rbuf, zfs_get_name(r), sizeof (rbuf)); in zfs_sort()
H A Dzfs_main.c1568 zfs_get_name(zhp)); in zfs_do_destroy()
1571 zfs_get_name(zhp)); in zfs_do_destroy()
3668 zfs_get_name(zhp)); in rollback_check()
6210 zfs_get_name(zhp)); in share_mount_one()
6219 zfs_get_name(zhp)); in share_mount_one()
6289 zfs_get_name(zhp)); in share_mount_one()
6352 zfs_get_name(zhp)); in share_mount_one()
6392 zfs_get_name(zhp)); in share_mount_one()
6778 zfs_get_name(zhp)); in unshare_unmount_path()
7033 zfs_get_name(zhp)); in unshare_unmount()
[all …]
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_property.c600 zfs_get_name(zhp)); in zjni_get_Dataset_properties()
622 zfs_get_name(zhp)); in zjni_get_Dataset_properties()
644 zfs_get_name(zhp)); in zjni_get_Dataset_properties()
668 zfs_get_name(zhp)); in zjni_get_Dataset_properties()
H A Dlibzfs_jni_dataset.c338 env, (char *)zfs_get_name(zhp), bean); in populate_DatasetBean()
582 zfs_get_name(zhp), parent, sizeof (parent)); in is_fs_snapshot()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_chkpnt.c75 name = zfs_get_name(zhp); in ndmp_has_backup()
H A Dndmpd_zfs.c1983 (char *)zfs_get_name(zhp)); in ndmpd_zfs_snapshot_prop_find()
1996 (char *)zfs_get_name(zhp)); in ndmpd_zfs_snapshot_prop_find()
2006 (char *)zfs_get_name(zhp), propstr, in ndmpd_zfs_snapshot_prop_find()
2014 (char *)zfs_get_name(zhp), propstr, in ndmpd_zfs_snapshot_prop_find()
2020 justsnap = strchr(zfs_get_name(zhp), '@') + 1; in ndmpd_zfs_snapshot_prop_find()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_vss.c374 (void) strlcpy(vss_data->mg_snapname, zfs_get_name(zhp), in smbd_vss_iterate_map_gmttoken()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c313 return (strdup((char *)zfs_get_name(hdl))); in verify_zfs_handle()
813 if ((dataset = (char *)zfs_get_name(fs_handle)) == NULL) in sa_get_zfs_share_common()
1621 dp = (char *)zfs_get_name(cb.cb_handles[i]); in sa_zfs_get_info()
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c267 (zfn = zfs_get_name(zfh)) != NULL && in match_bootfs()
H A Dlibgrub_fs.c183 (name = zfs_get_name(zfh)) == NULL || in get_zfs_root()

12