Searched refs:current_id (Results 1 – 2 of 2) sorted by relevance
224 static int current_id = 0; in new_id() local226 current_id = (current_id + 1) % MAX_ID; in new_id()229 if (current_id == 0) in new_id()230 current_id = 1; in new_id()232 return (current_id); in new_id()
74 pnode_t current_id; /* node we're fetching props from */ member272 st->current_id = (pnode_t)0; in opromopen()379 if ((st->current_id != OBP_NONODE) && in opromioctl_cb()380 (st->current_id != OBP_BADNODE)) { in opromioctl_cb()381 if (oprom_checknodeid(st->current_id, OBP_NONODE) == 0) in opromioctl_cb()382 st->current_id = OBP_BADNODE; in opromioctl_cb()478 node_id = st->current_id; in opromioctl_cb()668 if (oprom_checknodeid(node_id, st->current_id) == 0) { in opromioctl_cb()676 st->current_id = prom_nextnode(node_id); in opromioctl_cb()678 st->current_id = prom_childnode(node_id); in opromioctl_cb()[all …]