Searched defs:queue (Results 1 - 25 of 74) sorted by path

123

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dtlx.c403 /* Add 'call' to the connection indication queue 'queue'. */
405 queue_conind(uu_list_t *queue, struct t_call *call) argument
416 (void) uu_list_insert_after(queue, NULL, ci);
422 * Remove and return a pointer to the first call on queue 'queue'. However,
423 * if the queue is empty returns NULL.
426 dequeue_conind(uu_list_t *queue) argument
429 tlx_conn_ind_t *ci = uu_list_first(queue);
435 uu_list_remove(queue, c
[all...]
/illumos-gate/usr/src/cmd/cron/
H A Dat.c69 #define BADQUEUE "queue name must be a single character a-z"
70 #define NOTCQUEUE "queue c is reserved for cron entries"
438 atabort("queue full");
789 list_jobs(int argc, char **argv, int qflag, int queue) argument
855 check_queue(ptr, queue)))
861 check_queue(ptr, queue)))
888 check_queue(ptr, queue))) {
925 check_queue(char *name, int queue) argument
927 if ((name[strlen(name) - 1] - 'a') == queue)
H A Datq.c21 * Print the queue of files waiting to be executed. These files
54 struct dirent **queue; /* the queue itself */ variable in typeref:struct:dirent
78 /* queue */
81 int filewanted(); /* should file be included in queue? */
82 int countfiles(); /* count the number of files in queue */
148 printf("Printing queue information only "
167 * files in the queue structure. The queue comes back sorted by
172 if ((numentries = scandir(".", &queue, filewante
[all...]
H A Dcron.c222 static struct queue struct
229 qd = {100, 2, 60}, /* default values for queue defs */
231 static struct queue qq;
252 static int msgfd; /* file descriptor for fifo queue */
481 quedefs(DEFAULT); /* load default queue definitions */
689 crabort("cannot create fifo queue",
697 crabort("cannot access fifo queue",
715 crabort("cannot open fifo queue", REMOVE_FIFO|CONSOLE_MSG);
2189 struct queue *qp;
2207 qp = &qt[e->etype]; /* set pointer to queue def
[all...]
/illumos-gate/usr/src/cmd/fgrep/
H A Dfgrep.c615 struct words **queue = NULL; local
627 if ((queue = (struct words **)calloc(qsize, sizeof (struct words *)))
632 front = rear = queue;
637 * Reallocates the queue if the number of distinct starting
640 if (rear >= &queue[qsize - 1]) {
641 frontoffset = front - queue;
642 rearoffset = rear - queue;
644 if ((queue = (struct words **)realloc(queue,
649 front = queue
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c351 * been put on the recovery queue for retry.
480 * If we queued a symlink name in the recovery queue,
666 /* Exit loop if queue is empty */
996 char *queue; local
1000 queue = CURRENT;
1003 queue = BACKUP;
1006 remove_single_name(name, queue, NULL);
1171 * If op == 1 then the name is added to the queue otherwise the name is
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_dbus.c3134 HAL_WARNING (("In-queue method call on non-existant device"));
3151 GList *queue; local
3155 if (g_hash_table_lookup_extended (udi_to_method_queue, d->udi, &origkey, (gpointer) &queue)) {
3157 if (queue != NULL) {
3159 mi = (MethodInvocation *) queue->data;
3178 GList *queue; local
3187 if (g_hash_table_lookup_extended (udi_to_method_queue, mi->udi, &origkey, (gpointer) &queue)) {
3189 queue = g_list_append (queue, mi);
3190 g_hash_table_replace (udi_to_method_queue, g_strdup (mi->udi), queue);
3205 GList *queue; local
[all...]
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c524 * a pointer to the head of the queue and to the tail of the queue. Normally,
528 * way to do a "priority queueing" which inserts at the head of the queue for
533 * queue:
535 * add calls to tail of queue
540 queue(head, cp) function
544 DEBUG((9,"in queue"));
560 * priority queuer, add calls to head of queue
582 * remove a call from the head of queue
1090 queue(Free_call_
[all...]
/illumos-gate/usr/src/cmd/lp/lib/papi/
H A Djob.c997 char *queue; local
1004 queue = printer_name_from_uri_id(printer, job_id);
1005 snprintf(req_id, sizeof (req_id), "%s-%d", queue, job_id);
1006 free(queue);
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dstreams.c72 { SF(QUSE), "This queue in use (allocation)" },
75 { SF(QBACK), "queue has been back-enabled" },
78 { SF(QPAIR), "per queue-pair syncq" },
79 { SF(QPERQ), "per queue-instance syncq" },
85 { SF(QEND), "last queue in stream" },
95 { SF(_QASSOCIATED), "queue is associated with a device" },
349 queue(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
366 if (mdb_walk_dcmd("genunix`queue_cache", "genunix`queue",
368 mdb_warn("failed to walk queue cache");
400 mdb_warn("unrecognized queue fla
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DDoPrinterUtil.java534 String queue) throws Exception
539 Debug.message("SVR: DoPrinterUtil.isLocalhost():queue " + queue);
542 syscmd.exec("/usr/bin/grep " + queue + " /etc/printers.conf");
546 "SVR:DoPrinterUtil:isLocalhost:failed:queue: " + queue);
533 isLocalhost( String queue) argument
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_impl.h129 rcm_queue_t queue; /* per module queue */ member in struct:client
H A Drcm_script_impl.h80 rcm_queue_t queue; member in struct:__anon1317
91 * Used to maintain a queue of script_info structures
92 * Global variable script_info_q is the head of the queue.
94 rcm_queue_t queue; member in struct:script_info
96 rcm_queue_t drreq_q; /* queue head for current dr'ed resources */
/illumos-gate/usr/src/cmd/refer/
H A Dglue5.c345 struct words *queue[QSIZE]; local
351 front = rear = queue;
355 if (rear >= &queue[QSIZE - 1]) overflo();
363 if (front == &queue[QSIZE-1])
364 front = queue;
370 if (rear >= &queue[QSIZE-1])
371 if (front == queue) overflo();
372 else rear = queue;
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmain.c48 static void queue(int, char *);
114 queue(ACT_APPEND, optarg);
120 queue(ACT_COMPRESS, NULL);
126 queue(ACT_DELETE, NULL);
131 queue(ACT_ZAP, NULL);
144 queue(ACT_PRINT, NULL);
213 queue(ACT_DELETE, NULL);
241 queue(int activity, char *string) function
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.h54 #include "db-queue.h"
63 TAILQ_ENTRY(cursor_t) queue; member in struct:cursor_t
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dposix_tty.c191 tcflush(int fd, int queue) argument
193 switch (queue) {
200 return (ioctl(fd, TCFLSH, queue));
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_queue.c30 * A synchronized FIFO queue for inter-thread producer-consumer semantics.
31 * This queue will handle multiple writers and readers simultaneously.
34 * slp_new_queue: create a new queue
35 * slp_enqueue: place a message at the end of the queue
36 * slp_enqueue_at_head: place a message the the start of the queue
37 * slp_dequeue: remove and return the next message on the queue
39 * slp_dequeue_timed: remove and return the next message on the queue
41 * slp_flush_queue: flushes and frees all messages on a queue
42 * slp_destroy_queue: frees an empty queue.
60 struct queue { struct
[all...]
/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dcancel-job.c45 char *queue = NULL; local
56 get_printer_id(operational, &queue, &id);
61 } else if (queue == NULL) {
74 status = papiJobCancel(svc, queue, id);
78 (queue ? queue : "(null)"), id,
H A Dcreate-job.c46 char *queue = NULL; local
58 get_printer_id(operational, &queue, NULL);
59 if (queue == NULL) {
93 status = papiJobCreate(svc, queue, job_attributes, NULL, &j);
H A Dcups-accept-jobs.c44 char *queue = NULL; local
54 get_printer_id(operational, &queue, NULL);
55 if (queue == NULL) {
61 if ((status = papiPrinterResume(svc, queue)) != PAPI_OK) {
63 (queue ? queue : "(null)"),
H A Dcups-move-job.c46 char *queue = NULL; local
70 get_printer_id(operational, &queue, &id);
75 } else if (queue == NULL) {
95 if ((status = papiJobMove(svc, queue, id, dest)) != PAPI_OK)
98 (queue ? queue : "(null)"), id,
H A Dcups-reject-jobs.c44 char *queue = NULL; local
54 get_printer_id(operational, &queue, NULL);
55 if (queue == NULL) {
61 if ((status = papiPrinterPause(svc, queue, NULL)) != PAPI_OK) {
63 (queue ? queue : "(null)"),
H A Ddisable-printer.c44 char *queue = NULL; local
56 get_printer_id(operational, &queue, NULL);
57 if (queue == NULL) {
70 if ((status = papiPrinterDisable(svc, queue, message)) != PAPI_OK) {
72 (queue ? queue : "(null)"),
H A Denable-printer.c44 char *queue = NULL; local
54 get_printer_id(operational, &queue, NULL);
55 if (queue == NULL) {
61 if ((status = papiPrinterEnable(svc, queue)) != PAPI_OK) {
63 (queue ? queue : "(null)"),

Completed in 156 milliseconds

123