Searched refs:libzfs_fd (Results 1 – 8 of 8) sorted by relevance
| /illumos-gate/usr/src/lib/libzfs/common/ |
| H A D | libzfs_config.c | 136 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_CONFIGS, &zc) != 0) { in namespace_reload() 282 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
| H A D | libzfs_util.c | 691 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init() 698 (void) close(hdl->libzfs_fd); in libzfs_init() 707 (void) close(hdl->libzfs_fd); in libzfs_init() 728 (void) close(hdl->libzfs_fd); in libzfs_init() 745 (void) close(hdl->libzfs_fd); in libzfs_fini() 925 return (ioctl(hdl->libzfs_fd, request, zc)); in zfs_ioctl()
|
| H A D | libzfs_diff.c | 95 error = ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_STATS, &zc); in get_stats_for_obj() 394 err = ioctl(lhdl->libzfs_fd, ZFS_IOC_NEXT_OBJ, &zc); in write_free_diffs() 517 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) { in make_temp_snapshot() 797 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc); in zfs_show_diffs()
|
| H A D | libzfs_impl.h | 66 int libzfs_fd; member
|
| H A D | libzfs_pool.c | 86 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 3048 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) in zpool_vdev_fault() 3083 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) in zpool_vdev_degrade() 3792 if (ioctl(hdl->libzfs_fd, ZFS_IOC_CLEAR, &zc) == 0) in zpool_vdev_clear() 4004 (void) ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_VDEV_SETPATH, &zc); in set_path() 4244 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_ERROR_LOG, in zpool_get_errlog() 4357 err = ioctl(hdl->libzfs_fd, ZFS_IOC_LOG_HISTORY, &zc); in zpool_log_history() 4384 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_HISTORY, &zc) != 0) { in get_history() 4492 if (ioctl(zhp->zpool_hdl->libzfs_fd, in zpool_obj_to_path() 4507 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH, in zpool_obj_to_path()
|
| H A D | libzfs_dataset.c | 326 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, zc) != 0) { in get_stats_ioctl() 354 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_RECVD_PROPS, &zc) != 0) { in get_recvd_props_ioctl() 3177 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_USERSPACE_ONE, &zc); in zfs_prop_get_userquota_common() 3253 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SPACE_WRITTEN, &zc); in zfs_prop_get_written_int() 3388 if (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0 && in check_parents() 4706 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SHARE, &zc); in zfs_deleg_share_nfs() 4786 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc); in zfs_smb_acl_mgmt() 5136 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) { in zfs_get_fsacl()
|
| H A D | libzfs_iter.c | 71 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc); in zfs_do_list_ioctl()
|
| H A D | libzfs_sendrecv.c | 1431 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) { in dump_filesystem() 1449 if (ioctl(zhp->zfs_hdl->libzfs_fd, in dump_filesystem() 3939 if (ioctl(hdl->libzfs_fd, ZFS_IOC_SNAPSHOT_LIST_NEXT, in zfs_receive_one()
|