/illumos-gate/usr/src/man/man3nvpair/ |
H A D | Makefile | 22 nvlist_alloc.3nvpair \ 152 nv_alloc_fini.3nvpair := LINKSRC = nvlist_alloc.3nvpair 153 nv_alloc_init.3nvpair := LINKSRC = nvlist_alloc.3nvpair 154 nv_alloc_reset.3nvpair := LINKSRC = nvlist_alloc.3nvpair 155 nvlist_dup.3nvpair := LINKSRC = nvlist_alloc.3nvpair 156 nvlist_free.3nvpair := LINKSRC = nvlist_alloc.3nvpair 157 nvlist_lookup_nv_alloc.3nvpair := LINKSRC = nvlist_alloc.3nvpair 158 nvlist_merge.3nvpair := LINKSRC = nvlist_alloc.3nvpair 159 nvlist_pack.3nvpair := LINKSRC = nvlist_alloc.3nvpair 160 nvlist_size.3nvpair := LINKSRC = nvlist_alloc.3nvpair [all …]
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3nvpair.inc | 18 target=nvlist_alloc.3nvpair 20 target=nvlist_alloc.3nvpair 22 target=nvlist_alloc.3nvpair 76 file path=usr/share/man/man3nvpair/nvlist_alloc.3nvpair 78 target=nvlist_alloc.3nvpair 84 target=nvlist_alloc.3nvpair 113 target=nvlist_alloc.3nvpair 142 target=nvlist_alloc.3nvpair 145 target=nvlist_alloc.3nvpair 150 target=nvlist_alloc.3nvpair [all …]
|
/illumos-gate/usr/src/lib/fm/libfmd_msg/common/ |
H A D | fmd_msg_test.c | 64 if (nvlist_alloc(&auth, NV_UNIQUE_NAME, 0) != 0 || in main() 65 nvlist_alloc(&fmri, NV_UNIQUE_NAME, 0) != 0 || in main() 66 nvlist_alloc(&list, NV_UNIQUE_NAME, 0) != 0) { in main() 109 if (nvlist_alloc(&test_arr[i], NV_UNIQUE_NAME, 0) != 0) { in main()
|
/illumos-gate/usr/src/uts/intel/io/ |
H A D | devfm_machdep.c | 157 (void) nvlist_alloc(nvlp, NV_UNIQUE_NAME, KM_SLEEP); in populate_cpu() 248 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_physcpu_info() 300 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_cpu_retire() 329 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_gentopo_legacy() 392 (void) nvlist_alloc(&caches[i], NV_UNIQUE_NAME, KM_SLEEP); in fm_populate_cache() 464 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in fm_ioctl_cache_info()
|
/illumos-gate/usr/src/lib/libsrpt/common/ |
H A D | libsrpt.c | 78 ret = nvlist_alloc(&cfg_nv, NV_UNIQUE_NAME, 0); in srpt_GetConfig() 83 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0); in srpt_GetConfig() 214 ret = nvlist_alloc(&cfgnv, NV_UNIQUE_NAME, 0); in srpt_SetDefaultState() 281 ret = nvlist_alloc(&hcanv, NV_UNIQUE_NAME, 0); in srpt_SetTargetState()
|
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/ |
H A D | diskmon_conf.c | 168 if (nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0) != 0) { in namevalpr_to_nvlist() 339 (void) nvlist_alloc(&dmp->props, NV_UNIQUE_NAME, 0); in new_diskmon() 344 (void) nvlist_alloc(&dmp->app_props, NV_UNIQUE_NAME, 0); in new_diskmon() 399 else if (nvlist_alloc(&cdp->props, NV_UNIQUE_NAME, 0) != 0) { in new_cfgdata() 413 (void) nvlist_alloc(&cfgp->props, NV_UNIQUE_NAME, 0); in cfgdata_add_namevalpr() 449 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_indactions() 501 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_inds() 556 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_indrules() 595 (void) nvlist_alloc(&nvp, NV_UNIQUE_NAME, 0); in check_consistent_ind_indrules()
|
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | subr.c | 56 if (nvlist_alloc(&setlist, 0, 0) == ENOMEM) { in __cpc_pack_set() 72 if (nvlist_alloc(&reqlist[i], 0, 0) == ENOMEM) in __cpc_pack_set() 91 if (nvlist_alloc(&attrs, NV_UNIQUE_NAME, 0) == ENOMEM) in __cpc_pack_set()
|
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 198 ret = nvlist_alloc(&nv, NV_UNIQUE_NAME_TYPE, 0); in it_config_to_nv() 283 ret = nvlist_alloc(&tmpcfg->config_global_properties, in it_nv_to_config() 334 ret = nvlist_alloc(&tmpcfg->config_global_properties, in it_nv_to_config() 462 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tgtlist_to_nv() 512 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tgt_to_nv() 615 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tpgt_to_nv() 691 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tpgtlist_to_nv() 799 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_tpg_to_nv() 926 ret = nvlist_alloc(&pnv, NV_UNIQUE_NAME, 0); in it_tpglist_to_nv() 1115 ret = nvlist_alloc(nvl, NV_UNIQUE_NAME, 0); in it_ini_to_nv() [all …]
|
/illumos-gate/usr/src/lib/fm/libdiskstatus/common/ |
H A D | libdiskstatus.c | 97 if (nvlist_alloc(&dsp->ds_state, NV_UNIQUE_NAME, 0) != 0) { in disk_status_open() 189 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in disk_status_get() 199 if ((err = nvlist_alloc(&faults, NV_UNIQUE_NAME, 0)) != 0) in disk_status_get()
|
H A D | ds_scsi.c | 422 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 || in load_modepages() 443 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 || in load_modepages() 498 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 || in verify_logpage() 570 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0 || in load_logpages() 1051 if (nvlist_alloc(&sip->si_dsp->ds_predfail, NV_UNIQUE_NAME, 0) != 0) in logpage_ie_analyze() 1093 if (nvlist_alloc(&sip->si_dsp->ds_overtemp, NV_UNIQUE_NAME, 0) != 0) in logpage_temp_analyze() 1149 if (nvlist_alloc(&sip->si_dsp->ds_testfail, NV_UNIQUE_NAME, 0) != 0) in logpage_selftest_analyze() 1214 if (nvlist_alloc(&sip->si_dsp->ds_ssmwearout, NV_UNIQUE_NAME, 0) != 0) in logpage_ssm_analyze() 1279 if (nvlist_alloc(&sip->si_dsp->ds_predfail, in analyze_ie_sense()
|
/illumos-gate/usr/src/uts/intel/io/intel_nhm/ |
H A D | dimm_topo.c | 111 (void) nvlist_alloc(&newrank[i], NV_UNIQUE_NAME, KM_SLEEP); in inhm_rank() 143 (void) nvlist_alloc(&newdimm, NV_UNIQUE_NAME, KM_SLEEP); in inhm_dimm() 215 (void) nvlist_alloc(&newchannel[i], NV_UNIQUE_NAME, KM_SLEEP); in inhm_dimmlist() 261 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in inhm_create_nvl()
|
/illumos-gate/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 194 if (nvlist_alloc(&nv_elems[n], NV_UNIQUE_NAME, 0) != 0) in convert_element() 207 if (nvlist_alloc(&nv_record, NV_UNIQUE_NAME, 0) != 0) { in convert_element() 329 ret = nvlist_alloc(&nv_segment, NV_UNIQUE_NAME, 0); in convert_packets_in_segment() 367 err = nvlist_alloc(&nv, NV_UNIQUE_NAME, 0); in convert_fru()
|
/illumos-gate/usr/src/lib/libipp/ |
H A D | libipp.c | 198 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_destroy() 309 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_info() 365 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_action_mod() 418 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_list_mods() 475 if ((rc = nvlist_alloc(&nvlp, NV_UNIQUE_NAME, 0)) != 0) { in ipp_mod_list_actions()
|
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/ |
H A D | rsrc_info.c | 149 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in ri_pack() 214 if (nvlist_alloc(&nvl, 0, 0) != 0) { in ap_list_pack() 267 if (nvlist_alloc(&nvl, 0, 0) != 0) { in dev_list_pack() 321 if (nvlist_alloc(&nvl, 0, 0) != 0) { in client_list_pack() 366 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in ap_pack() 430 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in dev_pack() 475 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in client_pack()
|
/illumos-gate/usr/src/uts/common/contract/ |
H A D | process.c | 949 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_exit() 967 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, in contract_process_exit() 1052 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_fork() 1082 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_core() 1097 VERIFY(nvlist_alloc(&gnvl, NV_UNIQUE_NAME, in contract_process_core() 1132 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_hwerr() 1168 VERIFY(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) == 0); in contract_process_sig() 1173 VERIFY(nvlist_alloc(&gnvl, NV_UNIQUE_NAME, in contract_process_sig()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 181 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in pmcs_smhba_set_phy_props() 193 (void) nvlist_alloc(&phy_props[i], NV_UNIQUE_NAME, 0); in pmcs_smhba_set_phy_props() 269 if (nvlist_alloc(&attr_list, NV_UNIQUE_NAME_TYPE, 0) != 0) { in pmcs_smhba_log_sysevent()
|
/illumos-gate/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 128 (void) nvlist_alloc(&newrank[i], NV_UNIQUE_NAME, KM_SLEEP); in inb_rank() 165 (void) nvlist_alloc(&newdimm, NV_UNIQUE_NAME, KM_SLEEP); in inb_dimm() 237 (void) nvlist_alloc(&newchannel[i], NV_UNIQUE_NAME, KM_SLEEP); in inb_dimmlist() 307 (void) nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP); in inb_create_nvl()
|
/illumos-gate/usr/src/lib/libppt/common/ |
H A D | libppt.c | 107 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in dev_getinfo() 203 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in ppt_list_assigned() 435 if ((err = nvlist_alloc(&nd.nd_nvl, NV_UNIQUE_NAME, 0)) != 0) in ppt_list()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_door.c | 198 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in ipmgmt_setprop_handler() 737 if (nvlist_alloc(&cbarg.cb_onvl, NV_UNIQUE_NAME, 0) != 0) in ipmgmt_initif_handler() 797 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in ipmgmt_persist_if() 836 if (nvlist_alloc(&cbarg.cb_onvl, NV_UNIQUE_NAME, 0) != 0) in ipmgmt_common_handler() 935 if ((err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) != 0) in ipmgmt_ipmp_update_handler()
|
/illumos-gate/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 341 (void) nvlist_alloc(&errs, 0, 0); in it_config_setprop() 352 ret = nvlist_alloc(&cprops, NV_UNIQUE_NAME, 0); in it_config_setprop() 639 (void) nvlist_alloc(&errs, 0, 0); in it_tgt_setprop() 650 ret = nvlist_alloc(&tprops, NV_UNIQUE_NAME, 0); in it_tgt_setprop() 1397 (void) nvlist_alloc(&errs, 0, 0); in it_ini_setprop() 1408 ret = nvlist_alloc(&iprops, NV_UNIQUE_NAME, 0); in it_ini_setprop()
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | nv.h | 50 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in nvlist_create()
|
/illumos-gate/usr/src/cmd/hotplugd/ |
H A D | hotplugd_door.c | 331 if (nvlist_alloc(&results, NV_UNIQUE_NAME_TYPE, 0) != 0) { in cmd_getinfo() 432 if (nvlist_alloc(&results, NV_UNIQUE_NAME_TYPE, 0) != 0) { in cmd_changestate() 511 if (nvlist_alloc(&results, NV_UNIQUE_NAME_TYPE, 0) != 0) { in cmd_private()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_profile.c | 58 if (nvlist_alloc(&nvl, 0, 0)) in di_prof_init()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | pool_pset.c | 268 (void) nvlist_alloc(&pool_pset_default->pset_props, in pool_pset_enable() 352 (void) nvlist_alloc(&pset->pset_props, NV_UNIQUE_NAME, KM_SLEEP); in pool_pset_create() 792 (void) nvlist_alloc(&cpu->cpu_props, in pool_cpu_propput() 886 (void) nvlist_alloc(&cpu->cpu_props, in pool_pset_pack()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_smhba.c | 130 (void) nvlist_alloc(phy_props, NV_UNIQUE_NAME, KM_SLEEP); in mptsas_smhba_create_phy_props() 158 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP) != 0) { in mptsas_smhba_update_phy_props() 264 if (nvlist_alloc(&attr_list, NV_UNIQUE_NAME_TYPE, 0) != 0) { in mptsas_smhba_log_sysevent()
|