Searched refs:TCB_INUSE (Results 1 – 2 of 2) sorted by relevance
407 if (!(tcp->flags & TCB_INUSE) || !(tcp->flags & TCB_ATTACHED)) in startup_attach()1111 if ((tcp->flags & TCB_INUSE) == 0) { in alloc_tcb()1120 tcp->flags = TCB_INUSE | TCB_STARTUP; in alloc_tcb()1436 if (tcp->pid == pid && (tcp->flags & TCB_INUSE)) in pid2tcb()1452 if (tcp->flags & TCB_INUSE) in first_used_tcb()1468 if (tcp->flags & TCB_INUSE)1792 if (!(tcp->flags & TCB_INUSE)) in cleanup()1887 if (!(tcp->flags & TCB_INUSE)) in rebuild_pollv()
391 #define TCB_INUSE 00002 /* This table entry is in use */ macro