Home
last modified time | relevance | path

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

12345678910>>...14

/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_protocol.c49 nvlist_t *nvl; in fmd_protocol_authority() local
52 if (nvlist_xalloc(&nvl, NV_UNIQUE_NAME, &fmd.d_nva) != 0) in fmd_protocol_authority()
55 err |= nvlist_add_uint8(nvl, FM_VERSION, FM_FMRI_AUTH_VERSION); in fmd_protocol_authority()
61 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT, str); in fmd_protocol_authority()
64 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_PRODUCT_SN, str); in fmd_protocol_authority()
67 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_CHASSIS, str); in fmd_protocol_authority()
70 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_DOMAIN, str); in fmd_protocol_authority()
73 err |= nvlist_add_string(nvl, FM_FMRI_AUTH_SERVER, str); in fmd_protocol_authority()
78 return (nvl); in fmd_protocol_authority()
88 nvlist_t *nvl; in fmd_protocol_fmri_module() local
[all …]
H A Dfmd_fmri.c134 fmd_fmri_auth2str(nvlist_t *nvl) in fmd_fmri_auth2str() argument
140 for (nvp = nvlist_next_nvpair(nvl, NULL); in fmd_fmri_auth2str()
141 nvp != NULL; nvp = nvlist_next_nvpair(nvl, nvp)) { in fmd_fmri_auth2str()
153 for (nvp = nvlist_next_nvpair(nvl, NULL); in fmd_fmri_auth2str()
154 nvp != NULL; nvp = nvlist_next_nvpair(nvl, nvp)) { in fmd_fmri_auth2str()
254 nvl2scheme(nvlist_t *nvl) in nvl2scheme() argument
258 if (nvlist_lookup_string(nvl, FM_FMRI_SCHEME, &name) != 0) { in nvl2scheme()
267 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) in fmd_fmri_nvl2str() argument
278 if ((sp = nvl2scheme(nvl)) == NULL) in fmd_fmri_nvl2str()
283 rv = sp->sch_ops.sop_nvl2str(nvl, buf, buflen); in fmd_fmri_nvl2str()
[all …]
H A Dfmd_xprt.c373 nvlist_t *nvl; in fmd_xprt_transition() local
407 nvl = fmd_protocol_xprt_ctl(xip->xi_queue->eq_mod, in fmd_xprt_transition()
410 (void) nvlist_lookup_string(nvl, FM_CLASS, &s); in fmd_xprt_transition()
411 e = fmd_event_create(FMD_EVT_PROTOCOL, FMD_HRT_NOW, nvl, s); in fmd_xprt_transition()
428 fmd_xprt_vmismatch(fmd_xprt_impl_t *xip, nvlist_t *nvl, uint_t *rversionp) in fmd_xprt_vmismatch() argument
432 if (nvlist_lookup_uint8(nvl, FM_VERSION, &rversion) != 0) { in fmd_xprt_vmismatch()
460 fmd_xprt_event_syn(fmd_xprt_impl_t *xip, nvlist_t *nvl) in fmd_xprt_event_syn() argument
466 if (fmd_xprt_vmismatch(xip, nvl, &vers)) in fmd_xprt_event_syn()
474 nvlist_lookup_nvlist(nvl, FM_RSRC_RESOURCE, &nvl) == 0 && in fmd_xprt_event_syn()
475 nvlist_lookup_nvlist(nvl, FM_FMRI_AUTHORITY, &nvl) == 0) { in fmd_xprt_event_syn()
[all …]
/titanic_41/usr/src/common/nvpair/
H A Dfnvpair.c53 nvlist_t *nvl; in fnvlist_alloc() local
54 VERIFY0(nvlist_alloc(&nvl, NV_UNIQUE_NAME, KM_SLEEP)); in fnvlist_alloc()
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
68 VERIFY0(nvlist_size(nvl, &size, NV_ENCODE_NATIVE)); in fnvlist_size()
77 fnvlist_pack(nvlist_t *nvl, size_t *sizep) in fnvlist_pack() argument
80 VERIFY3U(nvlist_pack(nvl, &packed, sizep, NV_ENCODE_NATIVE, in fnvlist_pack()
105 fnvlist_dup(nvlist_t *nvl) in fnvlist_dup() argument
[all …]
H A Dnvpair.c130 static int nvlist_add_common(nvlist_t *nvl, const char *name, data_type_t type,
174 nvlist_lookup_nv_alloc(nvlist_t *nvl) in nvlist_lookup_nv_alloc() argument
178 if (nvl == NULL || in nvlist_lookup_nv_alloc()
179 (priv = (nvpriv_t *)(uintptr_t)nvl->nvl_priv) == NULL) in nvlist_lookup_nv_alloc()
250 nvlist_init(nvlist_t *nvl, uint32_t nvflag, nvpriv_t *priv) in nvlist_init() argument
252 nvl->nvl_version = NV_VERSION; in nvlist_init()
253 nvl->nvl_nvflag = nvflag & (NV_UNIQUE_NAME|NV_UNIQUE_NAME_TYPE); in nvlist_init()
254 nvl->nvl_priv = (uint64_t)(uintptr_t)priv; in nvlist_init()
255 nvl->nvl_flag = 0; in nvlist_init()
256 nvl->nvl_pad = 0; in nvlist_init()
[all …]
/titanic_41/usr/src/lib/scsi/plugins/ses/ses2/common/
H A Dses2_element.c39 elem_parse_device(const ses2_elem_status_impl_t *esip, nvlist_t *nvl) in elem_parse_device() argument
44 SES_NV_ADD(uint64, nverr, nvl, SES_DEV_PROP_SLOT_ADDR, in elem_parse_device()
46 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_REPORT, in elem_parse_device()
48 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_IDENT, in elem_parse_device()
50 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_RMV, dip->sdsi_rmv); in elem_parse_device()
51 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_READY_TO_INSERT, in elem_parse_device()
53 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_ENC_BYP_B, in elem_parse_device()
55 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_ENC_BYP_A, in elem_parse_device()
57 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_DO_NOT_REMOVE, in elem_parse_device()
59 SES_NV_ADD(boolean_value, nverr, nvl, SES_DEV_PROP_APP_BYP_A, in elem_parse_device()
[all …]
H A Dses2_enclosure.c35 enc_parse_sd(ses2_elem_status_impl_t *esip, nvlist_t *nvl) in enc_parse_sd() argument
42 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()
46 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_DISABLED, in enc_parse_sd()
48 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_PRDFAIL, in enc_parse_sd()
51 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_IDENT, sdp->sesi_ident); 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()
56 SES_NV_ADD(uint64, nverr, nvl, SES_EN_PROP_POWER_DELAY, in enc_parse_sd()
58 SES_NV_ADD(boolean_value, nverr, nvl, SES_PROP_WARN_REQ, in enc_parse_sd()
[all …]
/titanic_41/usr/src/cmd/dcs/sparc/sun4u/
H A Drsrc_info.c136 nvlist_t *nvl = NULL; in ri_pack() local
154 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) { in ri_pack()
159 if (nvlist_add_int32(nvl, RI_HDL_FLAGS, hdl->flags) != 0) { in ri_pack()
165 nvlist_add_byte_array(nvl, RI_HDL_APS, (uchar_t *)buf, size) != 0) { in ri_pack()
172 nvlist_add_byte_array(nvl, RI_HDL_CPU_CAPS, (uchar_t *)buf, in ri_pack()
180 nvlist_add_byte_array(nvl, RI_HDL_MEM_CAPS, (uchar_t *)buf, in ri_pack()
186 if (nvlist_pack(nvl, &buf, &size, encoding, 0) != 0) { in ri_pack()
191 nvlist_free(nvl); in ri_pack()
199 if (nvl != NULL) in ri_pack()
200 nvlist_free(nvl); in ri_pack()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c89 nvlist_t *nvl; in smb_reparse_svcadd() local
92 if ((rc = smb_reparse_init(path, &nvl)) != 0) in smb_reparse_svcadd()
95 if ((rc = reparse_add(nvl, svctype, svcdata)) != 0) { in smb_reparse_svcadd()
96 smb_reparse_free(nvl); in smb_reparse_svcadd()
100 rc = smb_reparse_set(path, nvl); in smb_reparse_svcadd()
101 smb_reparse_free(nvl); in smb_reparse_svcadd()
114 nvlist_t *nvl; in smb_reparse_svcdel() local
117 if ((rc = smb_reparse_init(path, &nvl)) != 0) in smb_reparse_svcdel()
120 if ((rc = reparse_remove(nvl, svctype)) != 0) { in smb_reparse_svcdel()
121 smb_reparse_free(nvl); in smb_reparse_svcdel()
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/common/ses/
H A Dses_facility.c139 nvlist_t *nvl; in ses_indicator_mode() local
181 nvl = NULL; in ses_indicator_mode()
182 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_indicator_mode()
183 nvlist_add_boolean_value(nvl, propname, in ses_indicator_mode()
185 nvlist_free(nvl); in ses_indicator_mode()
190 if (ses_node_ctl(np, SES_CTL_OP_SETPROP, nvl) != 0) { in ses_indicator_mode()
193 nvlist_free(nvl); in ses_indicator_mode()
198 nvlist_free(nvl); in ses_indicator_mode()
216 nvl = NULL; in ses_indicator_mode()
217 if (topo_mod_nvalloc(mod, &nvl, NV_UNIQUE_NAME) != 0 || in ses_indicator_mode()
[all …]
/titanic_41/usr/src/common/iscsit/
H A Discsit_common.c186 it_config_to_nv(it_config_t *cfg, nvlist_t **nvl) in it_config_to_nv() argument
192 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()
262 it_nv_to_config(nvlist_t *nvl, it_config_t **cfg) in it_nv_to_config() argument
281 if (!nvl) { in it_nv_to_config()
293 ret = nvlist_lookup_uint32(nvl, "cfgVersion", &intval); in it_nv_to_config()
301 ret = nvlist_lookup_nvlist(nvl, "targetList", &listval); in it_nv_to_config()
308 ret = nvlist_lookup_nvlist(nvl, "tpgList", &listval); in it_nv_to_config()
[all …]
/titanic_41/usr/src/lib/libcontract/common/
H A Dprocess.c111 if (info->nvl == NULL) in ct_pr_event_get_pid()
113 return (nvlist_lookup_uint32(info->nvl, CTPE_PID, (uint_t *)pid)); in ct_pr_event_get_pid()
124 if (info->nvl == NULL) in ct_pr_event_get_ppid()
126 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); in ct_pr_event_get_ppid()
137 if (info->nvl == NULL) in ct_pr_event_get_signal()
139 return (nvlist_lookup_uint32(info->nvl, CTPE_SIGNAL, (uint_t *)signal)); in ct_pr_event_get_signal()
150 if (info->nvl == NULL) in ct_pr_event_get_sender()
152 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDER, (uint_t *)sender)); in ct_pr_event_get_sender()
163 if (info->nvl == NULL) in ct_pr_event_get_senderct()
165 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDCT, (uint_t *)sendct)); in ct_pr_event_get_senderct()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/pppt/
H A Dalua_ic_if.c69 rc = nvlist_add_##type(nvl, #field, structure->field); \
77 rc = nvlist_add_##type##_array(nvl, #field, \
89 rc = nvlist_add_##type##_array(nvl, #field, \
97 rc = stmf_ic_scsi_devid_desc_marshal(nvl, #field, \
105 rc = stmf_ic_remote_port_marshal(nvl, #field, \
126 rc = nvlist_lookup_##type(nvl, #field, \
148 rc = nvlist_lookup_##type(nvl, #field, &tmp); \
166 rc = nvlist_lookup_boolean_value(nvl, #field, &tmp); \
259 static int stmf_ic_reg_port_msg_marshal(nvlist_t *nvl, void *msg);
260 static int stmf_ic_dereg_port_msg_marshal(nvlist_t *nvl, void *msg);
[all …]
/titanic_41/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
54 error = fgetattr(vp->v_fd, XATTR_VIEW_READWRITE, &nvl); in fop__getxvattr()
56 error = getxva_parse_nvl(xvap, xoap, nvl); in fop__getxvattr()
57 nvlist_free(nvl); in fop__getxvattr()
58 nvl = NULL; in fop__getxvattr()
64 if (fgetattr(vp->v_fd, XATTR_VIEW_READONLY, &nvl) == 0) { in fop__getxvattr()
65 (void) getxva_parse_nvl(xvap, xoap, nvl); in fop__getxvattr()
66 nvlist_free(nvl); in fop__getxvattr()
74 xoptattr_t *xoap, nvlist_t *nvl) in getxva_parse_nvl() argument
[all …]
/titanic_41/usr/src/lib/pyzfs/common/
H A Dioctl.c74 nvl2py(nvlist_t *nvl) in nvl2py() argument
81 for (nvp = nvlist_next_nvpair(nvl, NULL); nvp; in nvl2py()
82 nvp = nvlist_next_nvpair(nvl, nvp)) { in nvl2py()
131 nvlist_t *nvl; in dict2nvl() local
141 err = nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0); in dict2nvl()
148 nvlist_free(nvl); in dict2nvl()
154 err = nvlist_add_nvlist(nvl, keystr, valnvl); in dict2nvl()
157 err = nvlist_add_boolean(nvl, keystr); in dict2nvl()
160 err = nvlist_add_string(nvl, keystr, valstr); in dict2nvl()
163 err = nvlist_add_uint64(nvl, keystr, valint); in dict2nvl()
[all …]
/titanic_41/usr/src/cmd/fs.d/nfs/nfsref/
H A Dnfsref.c99 nvlist_t *nvl = NULL; in addref() local
104 nvl = reparse_init(); in addref()
105 if (nvl == NULL) in addref()
115 reparse_free(nvl); in addref()
124 err = reparse_parse(buf, nvl); in addref()
126 reparse_free(nvl); in addref()
147 err = reparse_add(nvl, svc_type, location); in addref()
149 reparse_free(nvl); in addref()
154 err = reparse_unparse(nvl, &text); in addref()
155 reparse_free(nvl); in addref()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dspa_history.c200 nvlist_t *nvl = arg; in spa_history_log_sync() local
236 fnvlist_add_uint64(nvl, ZPOOL_HIST_TIME, gethrestime_sec()); in spa_history_log_sync()
238 fnvlist_add_string(nvl, ZPOOL_HIST_HOST, utsname.nodename); in spa_history_log_sync()
240 if (nvlist_exists(nvl, ZPOOL_HIST_CMD)) { in spa_history_log_sync()
242 fnvlist_lookup_string(nvl, ZPOOL_HIST_CMD)); in spa_history_log_sync()
243 } else if (nvlist_exists(nvl, ZPOOL_HIST_INT_NAME)) { in spa_history_log_sync()
244 if (nvlist_exists(nvl, ZPOOL_HIST_DSNAME)) { in spa_history_log_sync()
246 fnvlist_lookup_uint64(nvl, ZPOOL_HIST_TXG), in spa_history_log_sync()
247 fnvlist_lookup_string(nvl, ZPOOL_HIST_INT_NAME), in spa_history_log_sync()
248 fnvlist_lookup_string(nvl, ZPOOL_HIST_DSNAME), in spa_history_log_sync()
[all …]
/titanic_41/usr/src/common/fsreparse/
H A Dfs_reparse.c42 static int reparse_create_nvlist(const char *string, nvlist_t *nvl);
43 static int reparse_add_nvpair(char *token, nvlist_t *nvl);
45 static int reparse_validate_create_nvlist(const char *string, nvlist_t *nvl);
62 nvlist_t *nvl; in reparse_init() local
68 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0)) in reparse_init()
71 return (nvl); in reparse_init()
81 reparse_free(nvlist_t *nvl) in reparse_free() argument
83 if (nvl) in reparse_free()
84 nvlist_free(nvl); in reparse_free()
98 reparse_parse(const char *string, nvlist_t *nvl) in reparse_parse() argument
[all …]
/titanic_41/usr/src/lib/fm/libfmevent/common/
H A Dfmev_publish.c196 nvlist_t *nvl = NULL; in va2nvl() local
209 if (nvlist_alloc(&nvl, NV_UNIQUE_NAME, 0) != 0) in va2nvl()
220 err = nvlist_add_byte(nvl, name, in va2nvl()
225 err = nvlist_add_byte_array(nvl, name, in va2nvl()
229 err = nvlist_add_boolean_value(nvl, name, in va2nvl()
234 err = nvlist_add_boolean_array(nvl, name, in va2nvl()
238 err = nvlist_add_int8(nvl, name, in va2nvl()
243 err = nvlist_add_int8_array(nvl, name, in va2nvl()
247 err = nvlist_add_uint8(nvl, name, in va2nvl()
252 err = nvlist_add_uint8_array(nvl, name, in va2nvl()
[all …]
/titanic_41/usr/src/cmd/fm/schemes/mem/
H A Dmem.c39 mem_fmri_get_unum(nvlist_t *nvl, char **unump) in mem_fmri_get_unum() argument
44 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in mem_fmri_get_unum()
46 nvlist_lookup_string(nvl, FM_FMRI_MEM_UNUM, &unum) != 0) in mem_fmri_get_unum()
72 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) in fmd_fmri_nvl2str() argument
80 if (mem_fmri_get_unum(nvl, &rawunum) < 0) in fmd_fmri_nvl2str()
96 if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_OFFSET, &val) == 0) { in fmd_fmri_nvl2str()
100 } else if (nvlist_lookup_uint64(nvl, FM_FMRI_MEM_PHYSADDR, &val) == 0) { in fmd_fmri_nvl2str()
147 fmd_fmri_expand(nvlist_t *nvl) in fmd_fmri_expand() argument
155 if ((mem_fmri_get_unum(nvl, &unum) < 0) || (*unum == '\0')) in fmd_fmri_expand()
163 rc = topo_fmri_expand(thp, nvl, &err); in fmd_fmri_expand()
[all …]
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddisk_monitor.c144 dm_fault_execute_actions(fmd_hdl_t *hdl, diskmon_t *diskp, nvlist_t *nvl) in dm_fault_execute_actions() argument
153 if (fmd_nvl_class_match(hdl, nvl, in dm_fault_execute_actions()
157 if (fmd_nvl_class_match(hdl, nvl, in dm_fault_execute_actions()
175 diskmon_agent_repair(fmd_hdl_t *hdl, nvlist_t *nvl, int repair) in diskmon_agent_repair() argument
185 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_repair()
186 err |= nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, in diskmon_agent_repair()
216 diskmon_agent_suspect(fmd_hdl_t *hdl, nvlist_t *nvl) in diskmon_agent_suspect() argument
226 err |= nvlist_lookup_string(nvl, FM_SUSPECT_UUID, &uuid); in diskmon_agent_suspect()
227 err |= nvlist_lookup_nvlist_array(nvl, FM_SUSPECT_FAULT_LIST, in diskmon_agent_suspect()
259 diskmon_recv(fmd_hdl_t *hdl, fmd_event_t *ep, nvlist_t *nvl, const char *class) in diskmon_recv() argument
[all …]
/titanic_41/usr/src/cmd/fm/schemes/svc/
H A Dscheme.c45 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) in fmd_fmri_nvl2str() argument
55 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { in fmd_fmri_nvl2str()
73 fmd_fmri_present(nvlist_t *nvl) in fmd_fmri_present() argument
79 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in fmd_fmri_present()
85 present = topo_fmri_present(thp, nvl, &err); in fmd_fmri_present()
92 fmd_fmri_replaced(nvlist_t *nvl) in fmd_fmri_replaced() argument
98 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in fmd_fmri_replaced()
104 replaced = topo_fmri_replaced(thp, nvl, &err); in fmd_fmri_replaced()
111 fmd_fmri_service_state(nvlist_t *nvl) in fmd_fmri_service_state() argument
117 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in fmd_fmri_service_state()
[all …]
/titanic_41/usr/src/cmd/fm/schemes/cpu/
H A Dcpu.c42 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) in fmd_fmri_nvl2str() argument
51 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { in fmd_fmri_nvl2str()
144 fmd_fmri_expand(nvlist_t *nvl) in fmd_fmri_expand() argument
153 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in fmd_fmri_expand()
154 nvlist_lookup_uint32(nvl, FM_FMRI_CPU_ID, &cpuid) != 0) in fmd_fmri_expand()
163 rc = topo_fmri_expand(thp, nvl, &err); in fmd_fmri_expand()
169 if ((rc = nvlist_lookup_uint64(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_expand()
177 if ((rc = nvlist_add_uint64(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_expand()
182 if ((rc = nvlist_lookup_string(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_expand()
190 if ((rc = nvlist_add_string(nvl, FM_FMRI_CPU_SERIAL_ID, in fmd_fmri_expand()
[all …]
/titanic_41/usr/src/uts/common/sys/iscsit/
H A Discsit_common.h349 it_config_to_nv(it_config_t *cfg, nvlist_t **nvl);
358 it_nv_to_config(nvlist_t *nvl, it_config_t **cfg);
361 it_nv_to_tgtlist(nvlist_t *nvl, uint32_t *count, it_tgt_t **tgtlist);
364 it_tgtlist_to_nv(it_tgt_t *tgtlist, nvlist_t **nvl);
367 it_tgt_to_nv(it_tgt_t *tgt, nvlist_t **nvl);
370 it_nv_to_tgt(nvlist_t *nvl, char *name, it_tgt_t **tgt);
373 it_tpgt_to_nv(it_tpgt_t *tpgt, nvlist_t **nvl);
376 it_nv_to_tpgt(nvlist_t *nvl, char *name, it_tpgt_t **tpgt);
379 it_tpgtlist_to_nv(it_tpgt_t *tpgtlist, nvlist_t **nvl);
382 it_nv_to_tpgtlist(nvlist_t *nvl, uint32_t *count, it_tpgt_t **tpgtlist);
[all …]
/titanic_41/usr/src/cmd/fm/schemes/dev/
H A Dscheme.c48 fmd_fmri_nvl2str(nvlist_t *nvl, char *buf, size_t buflen) in fmd_fmri_nvl2str() argument
58 if (topo_fmri_nvl2str(thp, nvl, &str, &err) != 0) { in fmd_fmri_nvl2str()
75 fmd_fmri_present(nvlist_t *nvl) in fmd_fmri_present() argument
83 present = topo_fmri_present(thp, nvl, &err); in fmd_fmri_present()
90 fmd_fmri_replaced(nvlist_t *nvl) in fmd_fmri_replaced() argument
98 rval = topo_fmri_replaced(thp, nvl, &err); in fmd_fmri_replaced()
105 fmd_fmri_unusable(nvlist_t *nvl) in fmd_fmri_unusable() argument
111 if (nvlist_lookup_uint8(nvl, FM_VERSION, &version) != 0 || in fmd_fmri_unusable()
118 unusable = topo_fmri_unusable(thp, nvl, &err); in fmd_fmri_unusable()
128 fmd_fmri_service_state(nvlist_t *nvl) in fmd_fmri_service_state() argument
[all …]

12345678910>>...14