Searched refs:libzfs_fd (Results 1 – 9 of 9) sorted by relevance
| /netbsd-src/external/cddl/osnet/dist/lib/libzfs/common/ |
| 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() 399 err = ioctl(lhdl->libzfs_fd, ZFS_IOC_NEXT_OBJ, &zc); in write_free_diffs() 526 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) { in make_temp_snapshot() 806 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc); in zfs_show_diffs()
|
| 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 | 667 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init() 673 (void) close(hdl->libzfs_fd); in libzfs_init() 681 (void) close(hdl->libzfs_fd); in libzfs_init() 699 (void) close(hdl->libzfs_fd); in libzfs_fini() 905 return (ioctl(hdl->libzfs_fd, request, zc)); in zfs_ioctl()
|
| H A D | libzfs_pool.c | 77 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 2530 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) 2565 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) 3220 if (ioctl(hdl->libzfs_fd, ZFS_IOC_CLEAR, &zc) == 0) 3345 (void) ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_VDEV_SETPATH, &zc); 3523 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_ERROR_LOG, 3636 err = ioctl(hdl->libzfs_fd, ZFS_IOC_LOG_HISTORY, &zc); 3663 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_HISTORY, &zc) != 0) { 3817 if (ioctl(zhp->zpool_hdl->libzfs_fd, 3832 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH, [all …]
|
| H A D | libzfs_impl.h | 57 int libzfs_fd; member
|
| H A D | libzfs_dataset.c | 303 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, zc) != 0) { in get_stats_ioctl() 331 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_RECVD_PROPS, &zc) != 0) { in get_recvd_props_ioctl() 2842 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_USERSPACE_ONE, &zc); in zfs_prop_get_userquota_common() 2911 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SPACE_WRITTEN, &zc); in zfs_prop_get_written_int() 3040 if (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0 && in check_parents() 4262 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SHARE, &zc); in zfs_deleg_share_nfs() 4343 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc); in zfs_smb_acl_mgmt() 4683 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) { in zfs_get_fsacl() 4894 if ((ret = ioctl(hdl->libzfs_fd, cmd, &zc)) != 0) in zfs_jail()
|
| H A D | libzfs_iter.c | 70 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc); in zfs_do_list_ioctl()
|
| H A D | libzfs_sendrecv.c | 1325 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) { in dump_filesystem() 1343 if (ioctl(zhp->zfs_hdl->libzfs_fd, in dump_filesystem() 2156 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc); in recv_rename() 2174 err = ioctl(hdl->libzfs_fd, ZFS_IOC_RENAME, &zc); in recv_rename() 2228 err = ioctl(hdl->libzfs_fd, ZFS_IOC_DESTROY, &zc); in recv_destroy() 3295 if (ioctl(hdl->libzfs_fd, ZFS_IOC_SNAPSHOT_LIST_NEXT, in zfs_receive_one()
|
| H A D | libzfs_import.c | 399 while ((err = ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_TRYIMPORT, in refresh_config()
|