Searched refs:nvsz (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/lib/pyzfs/common/ |
H A D | ioctl.c | 217 int nvsz = 2048; in ioctl_with_dstnv() local 222 nvbuf = malloc(nvsz); in ioctl_with_dstnv() 223 zc->zc_nvlist_dst_size = nvsz; in ioctl_with_dstnv() 236 nvsz = zc->zc_nvlist_dst_size; in ioctl_with_dstnv() 326 size_t nvsz; in py_set_fsacl() local 341 err = nvlist_size(nvl, &nvsz, NV_ENCODE_NATIVE); in py_set_fsacl() 343 nvbuf = malloc(nvsz); in py_set_fsacl() 344 err = nvlist_pack(nvl, &nvbuf, &nvsz, NV_ENCODE_NATIVE, 0); in py_set_fsacl() 348 zc.zc_nvlist_src_size = nvsz; in py_set_fsacl()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_zvolops.c | 187 size_t nvsz; in devzvol_objset_check() local 200 zc->zc_nvlist_src = (uintptr_t)fnvlist_pack(nvl, &nvsz); in devzvol_objset_check() 201 zc->zc_nvlist_src_size = nvsz; in devzvol_objset_check() 209 fnvlist_pack_free((char *)(uintptr_t)zc->zc_nvlist_src, nvsz); in devzvol_objset_check()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 5115 int nvsz = 2048; in zfs_get_fsacl() local 5125 nvbuf = malloc(nvsz); in zfs_get_fsacl() 5131 zc.zc_nvlist_dst_size = nvsz; in zfs_get_fsacl() 5143 nvsz = zc.zc_nvlist_dst_size; in zfs_get_fsacl() 5184 size_t nvsz; in zfs_set_fsacl() local 5190 err = nvlist_size(nvl, &nvsz, NV_ENCODE_NATIVE); in zfs_set_fsacl() 5193 nvbuf = malloc(nvsz); in zfs_set_fsacl() 5195 err = nvlist_pack(nvl, &nvbuf, &nvsz, NV_ENCODE_NATIVE, 0); in zfs_set_fsacl() 5198 zc.zc_nvlist_src_size = nvsz; in zfs_set_fsacl()
|