Lines Matching refs:current_id
74 pnode_t current_id; /* node we're fetching props from */
272 st->current_id = (pnode_t)0;
376 * The prom tree has changed since we last used current_id,
379 if ((st->current_id != OBP_NONODE) &&
380 (st->current_id != OBP_BADNODE)) {
381 if (oprom_checknodeid(st->current_id, OBP_NONODE) == 0)
382 st->current_id = OBP_BADNODE;
478 node_id = st->current_id;
668 if (oprom_checknodeid(node_id, st->current_id) == 0) {
676 st->current_id = prom_nextnode(node_id);
678 st->current_id = prom_childnode(node_id);
681 st->current_id = node_id;
686 *(pnode_t *)opp->oprom_array = st->current_id;
1138 oprom_checknodeid(pnode_t node_id, pnode_t current_id)
1152 if ((current_id != OBP_BADNODE) && ((node_id == current_id) ||
1153 (node_id == prom_nextnode(current_id)) ||
1154 (node_id == prom_childnode(current_id)))) {