Searched refs:libzfs_fd (Results 1 – 9 of 9) sorted by relevance
| /freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
| HD | libzfs_diff.c | 93 error = ioctl(di->zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_STATS, &zc); in get_stats_for_obj() 391 err = ioctl(lhdl->libzfs_fd, ZFS_IOC_NEXT_OBJ, &zc); in write_free_diffs() 518 if (ioctl(hdl->libzfs_fd, ZFS_IOC_TMP_SNAPSHOT, &zc) != 0) { in make_temp_snapshot() 798 iocerr = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_DIFF, &zc); in zfs_show_diffs()
|
| HD | 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()
|
| HD | libzfs_util.c | 665 if ((hdl->libzfs_fd = open(ZFS_DEV, O_RDWR)) < 0) { in libzfs_init() 671 (void) close(hdl->libzfs_fd); in libzfs_init() 679 (void) close(hdl->libzfs_fd); in libzfs_init() 701 (void) close(hdl->libzfs_fd); in libzfs_fini() 893 return (ioctl(hdl->libzfs_fd, request, zc)); in zfs_ioctl()
|
| HD | libzfs_impl.h | 62 int libzfs_fd; member
|
| HD | libzfs_pool.c | 79 while (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_PROPS, &zc) != 0) { in zpool_get_all_props() 2724 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) 2759 if (ioctl(hdl->libzfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0) 3479 if (ioctl(hdl->libzfs_fd, ZFS_IOC_CLEAR, &zc) == 0) 3604 (void) ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_VDEV_SETPATH, &zc); 3784 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_ERROR_LOG, 3897 err = ioctl(hdl->libzfs_fd, ZFS_IOC_LOG_HISTORY, &zc); 3924 if (ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_GET_HISTORY, &zc) != 0) { 4080 if (ioctl(zhp->zpool_hdl->libzfs_fd, 4095 if (ioctl(zhp->zpool_hdl->libzfs_fd, ZFS_IOC_OBJ_TO_PATH, [all …]
|
| HD | libzfs_dataset.c | 320 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, zc) != 0) { in get_stats_ioctl() 348 while (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_RECVD_PROPS, &zc) != 0) { in get_recvd_props_ioctl() 3103 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_USERSPACE_ONE, &zc); in zfs_prop_get_userquota_common() 3172 err = ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_SPACE_WRITTEN, &zc); in zfs_prop_get_written_int() 3301 if (ioctl(hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0 && in check_parents() 4605 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SHARE, &zc); in zfs_deleg_share_nfs() 4686 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SMB_ACL, &zc); in zfs_smb_acl_mgmt() 5026 if (ioctl(hdl->libzfs_fd, ZFS_IOC_GET_FSACL, &zc) != 0) { in zfs_get_fsacl() 5236 if ((ret = ioctl(hdl->libzfs_fd, cmd, &zc)) != 0) in zfs_jail()
|
| HD | libzfs_iter.c | 70 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc); in zfs_do_list_ioctl()
|
| HD | libzfs_sendrecv.c | 1349 if (ioctl(zhp->zfs_hdl->libzfs_fd, ZFS_IOC_OBJSET_STATS, &zc) != 0) { in dump_filesystem() 1367 if (ioctl(zhp->zfs_hdl->libzfs_fd, in dump_filesystem() 3370 if (ioctl(hdl->libzfs_fd, ZFS_IOC_SNAPSHOT_LIST_NEXT, in zfs_receive_one() 3388 ioctl(hdl->libzfs_fd, ZFS_IOC_DATASET_LIST_NEXT, in zfs_receive_one()
|
| HD | libzfs_import.c | 391 while ((err = ioctl(hdl->libzfs_fd, ZFS_IOC_POOL_TRYIMPORT, in refresh_config()
|