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

/illumos-gate/usr/src/cmd/zinject/
H A Dzinject.c156 int zfs_fd; variable
337 while (ioctl(zfs_fd, ZFS_IOC_INJECT_LIST_NEXT, &zc) == 0)
502 if (ioctl(zfs_fd, ZFS_IOC_CLEAR_FAULT, &zc) != 0) {
535 if (ioctl(zfs_fd, ZFS_IOC_CLEAR_FAULT, &zc) != 0) {
559 if (ioctl(zfs_fd, ZFS_IOC_INJECT_FAULT, &zc) != 0) {
617 if (ioctl(zfs_fd, ZFS_IOC_VDEV_SET_STATE, &zc) == 0)
687 if ((zfs_fd = open(ZFS_DEV, O_RDWR)) < 0) {

Completed in 57 milliseconds