Lines Matching defs:queue
1555 struct dso *p, **queue, **stack;
1559 /* Bound on queue size is the total number of indirect deps.
1573 queue = builtin_ctor_queue;
1575 queue = calloc(cnt, sizeof *queue);
1577 if (!queue) {
1578 error("Error allocating constructor queue: %m\n");
1583 /* Opposite ends of the allocated buffer serve as an output queue
1585 * dso and initial queue empty... */
1586 stack = queue;
1606 queue[qpos++] = p;
1608 queue[qpos] = 0;
1609 for (i=0; i<qpos; i++) queue[i]->mark = 0;
1611 if (queue[i]->ctor_visitor && queue[i]->ctor_visitor->tid < 0) {
1613 queue[i]->name);
1614 free(queue);
1618 return queue;
1621 static void do_init_fini(struct dso **queue)
1628 for (i=0; (p=queue[i]); i++) {