Lines Matching refs:zfs_type
446 zhp->zfs_type = ZFS_TYPE_SNAPSHOT;
448 zhp->zfs_type = ZFS_TYPE_VOLUME;
450 zhp->zfs_type = ZFS_TYPE_FILESYSTEM;
516 zhp->zfs_head_type = pzhp->zfs_type;
517 zhp->zfs_type = ZFS_TYPE_SNAPSHOT;
534 zhp->zfs_type = zhp_orig->zfs_type;
622 zhp->zfs_type = ZFS_TYPE_BOOKMARK;
743 if (!(types & zhp->zfs_type)) {
1650 if ((nvl = zfs_valid_proplist(hdl, zhp->zfs_type, props,
1839 if (!zfs_prop_valid_for_type(prop, zhp->zfs_type))
2279 if (zhp->zfs_type != ZFS_TYPE_SNAPSHOT)
2345 if (!zfs_prop_valid_for_type(prop, zhp->zfs_type))
2516 switch (zhp->zfs_type) {
2685 if (!zfs_prop_valid_for_type(prop, zhp->zfs_type)) {
3010 return (zhp->zfs_type);
3154 int ds_type = zhp->zfs_type;
3421 if (zhp->zfs_type == ZFS_TYPE_BOOKMARK) {
3560 assert(zhp->zfs_type == ZFS_TYPE_SNAPSHOT);
3639 if (zhp->zfs_type == ZFS_TYPE_SNAPSHOT) {
3891 assert(zhp->zfs_type == ZFS_TYPE_FILESYSTEM ||
3892 zhp->zfs_type == ZFS_TYPE_VOLUME);
3911 if (zhp->zfs_type == ZFS_TYPE_VOLUME) {
3940 if ((zhp->zfs_type == ZFS_TYPE_VOLUME) &&
3980 if (zhp->zfs_type == ZFS_TYPE_SNAPSHOT) {
4010 if (!zfs_validate_name(hdl, target, zhp->zfs_type, B_TRUE))
4019 if (!zfs_validate_name(hdl, target, zhp->zfs_type, B_TRUE))
4067 } else if (zhp->zfs_type != ZFS_TYPE_SNAPSHOT) {
4682 assert(zhp->zfs_type == ZFS_TYPE_VOLUME ||
4683 zhp->zfs_type == ZFS_TYPE_FILESYSTEM);
4749 assert(zhp->zfs_type == ZFS_TYPE_VOLUME ||
4750 zhp->zfs_type == ZFS_TYPE_FILESYSTEM);