Searched refs:packbuf (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libc/port/gen/
H A Dattrat.c116 char *packbuf = NULL; local
123 packbuf = malloc(bufsize);
124 if (packbuf == NULL)
126 if (nvpacker(request, &packbuf, &bufsize, NV_ENCODE_XDR, 0) != 0) {
127 free(packbuf);
131 *nv_request = (void *)packbuf;
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_sendrecv.c1532 char *packbuf = NULL; local
1556 err = nvlist_pack(hdrnv, &packbuf, &buflen,
1583 if (err != -1 && packbuf != NULL) {
1584 err = cksum_and_write(packbuf, buflen, &zc, outfd);
1586 free(packbuf);

Completed in 28 milliseconds