Searched refs:libzfs_fd (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/libzfs/common/ |
H A D | libzfs_config.c | 134 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_CONFIGS, &zc) != 0) { in namespace_reload() 279 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_POOL_STATS, in zpool_refresh_stats()
|
H A D | libzfs_diff.c | 102 error = ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_STATS, &zc); in get_stats_for_obj() 392 err = ioctl(lhdl->libzfs_fd, ZFS_IOC_NEXT_OBJ, &zc); in write_free_diffs() 515 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) { in make_temp_snapshot() 795 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc); in zfs_show_diffs()
|
H A D | libzfs_util.c | 623 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init() 629 (void) close(hdl->libzfs_fd); in libzfs_init() 637 (void) close(hdl->libzfs_fd); in libzfs_init() 655 (void) close(hdl->libzfs_fd); in libzfs_fini() 831 return (ioctl(hdl->libzfs_fd, request, zc)); in zfs_ioctl()
|
H A D | libzfs_impl.h | 61 int libzfs_fd; member
|
H A D | libzfs_pool.c | 78 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 2466 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) in zpool_vdev_fault() 2501 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) in zpool_vdev_degrade() 3149 if (ioctl(hdl->libzfs_fd, ZFS_IOC_CLEAR, &zc) == 0) in zpool_vdev_clear() 3270 (void) ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_VDEV_SETPATH, &zc); in set_path() 3434 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_ERROR_LOG, in zpool_get_errlog() 3547 err = ioctl(hdl->libzfs_fd, ZFS_IOC_LOG_HISTORY, &zc); in zpool_log_history() 3574 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_HISTORY, &zc) != 0) { in get_history() 3721 if (ioctl(zhp->zpool_hdl->libzfs_fd, in zpool_obj_to_path() 3736 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH, in zpool_obj_to_path()
|
H A D | libzfs_dataset.c | 349 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, zc) != 0) { in get_stats_ioctl() 377 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_RECVD_PROPS, &zc) != 0) { in get_recvd_props_ioctl() 2870 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_USERSPACE_ONE, &zc); in zfs_prop_get_userquota_common() 2939 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SPACE_WRITTEN, &zc); in zfs_prop_get_written_int() 3059 if (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0 && in check_parents() 4229 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SHARE, &zc); in zfs_deleg_share_nfs() 4309 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc); in zfs_smb_acl_mgmt() 4649 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) { in zfs_get_fsacl()
|
H A D | libzfs_iter.c | 69 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc); in zfs_do_list_ioctl()
|
H A D | libzfs_sendrecv.c | 1267 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) { in dump_filesystem() 1285 if (ioctl(zhp->zfs_hdl->libzfs_fd, in dump_filesystem() 2093 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc); in recv_rename() 2111 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc); in recv_rename() 2165 err = ioctl(hdl->libzfs_fd, ZFS_IOC_DESTROY, &zc); in recv_destroy() 3188 if (ioctl(hdl->libzfs_fd, ZFS_IOC_SNAPSHOT_LIST_NEXT, in zfs_receive_one()
|
H A D | libzfs_import.c | 391 while ((err = ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_TRYIMPORT, in refresh_config()
|