Lines Matching defs:nvlbuf
1024 char *nvlbuf;
1028 nvlbuf = calloc(1, MAX_SUBSCRIPTION_SZ);
1029 if (nvlbuf == NULL) {
1040 (uintptr_t)channel_name, (uintptr_t)nvlbuf, (uintptr_t)&udata, 0)
1045 free(nvlbuf);
1046 nvlbuf = calloc(1, udata.ps_buflen);
1047 if (nvlbuf == NULL)
1053 (uintptr_t)channel_name, (uintptr_t)nvlbuf,
1055 free(nvlbuf);
1059 free(nvlbuf);
1064 if (nvlist_unpack(nvlbuf, udata.ps_buflen, &nvl, 0) != 0) {
1065 free(nvlbuf);
1068 free(nvlbuf);
2301 char *nvlbuf = NULL;
2324 if (nvlist_pack(nvl, &nvlbuf, &datalen, NV_ENCODE_NATIVE, 0) != 0) {
2333 SE_REGISTER, &SH_ID(shp), datalen, (uchar_t *)nvlbuf)
2336 free(nvlbuf);
2344 SH_ID(shp), datalen, (uchar_t *)nvlbuf) != 0) {
2346 free(nvlbuf);
2352 free(nvlbuf);