Home
last modified time | relevance | path

Searched refs:zc_nvlist_dst_size (Results 1 – 13 of 13) sorted by relevance

/freebsd/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dioctl.c209 zc->zc_nvlist_dst_size = nvsz; in ioctl_with_dstnv()
215 errno = nvlist_unpack(nvbuf, zc->zc_nvlist_dst_size, &nvl, 0); in ioctl_with_dstnv()
222 nvsz = zc->zc_nvlist_dst_size; in ioctl_with_dstnv()
400 zc.zc_nvlist_dst_size = bufsz; in py_userspace_many()
403 if (error || zc.zc_nvlist_dst_size == 0) in py_userspace_many()
406 while (zc.zc_nvlist_dst_size > 0) { in py_userspace_many()
417 zc.zc_nvlist_dst_size -= sizeof (zfs_useracct_t); in py_userspace_many()
/freebsd/sys/contrib/openzfs/lib/libzfs_core/os/freebsd/
H A Dlibzfs_core_ioctl.c126 oldsize = zc->zc_nvlist_dst_size; in lzc_ioctl_fd()
129 if (ret == 0 && oldsize < zc->zc_nvlist_dst_size) { in lzc_ioctl_fd()
/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.c203 zc.zc_nvlist_dst_size = fnvlist_lookup_uint64(source, in lzc_ioctl()
206 zc.zc_nvlist_dst_size = MAX(size * 2, 128 * 1024); in lzc_ioctl()
209 malloc(zc.zc_nvlist_dst_size); in lzc_ioctl()
227 zc.zc_nvlist_dst_size *= 2; in lzc_ioctl()
229 malloc(zc.zc_nvlist_dst_size); in lzc_ioctl()
241 zc.zc_nvlist_dst_size); in lzc_ioctl()
1156 zc.zc_nvlist_dst_size = 128 * 1024; in recv_impl()
1158 malloc(zc.zc_nvlist_dst_size); in recv_impl()
1173 zc.zc_nvlist_dst_size, errors, KM_SLEEP)); in recv_impl()
H A Dlibzfs_core.abi2197 <var-decl name='zc_nvlist_dst_size' type-id='9c313c2d' visibility='default'/>
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_ioctl_compat.h110 uint64_t zc_nvlist_dst_size; member
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_config.c293 zhp->zpool_config_size = zc.zc_nvlist_dst_size; in zpool_refresh_stats()
H A Dlibzfs_util.c1193 zc->zc_nvlist_dst_size = len; in zcmd_alloc_dst_nvlist()
1195 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_alloc_dst_nvlist()
1208 (uint64_t)(uintptr_t)zfs_alloc(hdl, zc->zc_nvlist_dst_size); in zcmd_expand_dst_nvlist()
1261 zc->zc_nvlist_dst_size, nvlp, 0) != 0) in zcmd_read_dst_nvlist()
H A Dlibzfs_dataset.c4941 zc.zc_nvlist_dst_size = sizeof (buf); in zfs_userspace()
4958 if (zc.zc_nvlist_dst_size == 0) in zfs_userspace()
4961 while (zc.zc_nvlist_dst_size > 0) { in zfs_userspace()
4966 zc.zc_nvlist_dst_size -= sizeof (zfs_useracct_t); in zfs_userspace()
5234 zc.zc_nvlist_dst_size = nvsz; in zfs_get_fsacl()
5246 nvsz = zc.zc_nvlist_dst_size; in zfs_get_fsacl()
5266 int rc = nvlist_unpack(nvbuf, zc.zc_nvlist_dst_size, nvl, 0); in zfs_get_fsacl()
H A Dlibzfs_pool.c4572 zc.zc_nvlist_dst_size = buflen; in zpool_get_errlog()
4595 zbookmark_phys_t *zb = buf + zc.zc_nvlist_dst_size; in zpool_get_errlog()
4596 uint64_t zblen = buflen - zc.zc_nvlist_dst_size; in zpool_get_errlog()
H A Dlibzfs.abi2778 <var-decl name='zc_nvlist_dst_size' type-id='9c313c2d' visibility='default'/>
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_ioctl.h513 uint64_t zc_nvlist_dst_size; member
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzfs_ioctl.c1355 if (size > zc->zc_nvlist_dst_size) { in put_nvlist()
1365 zc->zc_nvlist_dst_size = size; in put_nvlist()
5567 if (zc->zc_nvlist_dst_size != 0 && errors != NULL && in zfs_ioc_recv()
5568 (nvlist_smush(errors, zc->zc_nvlist_dst_size) != 0 || in zfs_ioc_recv()
5989 &zc->zc_nvlist_dst_size); in zfs_ioc_error_log()
6247 int bufsize = zc->zc_nvlist_dst_size; in zfs_ioc_userspace_many()
6259 buf, &zc->zc_nvlist_dst_size); in zfs_ioc_userspace_many()
6264 zc->zc_nvlist_dst_size); in zfs_ioc_userspace_many()
6615 &zc->zc_nvlist_dst_size, &dropped); in zfs_ioc_events_next()
8092 if (!nvlist_empty(outnvl) || zc->zc_nvlist_dst_size != 0) { in zfsdev_ioctl_common()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dlibzfs_input_check.c160 zc.zc_nvlist_dst_size = MAX(size * 2, 128 * 1024); in lzc_ioctl_run()
161 zc.zc_nvlist_dst = (uint64_t)(uintptr_t)malloc(zc.zc_nvlist_dst_size); in lzc_ioctl_run()