Home
last modified time | relevance | path

Searched refs:nvl (Results 1 – 25 of 419) sorted by relevance

12345678910>>...17

/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c49 nvlist_t *nvl; in fmd_protocol_authority() local
78 return (nvl); in fmd_protocol_authority()
88 nvlist_t *nvl; in fmd_protocol_fmri_module() local
110 return (nvl); in fmd_protocol_fmri_module()
117 nvlist_t *nvl; in fmd_protocol_fault() local
139 return (nvl); in fmd_protocol_fault()
148 nvlist_t *nvl; in fmd_protocol_list() local
205 return (nvl); in fmd_protocol_list()
258 return (nvl); in fmd_protocol_rsrc_asru()
290 return (nvl); in fmd_protocol_fmderror()
[all …]
H A Dfmd_fmri.c134 fmd_fmri_auth2str(nvlist_t *nvl) in fmd_fmri_auth2str() argument
254 nvl2scheme(nvlist_t *nvl) in nvl2scheme() argument
291 fmd_fmri_expand(nvlist_t *nvl) in fmd_fmri_expand() argument
300 rv = sp->sch_ops.sop_expand(nvl); in fmd_fmri_expand()
308 fmd_fmri_present(nvlist_t *nvl) in fmd_fmri_present() argument
325 fmd_fmri_replaced(nvlist_t *nvl) in fmd_fmri_replaced() argument
359 fmd_fmri_unusable(nvlist_t *nvl) in fmd_fmri_unusable() argument
381 fmd_fmri_retire(nvlist_t *nvl) in fmd_fmri_retire() argument
396 fmd_fmri_unretire(nvlist_t *nvl) in fmd_fmri_unretire() argument
437 nvlist_t *nvl; in fmd_fmri_translate() local
[all …]
/illumos-gate/usr/src/common/nvpair/
H A Dfnvpair.c53 nvlist_t *nvl; in fnvlist_alloc() local
55 return (nvl); in fnvlist_alloc()
59 fnvlist_free(nvlist_t *nvl) in fnvlist_free() argument
61 nvlist_free(nvl); in fnvlist_free()
65 fnvlist_size(nvlist_t *nvl) in fnvlist_size() argument
105 fnvlist_dup(nvlist_t *nvl) in fnvlist_dup() argument
108 VERIFY0(nvlist_dup(nvl, &rv, KM_SLEEP)); in fnvlist_dup()
119 fnvlist_num_pairs(nvlist_t *nvl) in fnvlist_num_pairs() argument
133 VERIFY0(nvlist_add_boolean(nvl, name)); in fnvlist_add_boolean()
211 VERIFY0(nvlist_add_nvpair(nvl, pair)); in fnvlist_add_nvpair()
[all …]
H A Dnvpair.c186 if (nvl == NULL || in nvlist_lookup_nv_alloc()
548 nvl->nvl_flag = 0; in nvlist_init()
549 nvl->nvl_pad = 0; in nvlist_init()
853 if (nvl == NULL || in nvlist_free()
937 if (nvl == NULL || name == NULL || nvl->nvl_priv == 0) in nvlist_remove_all()
955 if (nvl == NULL || name == NULL || nvl->nvl_priv == 0) in nvlist_remove()
1138 if (name == NULL || nvl == NULL || nvl->nvl_priv == 0) in nvlist_add_common()
1607 if (name == NULL || nvl == NULL || nvl->nvl_priv == 0) in nvlist_lookup_common()
2269 if (dst != nvl) in nvlist_merge()
2715 nvlist_t *nvl; in nvlist_xunpack() local
[all …]
/illumos-gate/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element.c50 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_IDENT, in elem_parse_device()
71 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_OFF, in elem_parse_device()
143 SES_NV_ADD(int64, nverr, nvl, SES_TEMP_PROP_TEMP, in elem_parse_temp()
285 SES_NV_ADD(uint64, nverr, nvl, SES_DPY_PROP_MODE, in elem_parse_display()
289 SES_NV_ADD(uint16, nverr, nvl, SES_DPY_PROP_CHAR, in elem_parse_display()
545 nvlist_t *nvl = ses_node_props(np); in elem_parse_sd() local
569 return (sp->func(esip, nvl)); in elem_parse_sd()
594 nvlist_t *nvl, size_t len) in elem_parse_aes_fc() argument
688 return (elem_parse_aes_fc(fp, nvl, len - in elem_parse_aes_device()
862 return (elem_parse_aes_fc(fp, nvl, len - in elem_parse_aes_misc()
[all …]
H A Dses2_enclosure.c42 SES_NV_ADD(uint64, nverr, nvl, SES_PROP_STATUS_CODE, in enc_parse_sd()
44 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_SWAP, in enc_parse_sd()
48 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_PRDFAIL, in enc_parse_sd()
52 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_WARN, in enc_parse_sd()
54 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_FAIL, in enc_parse_sd()
75 nvlist_t *nvl = ses_node_props(np); in enc_parse_help() local
133 nvlist_t *nvl = ses_node_props(np); in enc_parse_string_in() local
210 nvlist_t *nvl = ses_node_props(np); in enc_parse_dlucode() local
237 SES_NV_ADD(uint64, nverr, nvl, SES_EN_PROP_UCODE, in enc_parse_dlucode()
259 nvlist_t *nvl = ses_node_props(np); in enc_parse_subnick() local
[all …]
/illumos-gate/usr/src/lib/libsff/common/
H A Dlibsff.c620 nvlist_t *nvl, const char *key) in sff_add_unit_string() argument
651 nvlist_t *nvl) in sff_gather_bitfield() argument
696 sff_8472_comp_ib, nvl)) != 0) in sff_parse_compliance()
712 sff_8472_comp_eth, nvl)) != 0) in sff_parse_compliance()
878 sff_8472_pcable_comp, nvl)); in sff_parse_optical()
882 sff_8472_acable_comp, nvl)); in sff_parse_optical()
991 sff_8472_extopts, nvl)) != 0) in sff_parse_sfp()
995 nvl)) != 0) in sff_parse_sfp()
1332 nvl)) != 0) in sff_parse_qsfp()
1350 nvl)) != 0) in sff_parse_qsfp()
[all …]
/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_compliance.c32 lsc_print_array(nvlist_t *nvl, const char *key) in lsc_print_array() argument
54 nvlist_t *nvl; in main() local
76 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_10GBE); in main()
77 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_IB); in main()
80 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_GBE); in main()
83 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_SFP); in main()
87 nvlist_free(nvl); in main()
113 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_SAS); in main()
114 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_GBE); in main()
119 lsc_print_array(nvl, LIBSFF_KEY_EXT_MOD_CODES); in main()
[all …]
H A Dlibsff_wave.c40 nvlist_t *nvl; in main() local
51 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main()
63 nvlist_free(nvl); in main()
73 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main()
84 nvlist_free(nvl); in main()
102 nvlist_free(nvl); in main()
125 if ((ret = nvlist_lookup_string(nvl, attenuate[i], &val)) != in main()
135 if ((ret = nvlist_lookup_string(nvl, wave[i], &val)) != in main()
142 nvlist_free(nvl); in main()
159 if ((ret = nvlist_lookup_string(nvl, wave[i], &val)) != 0) { in main()
[all …]
H A Dlibsff_br.c36 nvlist_t *nvl; in main() local
47 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main()
52 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_NOMINAL, &val)) != in main()
63 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MIN, &val)) != in main()
69 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MAX, &val)) != in main()
74 nvlist_free(nvl); in main()
83 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main()
107 nvlist_free(nvl); in main()
117 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) { in main()
122 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_NOMINAL, in main()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/channel_program/lua_core/
H A Dnvlist_to_lua.c27 nvlist_t *nvl; variable
93 dump_nvlist(nvl, 4); in test()
121 fnvlist_free(nvl); in test()
122 nvl = fnvlist_alloc(); in test()
137 nvl = fnvlist_alloc(); in run_tests()
139 fnvlist_add_boolean(nvl, key); in run_tests()
269 fnvlist_free(nvl); in run_tests()
270 nvl = newval; in run_tests()
278 fnvlist_free(nvl); in run_tests()
279 nvl = newval; in run_tests()
[all …]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c186 nvlist_free(nvl); in ri_pack()
194 nvlist_free(nvl); in ri_pack()
239 nvlist_free(nvl); in ap_list_pack()
247 nvlist_free(nvl); in ap_list_pack()
292 nvlist_free(nvl); in dev_list_pack()
617 nvlist_t *nvl; in ap_list_unpack() local
676 nvlist_t *nvl; in dev_list_unpack() local
733 nvlist_t *nvl; in client_list_unpack() local
791 nvlist_t *nvl; in client_unpack() local
832 nvlist_t *nvl; in dev_unpack() local
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c89 nvlist_t *nvl; in smb_reparse_svcadd() local
96 smb_reparse_free(nvl); in smb_reparse_svcadd()
101 smb_reparse_free(nvl); in smb_reparse_svcadd()
114 nvlist_t *nvl; in smb_reparse_svcdel() local
121 smb_reparse_free(nvl); in smb_reparse_svcdel()
134 smb_reparse_free(nvl); in smb_reparse_svcdel()
150 nvlist_t *nvl; in smb_reparse_svcget() local
179 smb_reparse_free(nvl); in smb_reparse_svcget()
210 reparse_free(*nvl); in smb_reparse_init()
215 reparse_free(*nvl); in smb_reparse_init()
[all …]
/illumos-gate/usr/src/common/mc/imc/
H A Dimc_dump.c34 nvlist_t *nvl; in imc_dump_sad() local
67 return (nvl); in imc_dump_sad()
84 return (nvl); in imc_dump_sad()
91 nvlist_t *nvl; in imc_dump_tad() local
117 return (nvl); in imc_dump_tad()
124 nvlist_t *nvl; in imc_dump_channel() local
191 return (nvl); in imc_dump_channel()
198 nvlist_t *nvl; in imc_dump_mc() local
215 return (nvl); in imc_dump_mc()
249 return (nvl); in imc_dump_socket()
[all …]
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dnvlist.c375 nvl = calloc(1, sizeof (*nvl)); in nvlist_create()
382 nvl->nv_asize = nvl->nv_size = sizeof (*nvs); in nvlist_create()
723 nvl->nv_idx = nvl->nv_data; in nvlist_export()
752 nvl = malloc(sizeof (*nvl)); in nvlist_import()
768 nvl->nv_size = nvl->nv_asize; in nvlist_import()
769 nvl->nv_data = malloc(nvl->nv_asize); in nvlist_import()
774 nvl->nv_idx = nvl->nv_data; in nvlist_import()
775 bcopy(stream + 4, nvl->nv_data, nvl->nv_asize); in nvlist_import()
831 size = nvl->nv_size - (tail - nvl->nv_data); in nvlist_remove()
910 if (nvl->nv_data + nvl->nv_size < in nvlist_find()
[all …]
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c192 if (!nvl) { in it_config_to_nv()
196 *nvl = NULL; in it_config_to_nv()
205 *nvl = nv; in it_config_to_nv()
246 *nvl = nv; in it_config_to_nv()
281 if (!nvl) { in it_nv_to_config()
406 if (!nvl) { in it_nv_to_tgtlist()
451 if (!nvl) { in it_tgtlist_to_nv()
503 if (!nvl) { in it_tgt_to_nv()
606 if (!nvl) { in it_tpgt_to_nv()
646 if (!nvl) { in it_nv_to_tpgt()
[all …]
/illumos-gate/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c191 nvl = NULL; in ses_indicator_mode()
226 nvl = NULL; in ses_indicator_mode()
238 *out = nvl; in ses_indicator_mode()
298 nvl = NULL; in ses_sensor_reading()
308 *out = nvl; in ses_sensor_reading()
380 nvl = NULL; in ses_sensor_state()
390 *out = nvl; in ses_sensor_state()
445 nvl = NULL; in ses_psu_state()
455 *out = nvl; in ses_psu_state()
555 nvl = NULL; in ses_add_indicator()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_history.c267 nvlist_t *nvl = arg; in spa_history_log_sync() local
339 spa_history_log_notify(spa, nvl); in spa_history_log_sync()
364 fnvlist_free(nvl); in spa_history_log_sync()
374 nvlist_t *nvl = fnvlist_alloc(); in spa_history_log() local
377 err = spa_history_log_nvl(spa, nvl); in spa_history_log()
378 fnvlist_free(nvl); in spa_history_log()
404 nvarg = fnvlist_dup(nvl); in spa_history_log_nvl()
533 fnvlist_free(nvl); in log_internal()
546 spa_history_log_sync(nvl, tx); in log_internal()
585 nvlist_t *nvl = fnvlist_alloc(); in spa_history_log_internal_ds() local
[all …]
/illumos-gate/usr/src/lib/libcontract/common/
H A Dprocess.c111 if (info->nvl == NULL) in ct_pr_event_get_pid()
124 if (info->nvl == NULL) in ct_pr_event_get_ppid()
137 if (info->nvl == NULL) in ct_pr_event_get_signal()
150 if (info->nvl == NULL) in ct_pr_event_get_sender()
163 if (info->nvl == NULL) in ct_pr_event_get_senderct()
176 if (info->nvl == NULL) in ct_pr_event_get_exitstatus()
189 if (info->nvl == NULL) in ct_pr_event_get_pcorefile()
203 if (info->nvl == NULL) in ct_pr_event_get_gcorefile()
217 if (info->nvl == NULL) in ct_pr_event_get_zcorefile()
233 if (info->nvl == NULL) in ct_pr_status_get_param()
[all …]
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dnv.h26 nvlist_next(const nvlist_t *nvl, int *type, void **cookie) in nvlist_next() argument
30 nvp = nvlist_next_nvpair((nvlist_t *)nvl, nvp); in nvlist_next()
42 nvlist_t *nvl; in nvlist_create() local
50 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in nvlist_create()
52 return (nvl); in nvlist_create()
56 nvlist_exists_nvlist(const nvlist_t *nvl, const char *name) in nvlist_exists_nvlist() argument
64 nvlist_get_nvlist(const nvlist_t *nvl, const char *name) in nvlist_get_nvlist() argument
74 nvlist_exists_string(const nvlist_t *nvl, const char *name) in nvlist_exists_string() argument
82 nvlist_get_string(const nvlist_t *nvl, const char *name) in nvlist_get_string() argument
86 if (nvlist_lookup_string((nvlist_t *)nvl, name, &str) == 0) in nvlist_get_string()
[all …]
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/
H A Dalua_ic_if.c334 if (!nvl) { in stmf_ic_tx_msg()
358 nvlist_free(nvl); in stmf_ic_tx_msg()
448 nvlist_free(nvl); in stmf_ic_rx_msg()
1175 return (nvl); in stmf_ic_msg_marshal()
1177 nvlist_free(nvl); in stmf_ic_msg_marshal()
1422 if (nvl) { in stmf_ic_scsi_devid_desc_marshal()
1423 nvlist_free(nvl); in stmf_ic_scsi_devid_desc_marshal()
1451 if (nvl) { in stmf_ic_remote_port_marshal()
1452 nvlist_free(nvl); in stmf_ic_remote_port_marshal()
2130 nvlist_t *nvl, in stmf_ic_uint8_array_unmarshal() argument
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_xattr.c37 xoptattr_t *xoap, nvlist_t *nvl);
46 nvlist_t *nvl = NULL; in fop__getxvattr() local
57 nvlist_free(nvl); in fop__getxvattr()
58 nvl = NULL; in fop__getxvattr()
66 nvlist_free(nvl); in fop__getxvattr()
74 xoptattr_t *xoap, nvlist_t *nvl) in getxva_parse_nvl() argument
206 nvlist_t *nvl; in fop__setxvattr() local
217 VERIFY(nvlist_add_boolean_value(nvl, in fop__setxvattr()
223 VERIFY(nvlist_add_boolean_value(nvl, in fop__setxvattr()
243 VERIFY(nvlist_add_uint64_array(nvl, in fop__setxvattr()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsref/
H A Dnfsref.c105 if (nvl == NULL) in addref()
115 reparse_free(nvl); in addref()
126 reparse_free(nvl); in addref()
149 reparse_free(nvl); in addref()
155 reparse_free(nvl); in addref()
193 nvlist_t *nvl; in delref() local
207 reparse_free(nvl); in delref()
215 reparse_free(nvl); in delref()
222 reparse_free(nvl); in delref()
262 nvlist_t *nvl; in lookup() local
[all …]
/illumos-gate/usr/src/lib/pyzfs/common/
H A Dioctl.c132 nvlist_t *nvl; in dict2nvl() local
190 return (nvl); in dict2nvl()
251 PyObject *nvl; in py_next_dataset() local
266 if (nvl) { in py_next_dataset()
287 PyObject *nvl; in py_dataset_props() local
295 if (nvl) { in py_dataset_props()
300 return (nvl); in py_dataset_props()
308 PyObject *nvl; in py_get_fsacl() local
319 return (nvl); in py_get_fsacl()
330 nvlist_t *nvl; in py_set_fsacl() local
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dconfig.c59 nvl = parent; in _lookup_config_node()
63 nvl = NULL; in _lookup_config_node()
67 nvl = (nvlist_t *)nvlist_get_nvlist(nvl, name); in _lookup_config_node()
75 nvl = NULL; in _lookup_config_node()
90 nvl = new_nvl; in _lookup_config_node()
92 nvl = NULL; in _lookup_config_node()
97 return (nvl); in _lookup_config_node()
161 nvlist_t *nvl; in set_config_value() local
173 if (nvl == NULL) in set_config_value()
203 nvlist_t *nvl; in get_raw_config_value() local
[all …]

12345678910>>...17