Home
last modified time | relevance | path

Searched refs:current_id (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c224 static int current_id = 0; in new_id() local
226 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()
/titanic_41/usr/src/uts/common/io/
H A Dopenprom.c74 pnode_t current_id; /* node we're fetching props from */ member
272 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 …]