Lines Matching refs:onode

496 		s1394_node_t *onode = node->old_node;  in s1394_free_cfgrom()  local
498 if (NODE_MATCHED(node) == B_TRUE && onode->cfgrom != NULL) in s1394_free_cfgrom()
499 ASSERT(onode->cfgrom == node->cfgrom); in s1394_free_cfgrom()
501 if (onode != NULL && onode->cfgrom != NULL && onode->cfgrom != in s1394_free_cfgrom()
503 kmem_free(onode->cfgrom, IEEE1394_CONFIG_ROM_SZ); in s1394_free_cfgrom()
506 onode->cfgrom = NULL; in s1394_free_cfgrom()
509 CLEAR_CFGROM_STATE(onode); in s1394_free_cfgrom()
742 s1394_node_t *nnode, *onode; in s1394_cfgrom_scan_phase1() local
771 onode = nnode->old_node; in s1394_cfgrom_scan_phase1()
774 B_TRUE && onode != NULL)); in s1394_cfgrom_scan_phase1()
785 (NODE_MATCHED(nnode) == B_TRUE && LINK_ACTIVE(onode) == in s1394_cfgrom_scan_phase1()
787 (onode->cfgrom == NULL || CFGROM_VALID(onode) == in s1394_cfgrom_scan_phase1()
816 LINK_ACTIVE(onode) == B_TRUE) { in s1394_cfgrom_scan_phase1()
822 onode = &hal->old_tree[hal_node_num_old]; in s1394_cfgrom_scan_phase1()
824 if (onode) { in s1394_cfgrom_scan_phase1()
825 nnode->old_node = onode; in s1394_cfgrom_scan_phase1()
827 SET_NODE_MATCHED(onode); in s1394_cfgrom_scan_phase1()
828 s1394_copy_cfgrom(nnode, onode); in s1394_cfgrom_scan_phase1()
877 s1394_node_t *node, *onode; in s1394_br_thread_handle_cmd_phase1() local
915 onode = node->old_node; in s1394_br_thread_handle_cmd_phase1()
922 if (onode != NULL && in s1394_br_thread_handle_cmd_phase1()
923 (t = onode->target_list) != NULL) { in s1394_br_thread_handle_cmd_phase1()
933 if (onode) in s1394_br_thread_handle_cmd_phase1()
934 SET_NODE_MATCHED(onode); in s1394_br_thread_handle_cmd_phase1()
941 if (onode != NULL) in s1394_br_thread_handle_cmd_phase1()
942 SET_CFGROM_GEN_CHANGED(onode); in s1394_br_thread_handle_cmd_phase1()
1549 s1394_node_t *onode; in s1394_match_GUID() local
1561 onode = &hal->old_tree[old_node]; in s1394_match_GUID()
1562 if (onode->cfgrom == NULL || CFGROM_BIB_READ(onode) == B_FALSE) in s1394_match_GUID()
1565 old_a = onode->node_guid_hi; in s1394_match_GUID()
1566 old_b = onode->node_guid_lo; in s1394_match_GUID()
1570 if (NODE_MATCHED(onode) == B_TRUE) { in s1394_match_GUID()
1574 ret = s1394_offline_node(hal, onode->cur_node); in s1394_match_GUID()
1589 (CONFIG_ROM_GEN(onode->cfgrom) != in s1394_match_GUID()
1596 onode->cur_node = nnode; in s1394_match_GUID()
1597 nnode->old_node = onode; in s1394_match_GUID()
1598 nnode->node_state = onode->node_state; in s1394_match_GUID()
1599 SET_NODE_VISITED(onode); in s1394_match_GUID()
1600 SET_NODE_MATCHED(onode); in s1394_match_GUID()
1611 if (s1394_offline_node(hal, onode)) { in s1394_match_GUID()
1615 s1394_free_cfgrom(hal, onode, in s1394_match_GUID()
1619 CLEAR_CFGROM_NEW_ALLOC(onode); in s1394_match_GUID()
1620 onode->cfgrom = nnode->cfgrom; in s1394_match_GUID()
1629 if (onode->cfgrom != nnode->cfgrom) { in s1394_match_GUID()
1634 nnode->cfgrom = onode->cfgrom; in s1394_match_GUID()
1635 nnode->cfgrom_state = onode->cfgrom_state; in s1394_match_GUID()
1636 nnode->cfgrom_valid_size = onode->cfgrom_valid_size; in s1394_match_GUID()
1637 nnode->cfgrom_size = onode->cfgrom_size; in s1394_match_GUID()
1638 nnode->cfgrom_quad_to_read = onode->cfgrom_quad_to_read; in s1394_match_GUID()
1639 bcopy(onode->dir_stack, nnode->dir_stack, in s1394_match_GUID()
1643 CLEAR_CFGROM_NEW_ALLOC(onode); in s1394_match_GUID()
1648 if ((t = onode->target_list) != NULL) { in s1394_match_GUID()
1691 s1394_node_t *onode = nnode->old_node; in s1394_match_all_GUIDs() local
1693 gen_changed = (onode && onode->cfgrom && in s1394_match_all_GUIDs()
1694 CONFIG_ROM_GEN(onode->cfgrom) != CONFIG_ROM_GEN( in s1394_match_all_GUIDs()