/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 403 /* 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 D | at.c | 69 #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 D | atq.c | 21 * 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 D | cron.c | 222 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 D | fgrep.c | 615 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 D | sm_statd.c | 351 * 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 D | hald_dbus.c | 3134 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 D | listen.c | 524 * 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 D | job.c | 997 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 D | streams.c | 72 { 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 D | DoPrinterUtil.java | 534 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 D | rcm_impl.h | 129 rcm_queue_t queue; /* per module queue */ member in struct:client
|
H A D | rcm_script_impl.h | 80 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 D | glue5.c | 345 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 D | main.c | 48 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 D | hash.h | 54 #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 D | posix_tty.c | 191 tcflush(int fd, int queue) argument 193 switch (queue) { 200 return (ioctl(fd, TCFLSH, queue));
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 30 * 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 D | cancel-job.c | 45 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 D | create-job.c | 46 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 D | cups-accept-jobs.c | 44 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 D | cups-move-job.c | 46 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 D | cups-reject-jobs.c | 44 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 D | disable-printer.c | 44 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 D | enable-printer.c | 44 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)"),
|