Lines Matching refs:tab
187 Idtab *tab = idtab_lookup(version);
188 TAILQ_FOREACH(id, &tab->idlist, next) {
215 Idtab *tab = idtab_lookup(version);
222 buffer_put_int(&msg, tab->nentries);
223 TAILQ_FOREACH(id, &tab->idlist, next) {
394 Idtab *tab = idtab_lookup(version);
395 if (tab->nentries < 1)
397 "internal error: tab->nentries %d",
398 tab->nentries);
399 TAILQ_REMOVE(&tab->idlist, id, next);
401 tab->nentries--;
414 Idtab *tab = idtab_lookup(version);
418 for (id = TAILQ_FIRST(&tab->idlist); id;
419 id = TAILQ_FIRST(&tab->idlist)) {
420 TAILQ_REMOVE(&tab->idlist, id, next);
425 tab->nentries = 0;
439 Idtab *tab;
442 tab = idtab_lookup(version);
443 for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) {
449 TAILQ_REMOVE(&tab->idlist, id, next);
451 tab->nentries--;
466 Idtab *tab = idtab_lookup(version);
641 TAILQ_INSERT_TAIL(&tab->idlist, id, next);
643 tab->nentries++;
707 Idtab *tab;
733 tab = idtab_lookup(version);
741 TAILQ_INSERT_TAIL(&tab->idlist, id, next);
742 tab->nentries++;
767 Idtab *tab;
774 tab = idtab_lookup(version);
775 for (id = TAILQ_FIRST(&tab->idlist); id; id = nxt) {
778 TAILQ_REMOVE(&tab->idlist, id, next);
780 tab->nentries--;