Lines Matching defs:tab
372 * It goes through all the elements of tab using the gen function until a match
376 int devwalk(chan_t *channel, const char *name, const dirtab_t *tab,
391 switch ((*gen)(channel, tab, ntab, i, &dir)) {
412 int dirread(chan_t *channel, dir_t *dir, const dirtab_t *tab,
422 ret = (*gen)(channel, tab, ntab, i, dir);
456 * It copies and formats the information of the nth element of tab into dir.
458 int devgen(chan_t *channel, const dirtab_t *tab, int ntab, int n, dir_t *dir)
462 if ((channel == NULL) || (dir == NULL) || (tab == NULL) ||
467 dp = &tab[n];
511 * It goes through all the elements of tab using the gen function until a match
516 const dirtab_t *tab, int ntab, devgen_t *gen)
531 switch ((*gen)(dirc, tab, ntab, i, dir)) {