Home | History | Annotate | Download | only in ibm4xx

Lines Matching defs:cnum

1562 ctx_flush(int cnum)
1568 if (tlb_info[i].ti_ctx == cnum) {
1572 i, cnum);
1591 int cnum, s;
1598 cnum = next;
1600 if (++cnum >= NUMCTX)
1601 cnum = MINCTX;
1602 } while (ctxbusy[cnum] != NULL && cnum != next);
1605 if (cnum < MINCTX)
1606 cnum = MINCTX; /* Never steal ctx 0 or 1 */
1607 ctx_flush(cnum);
1609 if (ctxbusy[cnum]) {
1612 printf("Warning: stealing context %d\n", cnum);
1614 ctxbusy[cnum]->pm_ctx = 0;
1616 ctxbusy[cnum] = pm;
1617 next = cnum;
1621 pm->pm_ctx = cnum;
1623 return cnum;