Lines Matching defs:cleanup_fd
932 int cleanup_fd;
1892 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL);
1893 if (sdd.cleanup_fd < 0) {
1899 sdd.cleanup_fd = -1;
1937 err = zfs_hold_nvl(zhp, sdd.cleanup_fd, sdd.snapholds);
1964 if (sdd.cleanup_fd != -1) {
1965 VERIFY(0 == close(sdd.cleanup_fd));
1966 sdd.cleanup_fd = -1;
1993 if (sdd.cleanup_fd != -1)
1994 VERIFY(0 == close(sdd.cleanup_fd));
2676 char **top_zfs, int cleanup_fd, uint64_t *action_handlep)
2851 sendfs, stream_nv, stream_avl, top_zfs, cleanup_fd,
3022 avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd,
3371 zc.zc_cleanup_fd = cleanup_fd;
3596 nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd,
3698 cleanup_fd, action_handlep, finalsnap));
3703 &zcksum, top_zfs, cleanup_fd, action_handlep));
3720 int cleanup_fd;
3729 cleanup_fd = open(ZFS_DEV, O_RDWR|O_EXCL);
3730 VERIFY(cleanup_fd >= 0);
3733 stream_avl, &top_zfs, cleanup_fd, &action_handle, NULL);
3735 VERIFY(0 == close(cleanup_fd));