Lines Matching refs:jobqueue
112 getq(const struct printer *pp, struct jobqueue *(*namelist[])) in getq()
115 register struct jobqueue *q, **queue; in getq()
137 queue = (struct jobqueue **)malloc(arraysz * sizeof(struct jobqueue *)); in getq()
150 entrysz = sizeof(struct jobqueue) - sizeof(q->job_cfname) + in getq()
152 q = (struct jobqueue *)malloc(entrysz); in getq()
164 queue = (struct jobqueue **)reallocarray((char *)queue, in getq()
165 arraysz, 2 * sizeof(struct jobqueue *)); in getq()
176 qsort(queue, nitems, sizeof(struct jobqueue *), compar); in getq()
192 const struct jobqueue *qe1, *qe2; in compar()
194 qe1 = *(const struct jobqueue * const *)p1; in compar()
195 qe2 = *(const struct jobqueue * const *)p2; in compar()