/titanic_44/usr/src/lib/libsysevent/ |
H A D | libsysevent.c | 1021 char *nvlbuf; in get_kernel_registration() local 1025 nvlbuf = calloc(1, MAX_SUBSCRIPTION_SZ); in get_kernel_registration() 1026 if (nvlbuf == NULL) { in get_kernel_registration() 1037 (uintptr_t)channel_name, (uintptr_t)nvlbuf, (uintptr_t)&udata, 0) in get_kernel_registration() 1042 free(nvlbuf); in get_kernel_registration() 1043 nvlbuf = calloc(1, udata.ps_buflen); in get_kernel_registration() 1044 if (nvlbuf == NULL) in get_kernel_registration() 1050 (uintptr_t)channel_name, (uintptr_t)nvlbuf, in get_kernel_registration() 1052 free(nvlbuf); in get_kernel_registration() 1056 free(nvlbuf); in get_kernel_registration() [all …]
|
/titanic_44/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | nvfile.c | 921 char *nvlbuf; in nvf_flush() local 943 nvlbuf = NULL; in nvf_flush() 944 rval = nvlist_pack(tmpnvl, &nvlbuf, &nvllen, NV_ENCODE_NATIVE, 0); in nvf_flush() 964 ((nvf_hdr_t *)nvfbuf)->nvfh_datasum = nvf_chksum((char *)nvlbuf, in nvf_flush() 972 bcopy(nvlbuf, nvfbuf + sizeof (nvf_hdr_t), nvllen); in nvf_flush() 978 kmem_free(nvlbuf, nvllen); in nvf_flush()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | log_sysevent.c | 1209 char *nvlbuf, size_t nvlsize) in add_registration() argument 1217 if (nvlist_unpack(nvlbuf, nvlsize, &nvl, KM_SLEEP) != 0) in add_registration() 1253 char *nvlbuf = NULL; in get_registration() local 1295 if (nvlist_pack(nvl, &nvlbuf, &nvlsize, NV_ENCODE_NATIVE, in get_registration() 1305 kmem_free(nvlbuf, nvlsize); in get_registration() 1310 bcopy(nvlbuf, databuf, nvlsize); in get_registration() 1311 kmem_free(nvlbuf, nvlsize); in get_registration()
|
/titanic_44/usr/src/lib/libipadm/common/ |
H A D | libipadm.c | 775 char *buf = NULL, *nvlbuf = NULL; in i_ipadm_init_ifs() local 783 err = nvlist_pack(nvl, &nvlbuf, &nvlsize, NV_ENCODE_NATIVE, 0); in i_ipadm_init_ifs() 800 (void) bcopy(nvlbuf, buf + sizeof (*iargp), nvlsize); in i_ipadm_init_ifs() 824 free(nvlbuf); in i_ipadm_init_ifs()
|
H A D | ipadm_addr.c | 2372 char *nvlbuf; in i_ipadm_get_db_addr() local 2388 nvlbuf = (char *)rvalp + sizeof (ipmgmt_get_rval_t); in i_ipadm_get_db_addr() 2389 err = nvlist_unpack(nvlbuf, nvlsize, onvl, NV_ENCODE_NATIVE); in i_ipadm_get_db_addr() 3128 char *buf = NULL, *nvlbuf = NULL; in i_ipadm_addr_persist_nvl() local 3133 err = nvlist_pack(nvl, &nvlbuf, &nvlsize, NV_ENCODE_NATIVE, 0); in i_ipadm_addr_persist_nvl() 3142 (void) bcopy(nvlbuf, buf + sizeof (*sargp), nvlsize); in i_ipadm_addr_persist_nvl() 3145 free(nvlbuf); in i_ipadm_addr_persist_nvl()
|
/titanic_44/usr/src/lib/libdladm/common/ |
H A D | libdlmgmt.c | 371 char *nvlbuf; in dladm_getsnap_conf() local 398 nvlbuf = (char *)retvalp + sizeof (dlmgmt_getconfsnapshot_retval_t); in dladm_getsnap_conf() 399 if ((err = nvlist_unpack(nvlbuf, retvalp->lr_nvlsz, in dladm_getsnap_conf()
|
/titanic_44/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 310 char *nvlbuf; in ipmgmt_setaddr_handler() local 315 nvlbuf = (char *)argp + sizeof (ipmgmt_setaddr_arg_t); in ipmgmt_setaddr_handler() 316 if ((err = nvlist_unpack(nvlbuf, nvlsize, &nvl, NV_ENCODE_NATIVE)) != 0) in ipmgmt_setaddr_handler()
|