/freebsd/sys/contrib/openzfs/lib/libzfs_core/ |
H A D | libzfs_core.c | 569 lzc_hold(nvlist_t *holds, int cleanup_fd, nvlist_t **errlist) in lzc_hold() argument 585 if (cleanup_fd != -1) in lzc_hold() 586 fnvlist_add_int32(args, "cleanup_fd", cleanup_fd); in lzc_hold() 1309 int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_one() argument 1313 (void) action_handle, (void) cleanup_fd; in lzc_receive_one() 1331 const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_with_cmdprops() argument 1335 (void) action_handle, (void) cleanup_fd; in lzc_receive_with_cmdprops() 1351 int input_fd, const dmu_replay_record_t *begin_record, int cleanup_fd, in lzc_receive_with_heal() argument 1355 (void) action_handle, (void) cleanup_fd; in lzc_receive_with_heal()
|
H A D | libzfs_core.abi | 3076 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3192 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3211 <parameter type-id='95e97e5e' name='cleanup_fd'/> 3231 <parameter type-id='95e97e5e' name='cleanup_fd'/>
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _libzfs_core.py | 1206 origin=None, props=None, cleanup_fd=-1, action_handle=0 argument 1302 begin_record, cleanup_fd, c_read_bytes, c_errflags, 1312 origin=None, props=None, cmdprops=None, key=None, cleanup_fd=-1, argument 1423 force, resumable, raw, fd, begin_record, cleanup_fd, c_read_bytes, 1433 raw=False, origin=None, props=None, cmdprops=None, key=None, cleanup_fd=-1, argument 1552 force, corrective, resumable, raw, fd, begin_record, cleanup_fd,
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/ |
H A D | libzfs_input_check.c | 534 int cleanup_fd = open(ZFS_DEV, O_RDWR); in test_recv_new() local 535 if (cleanup_fd == -1) { in test_recv_new() 557 fnvlist_add_int32(optional, "cleanup_fd", cleanup_fd); in test_recv_new() 576 (void) close(cleanup_fd); in test_recv_new()
|
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/test/ |
H A D | test_libzfs_core.py | 139 def cleanup_fd(): function 2558 with cleanup_fd() as cfd: 3128 with cleanup_fd() as fd: 3132 with cleanup_fd() as fd: 3142 with cleanup_fd() as fd: 3160 with cleanup_fd() as fd: 3170 with cleanup_fd() as fd: 3178 with cleanup_fd() as fd: 3187 with cleanup_fd() as fd: 3213 with cleanup_fd() as fd: [all …]
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_sendrecv.c | 751 int cleanup_fd; member 2441 sdd.cleanup_fd = open(ZFS_DEV, O_RDWR | O_CLOEXEC); in zfs_send_cb_impl() 2442 if (sdd.cleanup_fd < 0) { in zfs_send_cb_impl() 2448 sdd.cleanup_fd = -1; in zfs_send_cb_impl() 2487 err = zfs_hold_nvl(zhp, sdd.cleanup_fd, sdd.snapholds); in zfs_send_cb_impl() 2507 if (sdd.cleanup_fd != -1) { in zfs_send_cb_impl() 2508 VERIFY0(close(sdd.cleanup_fd)); in zfs_send_cb_impl() 2509 sdd.cleanup_fd = -1; in zfs_send_cb_impl() 2533 if (sdd.cleanup_fd != -1) in zfs_send_cb_impl() 2534 VERIFY0(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 | 5080 <parameter type-id='95e97e5e' name='cleanup_fd'/> 5085 <parameter type-id='95e97e5e' name='cleanup_fd'/>
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_ioctl.c | 6634 int cleanup_fd = -1; in zfs_ioc_hold() local 6654 if (nvlist_lookup_int32(args, "cleanup_fd", &cleanup_fd) == 0) { in zfs_ioc_hold() 6655 fp = zfs_onexit_fd_hold(cleanup_fd, &minor); in zfs_ioc_hold()
|