Lines Matching refs:srch
112 struct srch { struct
152 static struct srch *buildsearchlist(char **);
153 static void freesearchlist(struct srch *);
157 static char *getnextmatch(struct srch *, int);
158 static int matchallcriteria(struct devtabent *, struct srch *);
159 static int matchanycriteria(struct devtabent *, struct srch *);
216 struct srch *searchlist; /* Pointer to searching criteria */ in getdev()
490 static struct srch *
494 struct srch *rtnbuf; /* Value to return */ in buildsearchlist()
495 struct srch *psrch; /* Running pointer */ in buildsearchlist()
515 if (rtnbuf = malloc(n*sizeof (struct srch))) { in buildsearchlist()
588 freesearchlist(struct srch *list) in freesearchlist()
591 struct srch *psrch; /* Running ptr to structs */ in freesearchlist()
773 getnextmatch(struct srch *criteria, int options) in getnextmatch()
856 struct srch *criteria) /* Criteria governing match */ in matchallcriteria()
859 struct srch *p; /* Pointer to current criteria */ in matchallcriteria()
956 struct srch *criteria) /* Criteria governing match */ in matchanycriteria()
959 struct srch *p; /* Pointer to current criteria */ in matchanycriteria()