Searched defs:nvl (Results 1 - 25 of 345) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/test/util-tests/tests/libsff/
H A Dlibsff_einval.c32 nvlist_t *nvl; local
36 if ((ret = libsff_parse(NULL, sizeof (buf), 0xa0, &nvl)) != EINVAL) {
41 errx(1, "TEST FAILED: failed to return EINVAL on NULL nvl "
45 if ((ret = libsff_parse(buf, sizeof (buf), 0xa1, &nvl)) != EINVAL) {
50 if ((ret = libsff_parse(buf, sizeof (buf), 0, &nvl)) != EINVAL) {
55 if ((ret = libsff_parse(buf, sizeof (buf), 0xff, &nvl)) != EINVAL) {
60 if ((ret = libsff_parse(buf, 0, 0xa0, &nvl)) != EINVAL) {
65 if ((ret = libsff_parse(buf, 50, 0xa0, &nvl)) != EINVAL) {
71 if ((ret = libsff_parse(buf, 0, 0xa0, &nvl)) != EINVAL) {
76 if ((ret = libsff_parse(buf, 50, 0xa0, &nvl)) !
[all...]
H A Dlibsff_br.c36 nvlist_t *nvl; local
47 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
52 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_NOMINAL, &val)) !=
63 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MIN, &val)) !=
69 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MAX, &val)) !=
74 nvlist_free(nvl);
83 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
88 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MAX, &val)) != 0) {
95 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_MIN, &val)) != 0) {
102 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_BR_NOMINA
[all...]
H A Dlibsff_efault.c32 nvlist_t *nvl; local
48 if ((ret = libsff_parse(addr, 128, 0xa0, &nvl)) != EFAULT) {
H A Dlibsff_8472.c40 nvlist_t *nvl; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_COMPLIANCE_8472,
57 nvlist_free(nvl);
H A Dlibsff_8636_diag.c38 nvlist_t *nvl; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 if ((ret = nvlist_lookup_string_array(nvl, LIBSFF_KEY_DIAG_MONITOR,
59 nvlist_free(nvl);
H A Dlibsff_8636_extspec.c41 nvlist_t *nvl; local
45 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
50 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_EXT_SPEC,
58 nvlist_free(nvl);
H A Dlibsff_conn.c40 nvlist_t *nvl; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_CONNECTOR,
57 nvlist_free(nvl);
68 nvlist_t *nvl; local
72 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
77 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_CONNECTOR,
85 nvlist_free(nvl);
H A Dlibsff_enc.c40 nvlist_t *nvl; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_ENCODING,
57 nvlist_free(nvl);
68 nvlist_t *nvl; local
72 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
77 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_ENCODING,
85 nvlist_free(nvl);
H A Dlibsff_ident.c40 nvlist_t *nvl; local
44 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
49 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_IDENTIFIER,
57 nvlist_free(nvl);
H A Dlibsff_8636_temp.c41 nvlist_t *nvl; local
45 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
50 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_MAX_CASE_TEMP,
57 nvlist_free(nvl);
H A Dlibsff_compliance.c32 lsc_print_array(nvlist_t *nvl, const char *key) argument
38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) {
54 nvlist_t *nvl; local
71 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
76 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_10GBE);
77 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_IB);
78 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_ESCON);
79 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_SONET);
80 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_GBE);
81 lsc_print_array(nvl, LIBSFF_KEY_COMPLIANCE_FC_LE
[all...]
H A Dlibsff_lengths.c36 nvlist_t *nvl; local
50 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
56 if ((ret = nvlist_lookup_string(nvl, lengths_8472[i], &val)) !=
63 nvlist_free(nvl);
72 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
78 if ((ret = nvlist_lookup_string(nvl, lengths_8472[i], &val)) !=
86 nvlist_free(nvl);
95 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
101 if ((ret = nvlist_lookup_string(nvl, lengths_8472[i], &val)) !=
108 nvlist_free(nvl);
[all...]
H A Dlibsff_opts.c32 lso_print_array(nvlist_t *nvl, const char *key) argument
38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) {
54 nvlist_t *nvl; local
66 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
71 lso_print_array(nvl, LIBSFF_KEY_OPTIONS);
72 lso_print_array(nvl, LIBSFF_KEY_EXTENDED_OPTIONS);
74 nvlist_free(nvl);
87 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
92 lso_print_array(nvl, LIBSFF_KEY_OPTIONS);
93 lso_print_array(nvl, LIBSFF_KEY_ENHANCED_OPTION
[all...]
H A Dlibsff_wave.c40 nvlist_t *nvl; local
51 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
56 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_WAVELENGTH, &val)) !=
63 nvlist_free(nvl);
73 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
78 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_WAVELENGTH, &val)) !=
84 nvlist_free(nvl);
91 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
96 if ((ret = nvlist_lookup_string(nvl, LIBSFF_KEY_WAVELENGTH, &val)) !=
102 nvlist_free(nvl);
[all...]
H A Dlibsff_8636_tech.c32 lst_print_array(nvlist_t *nvl, const char *key) argument
38 if ((ret = nvlist_lookup_string_array(nvl, key, &vals, &count)) != 0) {
64 nvlist_t *nvl; local
69 if ((ret = libsff_parse(buf, sizeof (buf), 0xa0, &nvl)) != 0) {
74 lst_print_array(nvl, LIBSFF_KEY_TRAN_TECH);
75 nvlist_free(nvl);
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-retire/
H A Dcma_page_sun4v.c36 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) argument
38 errno = ldom_fmri_status(cma_lhp, nvl);
50 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
52 errno = ldom_fmri_retire(cma_lhp, nvl);
64 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
66 errno = ldom_fmri_unretire(cma_lhp, nvl);
/illumos-gate/usr/src/cmd/fm/modules/common/cpumem-retire/
H A Dcma_page_arch.c33 cma_fmri_page_service_state(fmd_hdl_t *hdl, nvlist_t *nvl) argument
39 rc = fmd_agent_page_isretired(fa_hdl, nvl);
55 cma_fmri_page_retire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
61 rc = fmd_agent_page_retire(fa_hdl, nvl);
71 cma_fmri_page_unretire(fmd_hdl_t *hdl, nvlist_t *nvl) argument
77 rc = fmd_agent_page_unretire(fa_hdl, nvl);
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dreparse.c53 reparse_vnode_parse(vnode_t *vp, nvlist_t *nvl) argument
60 if (vp == NULL || nvl == NULL)
79 err = reparse_parse(lkdata, nvl);
/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract_impl.h42 nvlist_t *nvl; member in struct:ctlib_status_info
47 nvlist_t *nvl; member in struct:ctlib_event_info
/illumos-gate/usr/src/cmd/fm/schemes/fmd/
H A Dscheme.c33 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument
37 if (nvlist_lookup_string(nvl, FM_FMRI_FMD_NAME, &name) != 0)
46 fmd_fmri_present(nvlist_t *nvl) argument
53 fmd_fmri_replaced(nvlist_t *nvl) argument
60 fmd_fmri_unusable(nvlist_t *nvl) argument
/illumos-gate/usr/src/cmd/fm/schemes/legacy-hc/
H A Dscheme.c29 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) argument
35 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 ||
37 nvlist_lookup_string(nvl, FM_FMRI_LEGACY_HC, &c) != 0)
49 fmd_fmri_present(nvlist_t *nvl) argument
56 fmd_fmri_replaced(nvlist_t *nvl) argument
63 fmd_fmri_unusable(nvlist_t *nvl) argument
/illumos-gate/usr/src/cmd/fm/schemes/mem/i386/
H A Dmem_disc.c57 mem_expand_opt(nvlist_t *nvl, char *unum, char **serids) argument
/illumos-gate/usr/src/lib/scsi/plugins/ses/SUN/common/
H A Dsun.c41 sun_fruid_parse_common(sun_fru_descr_impl_t *sfdip, nvlist_t *nvl) argument
45 SES_NV_ADD(boolean_value, nverr, nvl,
47 SES_NV_ADD(uint64, nverr, nvl,
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_nvl.c56 topo_mod_nvdup(topo_mod_t *mod, nvlist_t *nvl, nvlist_t **nvlp) argument
58 if (nvlist_xdup(nvl, nvlp, &mod->tm_alloc->ta_nva) != 0)
75 topo_hdl_nvdup(topo_hdl_t *thp, nvlist_t *nvl, nvlist_t **nvlp) argument
77 if (nvlist_xdup(nvl, nvlp, &thp->th_alloc->ta_nva) != 0)
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_ctl.c79 fmd_ctl_addhrt(nvlist_t *nvl) argument
83 (void) nvlist_lookup_int64(nvl, FMD_CTL_ADDHRT_DELTA, &delta);
95 fmd_ctl_inval(nvlist_t *nvl) argument
99 (void) nvlist_lookup_string(nvl, FM_CLASS, &class);
105 fmd_ctl_pause(nvlist_t *nvl) argument
116 fmd_ctl_init(nvlist_t *nvl) argument
127 cp->ctl_nvl = nvl;
130 if (nvl == NULL) {
135 if (nvlist_lookup_string(nvl, FM_CLASS, &class) != 0 ||
136 nvlist_lookup_uint8(nvl, FM_VERSIO
[all...]

Completed in 309 milliseconds

1234567891011>>