Lines Matching refs:zfs_hdl
94 if (ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH,
347 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd,
361 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd,
489 if (err = ioctl(di->zhp->zfs_hdl->libzfs_fd,
595 libzfs_handle_t *hdl = di->zhp->zfs_hdl;
642 libzfs_handle_t *hdl = di->zhp->zfs_hdl;
729 di->ds = zfs_alloc(di->zhp->zfs_hdl, tdslen + 1);
790 mounted = is_mounted(di->zhp->zfs_hdl, dsnm, mntpt);
795 return (zfs_error(di->zhp->zfs_hdl, EZFS_BADTYPE, di->errbuf));
818 di->tomnt = zfs_asprintf(di->zhp->zfs_hdl, "%s%s%s", di->dsmnt,
840 di->frommnt = zfs_asprintf(di->zhp->zfs_hdl, "%s%s%s", frommntpt,
899 zfs_error_aux(zhp->zfs_hdl, strerror(errno));
901 return (zfs_error(zhp->zfs_hdl, EZFS_PIPEFAILED, errbuf));
907 zfs_error_aux(zhp->zfs_hdl, strerror(errno));
911 return (zfs_error(zhp->zfs_hdl,
922 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc);
927 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN,
932 zfs_error_aux(zhp->zfs_hdl, dgettext(TEXT_DOMAIN,
936 zfs_error_aux(zhp->zfs_hdl, strerror(errno));
943 zfs_error_aux(zhp->zfs_hdl, strerror(di.zerr));
944 return (zfs_error(zhp->zfs_hdl, EZFS_DIFF, errbuf));
946 return (zfs_error(zhp->zfs_hdl, EZFS_DIFFDATA, errbuf));
954 zfs_error_aux(zhp->zfs_hdl, strerror(di.zerr));
955 return (zfs_error(zhp->zfs_hdl, EZFS_DIFF, errbuf));
1276 libzfs_handle_t *hdl = zhp->zfs_hdl;