Searched defs:cleanup_fd (Results 1 - 6 of 6) sorted by relevance
| /illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
| H A D | ndmpd_chkpnt.c | 52 static int cleanup_fd = -1; variable 200 if (cleanup_fd == -1 && (cleanup_fd = open(ZFS_DEV, 208 if (zfs_hold(zhp, p, jname, recursive, cleanup_fd) != 0) { 235 if (cleanup_fd != -1) { 236 (void) close(cleanup_fd); 237 cleanup_fd = -1;
|
| /illumos-gate/usr/src/lib/libzfs_core/common/ |
| H A D | libzfs_core.c | 344 * If cleanup_fd is not -1, it must be the result of open("/dev/zfs", O_EXCL). 345 * In this case, when the cleanup_fd is closed (including on process 363 lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist) argument 379 if (cleanup_fd != -1) 380 fnvlist_add_int32(args, "cleanup_fd", cleanup_fd);
|
| /illumos-gate/usr/src/uts/common/fs/zfs/ |
| H A D | dmu_send.c | 2860 int cleanup_fd, uint64_t *action_handlep) 2899 if (cleanup_fd == -1) { 2903 ra.err = zfs_onexit_fd_hold(cleanup_fd, &minor); 2905 cleanup_fd = -1; 3020 if ((featureflags & DMU_BACKUP_FEATURE_DEDUP) && (cleanup_fd != -1)) 3021 zfs_onexit_fd_rele(cleanup_fd); 2859 dmu_recv_stream(dmu_recv_cookie_t *drc, vnode_t *vp, offset_t *voffp, int cleanup_fd, uint64_t *action_handlep) argument
|
| H A D | zfs_ioctl.c | 5225 * (optional) "cleanup_fd" -> fd (int32) 5239 int cleanup_fd = -1; local 5260 if (nvlist_lookup_int32(args, "cleanup_fd", &cleanup_fd) == 0) { 5261 error = zfs_onexit_fd_hold(cleanup_fd, &minor); 5268 zfs_onexit_fd_rele(cleanup_fd);
|
| /illumos-gate/usr/src/lib/libzfs/common/ |
| H A D | libzfs_dataset.c | 4465 boolean_t recursive, int cleanup_fd) 4489 ret = zfs_hold_nvl(zhp, cleanup_fd, ha.nvl); 4496 zfs_hold_nvl(zfs_handle_t *zhp, int cleanup_fd, nvlist_t *holds) argument 4505 ret = lzc_hold(holds, cleanup_fd, &errors); 4464 zfs_hold(zfs_handle_t *zhp, const char *snapname, const char *tag, boolean_t recursive, int cleanup_fd) argument
|
| H A D | libzfs_sendrecv.c | 932 int cleanup_fd; member in struct:send_dump_data 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)); 2674 zfs_receive_package(libzfs_handle_t *hdl, int fd, const char *destname, recvflags_t *flags, dmu_replay_record_t *drr, zio_cksum_t *zc, char **top_zfs, int cleanup_fd, uint64_t *action_handlep) argument 3019 zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap, const char *originsnap, recvflags_t *flags, dmu_replay_record_t *drr, dmu_replay_record_t *drr_noswap, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3594 zfs_receive_impl(libzfs_handle_t *hdl, const char *tosnap, const char *originsnap, recvflags_t *flags, int infd, const char *sendfs, nvlist_t *stream_nv, avl_tree_t *stream_avl, char **top_zfs, int cleanup_fd, uint64_t *action_handlep, const char *finalsnap) argument 3720 int cleanup_fd; local [all...] |
Completed in 100 milliseconds