Lines Matching refs:srch
111 struct srch { struct
151 static struct srch *buildsearchlist(char **);
152 static void freesearchlist(struct srch *);
156 static char *getnextmatch(struct srch *, int);
157 static int matchallcriteria(struct devtabent *, struct srch *);
158 static int matchanycriteria(struct devtabent *, struct srch *);
215 struct srch *searchlist; /* Pointer to searching criteria */ in getdev()
489 static struct srch *
493 struct srch *rtnbuf; /* Value to return */ in buildsearchlist()
494 struct srch *psrch; /* Running pointer */ in buildsearchlist()
514 if (rtnbuf = malloc(n*sizeof (struct srch))) { in buildsearchlist()
587 freesearchlist(struct srch *list) in freesearchlist()
590 struct srch *psrch; /* Running ptr to structs */ in freesearchlist()
772 getnextmatch(struct srch *criteria, int options) in getnextmatch()
855 struct srch *criteria) /* Criteria governing match */ in matchallcriteria()
858 struct srch *p; /* Pointer to current criteria */ in matchallcriteria()
955 struct srch *criteria) /* Criteria governing match */ in matchanycriteria()
958 struct srch *p; /* Pointer to current criteria */ in matchanycriteria()