Lines Matching refs:contab
56 struct contab *mhash[128]; /* 128 == the 0177 on line above */
99 munhash(&contab[oldmn]); in casern()
100 contab[oldmn].rq = j; in casern()
101 maddhash(&contab[oldmn]); in casern()
109 struct contab *rp; in maddhash()
111 struct contab **hp;
124 struct contab *mp; in munhash()
126 struct contab *p;
127 struct contab **lp;
149 struct contab *p; in mrehash()
154 for (p=contab; p < &contab[NM]; p++) in mrehash()
156 for (p=contab; p < &contab[NM]; p++) { in mrehash()
234 if (contab[newmn].rq) in casede()
235 munhash(&contab[newmn]); in casede()
236 contab[newmn].rq = i; in casede()
237 maddhash(&contab[newmn]); in casede()
258 struct contab *p;
262 return(p - contab);
272 if (contab[i].mx)
273 ffree((filep)contab[i].mx);
274 munhash(&contab[i]);
275 contab[i].rq = 0;
276 contab[i].mx = 0;
277 contab[i].f = 0;
295 if (app && oldmn >= 0 && contab[oldmn].mx) {
297 ip = (filep)contab[oldmn].mx;
308 if (contab[i].rq == 0)
320 contab[i].mx = (unsigned) nextb;
324 contab[i].rq = -1;
326 contab[i].rq = mn;
327 maddhash(&contab[i]);
455 cc1 = contab[oldmn].rq & 0177; in alloc()
456 if ((cc2 = (contab[oldmn].rq >> BYTE) & 0177) == 0) in alloc()
736 if ((i = getsn()) == 0 || (j = findmn(i)) == -1 || !contab[j].mx) { in setstr()
744 return pushi((filep)contab[j].mx, i); in setstr()
1015 if ((xx = contab[i].rq) == 0 || contab[i].mx == 0) in casepm()
1019 j = (filep) contab[i].mx; in casepm()