Home
last modified time | relevance | path

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

/titanic_50/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 …]
/titanic_50/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.c520 char *nvbuf, *eabuf; in fmd_log_append() local
529 nvbuf = fmd_alloc(nvsize, FMD_SLEEP); in fmd_log_append()
530 (void) nvlist_pack(ep->ev_nvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0); in fmd_log_append()
539 err |= ea_set_item(&i2, CAT_FMA_NVLIST, nvbuf, nvsize); in fmd_log_append()
684 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()
/titanic_50/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()
/titanic_50/usr/src/common/nvpair/
H A Dnvpair_alloc_fixed.c51 typedef struct nvbuf { struct
/titanic_50/usr/src/cmd/fm/modules/common/event-transport/
H A Detm.c1140 char *buf, *nvbuf, *class; in etm_send() local
1256 nvbuf = buf + hdrlen; in etm_send()
1260 if (rv = nvlist_pack(msgnvl, &nvbuf, &nvsize, NV_ENCODE_XDR, 0)) { in etm_send()
1290 etm_hex_dump(hdl, nvbuf, nvsize, 1); in etm_send()
/titanic_50/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c4670 void *nvbuf; in zfs_get_fsacl() local
4679 nvbuf = malloc(nvsz); in zfs_get_fsacl()
4680 if (nvbuf == NULL) { in zfs_get_fsacl()
4686 zc.zc_nvlist_dst = (uintptr_t)nvbuf; in zfs_get_fsacl()
4696 free(nvbuf); in zfs_get_fsacl()
4717 int rc = nvlist_unpack(nvbuf, zc.zc_nvlist_dst_size, nvl, 0); in zfs_get_fsacl()
4726 free(nvbuf); in zfs_get_fsacl()
4736 char *nvbuf; in zfs_set_fsacl() local
4747 nvbuf = malloc(nvsz); in zfs_set_fsacl()
4749 err = nvlist_pack(nvl, &nvbuf, &nvsz, NV_ENCODE_NATIVE, 0); in zfs_set_fsacl()
[all …]
/titanic_50/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()