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

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.talkd/
H A Dtable.c224 static int current_id = 0; local
226 current_id = (current_id + 1) % MAX_ID;
229 if (current_id == 0)
230 current_id = 1;
232 return (current_id);
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c74 pnode_t current_id; /* node we're fetching props from */ member in struct:oprom_state
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
1138 oprom_checknodeid(pnode_t node_id, pnode_t current_id) argument
[all...]

Completed in 67 milliseconds