Lines Matching refs:used
17 * may be used to endorse or promote products derived from this software
96 char used; /* true if this entry is in use */
103 struct job *next; /* job used after this one */
113 static struct job *jobmru; /* most recently used job list */
480 if (! jp->used)
522 jp->used = 0;
585 if (jp->used && jp->state == JOBDONE) {
598 if (jp->used && jp->state == 0)
652 && jobtab[jobno - 1].used != 0)
669 if (jp->used && jp->nprocs > 0
682 if (jp->used && jp->nprocs > 0
696 if (jp->used && jp->nprocs > 0
779 for (i = 4 ; --i >= 0 ; jobtab[njobs++].used = 0)
784 if (jp->used == 0)
789 jp->used = 1;
848 * Return the most recently used job that isn't `nj', and preferably one
858 if (jp->used && jp != nj && jp->state == JOBSTOPPED)
860 /* Otherwise the most recently used job that isn't `nj' */
862 if (jp->used && jp != nj)
962 if (p->used)
1202 if (jp->used && jp->nprocs > 0) {
1288 if (jp->used == 0)