Searched refs:libzfs_fd (Results 1 - 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_impl.h62 int libzfs_fd; member in struct:libzfs_handle
H A Dlibzfs_config.c136 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_CONFIGS, &zc) != 0) {
282 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_POOL_STATS,
H A Dlibzfs_util.c624 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) {
630 (void) close(hdl->libzfs_fd);
638 (void) close(hdl->libzfs_fd);
656 (void) close(hdl->libzfs_fd);
832 return (ioctl(hdl->libzfs_fd, request, zc));
H A Dlibzfs_diff.c95 error = ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_STATS, &zc);
386 err = ioctl(lhdl->libzfs_fd, ZFS_IOC_NEXT_OBJ, &zc);
509 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) {
789 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc);
H A Dlibzfs_pool.c77 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) {
2524 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0)
2559 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0)
3204 if (ioctl(hdl->libzfs_fd, ZFS_IOC_CLEAR, &zc) == 0)
3325 (void) ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_VDEV_SETPATH, &zc);
3489 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_ERROR_LOG,
3602 err = ioctl(hdl->libzfs_fd, ZFS_IOC_LOG_HISTORY, &zc);
3629 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_HISTORY, &zc) != 0) {
3776 if (ioctl(zhp->zpool_hdl->libzfs_fd,
3791 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PAT
[all...]
H A Dlibzfs_iter.c70 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc);
H A Dlibzfs_dataset.c320 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, zc) != 0) {
348 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_RECVD_PROPS, &zc) != 0) {
2889 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_USERSPACE_ONE, &zc);
2958 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SPACE_WRITTEN, &zc);
3087 if (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0 &&
4279 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SHARE, &zc);
4359 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc);
4698 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) {
H A Dlibzfs_sendrecv.c1322 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) {
1340 if (ioctl(zhp->zfs_hdl->libzfs_fd,
2155 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc);
2173 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc);
2227 err = ioctl(hdl->libzfs_fd, ZFS_IOC_DESTROY, &zc);
3264 if (ioctl(hdl->libzfs_fd, ZFS_IOC_SNAPSHOT_LIST_NEXT,
H A Dlibzfs_import.c391 while ((err = ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_TRYIMPORT,

Completed in 115 milliseconds