Home
last modified time | relevance | path

Searched refs:nvbuf (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c218 void *nvbuf; in ioctl_with_dstnv() local
222 nvbuf = malloc(nvsz); in ioctl_with_dstnv()
224 zc->zc_nvlist_dst = (uintptr_t)nvbuf; in ioctl_with_dstnv()
229 errno = nvlist_unpack(nvbuf, zc->zc_nvlist_dst_size, &nvl, 0); in ioctl_with_dstnv()
235 free(nvbuf); in ioctl_with_dstnv()
239 free(nvbuf); in ioctl_with_dstnv()
328 char *name, *nvbuf; in py_set_fsacl() local
343 nvbuf = malloc(nvsz); in py_set_fsacl()
344 err = nvlist_pack(nvl, &nvbuf, &nvsz, NV_ENCODE_NATIVE, 0); in py_set_fsacl()
349 zc.zc_nvlist_src = (uintptr_t)nvbuf; in py_set_fsacl()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_sysevent.c279 char nvbuf[ERPT_DATA_SZ]; in sysev_replay() local
324 if (pread64(fd, nvbuf, ed.ed_size, in sysev_replay()
333 if ((chksum = sysev_checksum(nvbuf, in sysev_replay()
343 if ((err = nvlist_xunpack(nvbuf, in sysev_replay()
H A Dfmd_log.c518 char *nvbuf, *eabuf; in fmd_log_append() local
527 nvbuf = fmd_alloc(nvsize, FMD_SLEEP); in fmd_log_append()
528 (void) nvlist_pack(ep->ev_nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0); in fmd_log_append()
537 err |= ea_set_item(&i2, CAT_FMA_NVLIST, nvbuf, nvsize); in fmd_log_append()
682 fmd_free(nvbuf, nvsize); in fmd_log_append()
H A Dfmd_ckpt.c534 char *nvbuf = (char *)ckp->ckp_ptr + sizeof (fcf_nvl_t); in fmd_ckpt_save_nvlist() local
540 (void) nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_NATIVE, 0); in fmd_ckpt_save_nvlist()
/illumos-gate/usr/src/uts/common/os/
H A Ddevcache.c666 char *nvbuf; in fwrite_nvlist() local
675 nvbuf = NULL; in fwrite_nvlist()
676 err = nvlist_pack(nvl, &nvbuf, &buflen, NV_ENCODE_NATIVE, 0); in fwrite_nvlist()
689 ((nvpf_hdr_t *)buf)->nvpf_chksum = nvp_cksum((uchar_t *)nvbuf, buflen); in fwrite_nvlist()
693 bcopy(nvbuf, buf + sizeof (nvpf_hdr_t), buflen); in fwrite_nvlist()
694 kmem_free(nvbuf, buflen); in fwrite_nvlist()
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c49 typedef struct nvbuf { struct
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c1301 char *nvbuf; in vdev_label_write_bootenv() local
1335 nvbuf = bootenv->vbe_bootenv; in vdev_label_write_bootenv()
1341 if (nvlist_lookup_string(env, GRUB_ENVMAP, &nvbuf) == 0) { in vdev_label_write_bootenv()
1342 (void) strlcpy(bootenv->vbe_bootenv, nvbuf, nvsize); in vdev_label_write_bootenv()
1348 error = nvlist_pack(env, &nvbuf, &nvsize, NV_ENCODE_XDR, in vdev_label_write_bootenv()
/illumos-gate/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c1138 char *buf, *nvbuf, *class; in etm_send() local
1254 nvbuf = buf + hdrlen; in etm_send()
1258 if (rv = nvlist_pack(msgnvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0)) { in etm_send()
1288 etm_hex_dump(hdl, nvbuf, nvsize, 1); in etm_send()
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c151 char *buf, *nvbuf; in ip_fmdo_send() local
196 nvbuf = buf + sizeof (ip_hdr_t); in ip_fmdo_send()
200 err = nvlist_pack(nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0); in ip_fmdo_send()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c5116 void *nvbuf; in zfs_get_fsacl() local
5125 nvbuf = malloc(nvsz); in zfs_get_fsacl()
5126 if (nvbuf == NULL) { in zfs_get_fsacl()
5132 zc.zc_nvlist_dst = (uintptr_t)nvbuf; in zfs_get_fsacl()
5142 free(nvbuf); in zfs_get_fsacl()
5163 int rc = nvlist_unpack(nvbuf, zc.zc_nvlist_dst_size, nvl, 0); in zfs_get_fsacl()
5172 free(nvbuf); in zfs_get_fsacl()
5182 char *nvbuf; in zfs_set_fsacl() local
5193 nvbuf = malloc(nvsz); in zfs_set_fsacl()
5195 err = nvlist_pack(nvl, &nvbuf, &nvsz, NV_ENCODE_NATIVE, 0); in zfs_set_fsacl()
[all …]