Lines Matching defs:gen
372 * It goes through all the elements of tab using the gen function until a match
377 int ntab, devgen_t *gen)
382 if ((channel == NULL) || (name == NULL) || (gen == NULL)) {
391 switch ((*gen)(channel, tab, ntab, i, &dir)) {
413 int ntab, devgen_t *gen)
417 if ((channel == NULL) || (dir == NULL) || (gen == NULL)) {
422 ret = (*gen)(channel, tab, ntab, i, dir);
454 * This function is the default implementation of the internal driver gen
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)
521 if ((dirc == NULL) || (dir == NULL) || (gen == NULL)) {
531 switch ((*gen)(dirc, tab, ntab, i, dir)) {