Lines Matching defs:node
110 static int vlds_add_mdeg_port(md_t *mdp, mde_cookie_t node);
1038 * Look for "virtual-device-service" node among the
1071 mde_cookie_t node;
1084 node = resp->added.mdep[idx];
1086 DS_DBG_VLDS(CE_NOTE, "%s: processing added node 0x%lx",
1087 __func__, node);
1090 if ((rv = vlds_add_mdeg_port(mdp, node)) != MDEG_SUCCESS) {
1101 node = resp->removed.mdep[idx];
1103 DS_DBG_VLDS(CE_NOTE, "%s: processing removed node 0x%lx",
1104 __func__, node);
1107 if (md_get_prop_val(mdp, node, "id", &portno)) {
1108 cmn_err(CE_NOTE, "%s: node 0x%lx of removed list "
1109 "has no 'id' property", __func__, node);
1156 vlds_get_port_channel(md_t *mdp, mde_cookie_t node, uint64_t *ldc_id)
1163 * Find the channel-endpoint node(s) (which should be under this
1164 * port node) which contain the channel id(s).
1172 /* allocate space for node list */
1176 nchan = md_scan_dag(mdp, node, md_find_name(mdp, "channel-endpoint"),
1189 /* use property from first node found */
1204 vlds_add_mdeg_port(md_t *mdp, mde_cookie_t node)
1213 if (md_get_prop_val(mdp, node, "id", &portno)) {
1214 cmn_err(CE_NOTE, "%s: node 0x%lx of added list has no "
1215 "'id' property", __func__, node);
1227 if (vlds_get_port_channel(mdp, node, &ldc_id) == -1) {
1231 if (md_get_prop_val(mdp, node, VLDS_MD_REM_DOMAIN_HDL, &dhdl) != 0) {
1237 if (md_get_prop_str(mdp, node, VLDS_MD_REM_DOMAIN_NAME, &dom_name)
1292 * Search for Virtual Domain Service node.
1306 " IO node %d\n", __func__, i);
1317 DS_DBG_MD(CE_NOTE, "No '%s' node in MD",
1323 DS_DBG_MD(CE_NOTE, "No '%s' property for '%s' node in MD",
1329 DS_DBG_MD(CE_NOTE, "No '%s' property for '%s' node in MD",