Lines Matching defs:cleanup_fd
1007 int cleanup_fd;
1107 * zfs_send() only opens a cleanup_fd for sends that need it,
1110 if (sdd->cleanup_fd == -1)
1124 B_FALSE, B_TRUE, B_TRUE, sdd->cleanup_fd,
1631 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL);
1632 if (sdd.cleanup_fd < 0) {
1637 sdd.cleanup_fd = -1;
1648 if (sdd.cleanup_fd != -1) {
1649 VERIFY(0 == close(sdd.cleanup_fd));
1650 sdd.cleanup_fd = -1;
1673 if (sdd.cleanup_fd != -1)
1674 VERIFY(0 == close(sdd.cleanup_fd));
1694 int cleanup_fd;
3389 zc.zc_cleanup_fd = rdp->cleanup_fd;
3802 int cleanup_fd;
3807 cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL);
3808 VERIFY(cleanup_fd >= 0);
3815 rd.cleanup_fd = cleanup_fd;
3823 VERIFY(0 == close(cleanup_fd));