/freebsd/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.c | 524 lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist) in lzc_hold() argument 540 if (cleanup_fd != -1) in lzc_hold() 541 fnvlist_add_int32(args, "cleanup_fd", cleanup_fd); in lzc_hold() 1264 int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_one() argument 1268 (void) action_handle, (void) cleanup_fd; in lzc_receive_one() 1286 const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_with_cmdprops() argument 1290 (void) action_handle, (void) cleanup_fd; in lzc_receive_with_cmdprops() 1306 int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_with_heal() argument 1310 (void) action_handle, (void) cleanup_fd; in lzc_receive_with_heal()
|
H A D | libzfs_core.abi | 2887 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3003 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3022 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3042 <parameter type-id='95e97e5e' name='cleanup_fd'/>
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _libzfs_core.py | 1205 origin=None, props=None, cleanup_fd=-1, action_handle=0 argument 1301 begin_record, cleanup_fd, c_read_bytes, c_errflags, 1311 origin=None, props=None, cmdprops=None, key=None, cleanup_fd=-1, argument 1422 force, resumable, raw, fd, begin_record, cleanup_fd, c_read_bytes, 1432 raw=False, origin=None, props=None, cmdprops=None, key=None, cleanup_fd=-1, argument 1551 force, corrective, resumable, raw, fd, begin_record, cleanup_fd,
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | libzfs_input_check.c | 533 int cleanup_fd = open(ZFS_DEV, O_RDWR); in test_recv_new() local 534 if (cleanup_fd == -1) { in test_recv_new() 556 fnvlist_add_int32(optional, "cleanup_fd", cleanup_fd); in test_recv_new() 575 (void) close(cleanup_fd); in test_recv_new()
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_libzfs_core.py | 138 def cleanup_fd(): function 2557 with cleanup_fd() as cfd: 3127 with cleanup_fd() as fd: 3131 with cleanup_fd() as fd: 3141 with cleanup_fd() as fd: 3159 with cleanup_fd() as fd: 3169 with cleanup_fd() as fd: 3177 with cleanup_fd() as fd: 3186 with cleanup_fd() as fd: 3212 with cleanup_fd() as fd: [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_sendrecv.c | 750 int cleanup_fd; member 2440 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR | O_CLOEXEC); in zfs_send_cb_impl() 2441 if (sdd.cleanup_fd < 0) { in zfs_send_cb_impl() 2447 sdd.cleanup_fd = -1; in zfs_send_cb_impl() 2486 err = zfs_hold_nvl(zhp, sdd.cleanup_fd, sdd.snapholds); in zfs_send_cb_impl() 2506 if (sdd.cleanup_fd != -1) { in zfs_send_cb_impl() 2507 VERIFY(0 == close(sdd.cleanup_fd)); in zfs_send_cb_impl() 2508 sdd.cleanup_fd = -1; in zfs_send_cb_impl() 2532 if (sdd.cleanup_fd != -1) in zfs_send_cb_impl() 2533 VERIFY(0 == close(sdd.cleanup_fd)); in zfs_send_cb_impl() [all …]
|
H A D | libzfs_dataset.c | 5002 boolean_t recursive, int cleanup_fd) in zfs_hold() argument 5026 ret = zfs_hold_nvl(zhp, cleanup_fd, ha.nvl); in zfs_hold() 5033 zfs_hold_nvl(zfs_handle_t *zhp, int cleanup_fd, nvlist_t *holds) in zfs_hold_nvl() argument 5042 ret = lzc_hold(holds, cleanup_fd, &errors); in zfs_hold_nvl()
|
H A D | libzfs.abi | 4887 <parameter type-id='95e97e5e' name='cleanup_fd'/> 4892 <parameter type-id='95e97e5e' name='cleanup_fd'/>
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_ioctl.c | 6506 int cleanup_fd = -1; in zfs_ioc_hold() local 6526 if (nvlist_lookup_int32(args, "cleanup_fd", &cleanup_fd) == 0) { in zfs_ioc_hold() 6527 fp = zfs_onexit_fd_hold(cleanup_fd, &minor); in zfs_ioc_hold()
|