Home
last modified time | relevance | path

Searched refs:queue (Results 26 – 50 of 173) sorted by relevance

1234567

/illumos-gate/usr/src/lib/print/libipp-listener/common/
H A Dget-job-attributes.c45 char *queue = NULL; in ipp_get_job_attributes() local
56 get_printer_id(operational, &queue, &id); in ipp_get_job_attributes()
61 } else if (queue == NULL) { in ipp_get_job_attributes()
73 if ((status = papiJobQuery(svc, queue, id, req_attrs, &j)) != PAPI_OK) { in ipp_get_job_attributes()
H A Dsend-document.c49 char *queue = NULL; in ipp_send_document() local
67 get_printer_id(operational, &queue, &id); in ipp_send_document()
72 } else if (queue == NULL) { in ipp_send_document()
103 status = papiJobStreamAdd(svc, queue, id, &s); in ipp_send_document()
131 status = papiJobCommit(svc, queue, id); in ipp_send_document()
H A Dget-printer-attributes.c46 char *queue = NULL; in ipp_get_printer_attributes() local
56 get_printer_id(operational, &queue, NULL); in ipp_get_printer_attributes()
57 if (queue == NULL) { in ipp_get_printer_attributes()
71 status = papiPrinterQuery(svc, queue, req_attrs, NULL, &p); in ipp_get_printer_attributes()
H A Dcreate-job.c44 char *queue = NULL; in ipp_create_job() local
56 get_printer_id(operational, &queue, NULL); in ipp_create_job()
57 if (queue == NULL) { in ipp_create_job()
91 status = papiJobCreate(svc, queue, job_attributes, NULL, &j); in ipp_create_job()
H A Dset-job-attributes.c45 char *queue = NULL; in ipp_set_job_attributes() local
58 get_printer_id(operational, &queue, &id); in ipp_set_job_attributes()
63 } else if (queue == NULL) { in ipp_set_job_attributes()
74 status = papiJobModify(svc, queue, id, job_attributes, &j); in ipp_set_job_attributes()
H A Dvalidate-job.c44 char *queue = NULL; in ipp_validate_job() local
59 get_printer_id(operational, &queue, NULL); in ipp_validate_job()
60 if (queue == NULL) { in ipp_validate_job()
88 status = papiJobValidate(svc, queue, job_attributes, NULL, files, &j); in ipp_validate_job()
H A Dget-jobs.c44 char *queue = NULL; in ipp_get_jobs() local
58 get_printer_id(operational, &queue, NULL); in ipp_get_jobs()
59 if (queue == NULL) { in ipp_get_jobs()
79 status = papiPrinterListJobs(svc, queue, req_attrs, type, limit, &j); in ipp_get_jobs()
H A Dprint-job.c50 char *queue = NULL; in ipp_print_job() local
66 get_printer_id(operational, &queue, NULL); in ipp_print_job()
67 if (queue == NULL) { in ipp_print_job()
151 status = papiJobStreamOpen(svc, queue, job_attributes, NULL, &s); in ipp_print_job()
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_lan_hmc.h181 u16 queue,
184 u16 queue);
186 u16 queue,
189 u16 queue,
192 u16 queue);
194 u16 queue,
/illumos-gate/usr/src/cmd/sgs/mcs/common/
H A Dmain.c51 static void queue(int, char *);
117 queue(ACT_APPEND, optarg); in main()
123 queue(ACT_COMPRESS, NULL); in main()
129 queue(ACT_DELETE, NULL); in main()
134 queue(ACT_ZAP, NULL); in main()
147 queue(ACT_PRINT, NULL); in main()
216 queue(ACT_DELETE, NULL); in main()
243 queue(int activity, char *string) in queue() function
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_queue.c55 iscsi_init_queue(iscsi_queue_t *queue) in iscsi_init_queue() argument
57 ASSERT(queue != NULL); in iscsi_init_queue()
59 queue->head = NULL; in iscsi_init_queue()
60 queue->tail = NULL; in iscsi_init_queue()
61 queue->count = 0; in iscsi_init_queue()
62 mutex_init(&queue->mutex, NULL, MUTEX_DRIVER, NULL); in iscsi_init_queue()
69 iscsi_destroy_queue(iscsi_queue_t *queue) in iscsi_destroy_queue() argument
71 ASSERT(queue != NULL); in iscsi_destroy_queue()
72 ASSERT(queue->count == 0); in iscsi_destroy_queue()
74 mutex_destroy(&queue->mutex); in iscsi_destroy_queue()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_cookie.c132 IN void *queue, in dapls_cb_create() argument
161 buffer->pool[i].queue.ep = queue; in dapls_cb_create()
163 buffer->pool[i].queue.srq = queue; in dapls_cb_create()
215 curr_buffer->pool[0].queue.ptr, curr_buffer->pool[0].queue_type, in dapls_cb_resize()
/illumos-gate/usr/src/cmd/cron/
H A Datq.c56 struct dirent **queue; /* the queue itself */ variable
174 if ((numentries = scandir(".", &queue, filewanted, in main()
237 if ((stat(queue[i]->d_name, &stbuf)) < 0) { in countfiles()
290 if ((stat(queue[i]->d_name, &stbuf)) < 0) { in printqueue()
293 curqueue = *(strchr(queue[i]->d_name, '.') + 1); in printqueue()
311 printdate(queue[i]->d_name); in printqueue()
313 printf("%-14s ", queue[i]->d_name); in printqueue()
315 printjobname(queue[i]->d_name); in printqueue()
/illumos-gate/usr/src/cmd/refer/
H A Dglue5.c342 struct words *queue[QSIZE]; in cfail() local
348 front = rear = queue; in cfail()
352 if (rear >= &queue[QSIZE - 1]) overflo(); in cfail()
360 if (front == &queue[QSIZE-1]) in cfail()
361 front = queue; in cfail()
367 if (rear >= &queue[QSIZE-1]) in cfail()
368 if (front == queue) overflo(); in cfail()
369 else rear = queue; in cfail()
/illumos-gate/usr/src/uts/sun4v/ml/
H A Dmach_interrupt.S56 ! %g3 queue base VA
57 ! %g4 queue size mask
70 ldx [%g2 + MCPU_CPU_Q_BASE], %g3 ! %g3 = queue base PA
71 ldx [%g2 + MCPU_CPU_Q_SIZE], %g4 ! queue size
72 sub %g4, 1, %g4 ! %g4 = queue size mask
479 ldxa [%g1 + %g4]ASI_MEM, %g4 ! %g4 = queue base PA
515 set CPU_NRQ_SIZE, %g5 ! %g5 = queue size
/illumos-gate/usr/src/uts/common/sys/
H A Dddi.h149 extern struct queue *OTHERQ(queue_t *); /* stream.h */
150 extern struct queue *RD(queue_t *);
151 extern struct queue *WR(queue_t *);
H A Dstrsubr.h183 struct queue *sd_wrq; /* write queue */
215 struct queue *sd_struiordq; /* sync barrier struio() read queue */
216 struct queue *sd_struiowrq; /* sync barrier struio() write queue */
241 struct queue *sd_qhead; /* Head of queues to be serviced. */
242 struct queue *sd_qtail; /* Tail of queues to be serviced. */
720 struct queue qu_rqueue; /* read queue - must be first */
721 struct queue qu_wqueue; /* write queue - must be second */
1335 extern struct queue *OTHERQ(queue_t *); /* stream.h */
1336 extern struct queue *RD(queue_t *);
1337 extern struct queue *WR(queue_t *);
H A Dstream.h115 typedef struct queue { struct
119 struct queue *q_next; /* Q9S: next Q in stream */ argument
120 struct queue *q_link; /* SVLK: next Q for scheduling */ argument
134 struct queue *q_nfsrv; /* STR: next Q with svc routine */ argument
148 struct queue *q_sqnext; /* SQLK: next Q on syncq list */ argument
149 struct queue *q_sqprev; /* SQLK: prev Q on syncq list */ argument
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-cancel.c78 char *queue; in lpd_purge_jobs() local
87 queue = queue_name_from_uri(svc->uri); in lpd_purge_jobs()
107 "job-printer", queue); in lpd_purge_jobs()
H A Dlpd-port.c686 char *host = NULL, *queue = NULL; in main() local
745 queue = optarg; in main()
751 queue = optarg; in main()
757 queue = optarg; in main()
765 if ((host == NULL) || (queue == NULL) || (timeout < 0) || in main()
794 if (submit_job(fd, queue, c, av[optind]) < 0) in main()
798 if (query(fd, queue, ac - optind, &av[optind]) < 0) in main()
802 if (cancel(fd, queue, ac - optind, &av[optind]) < 0) in main()
/illumos-gate/usr/src/cmd/bhyve/
H A Dpci_virtio_scsi.c650 struct pci_vtscsi_queue *queue, int num) in pci_vtscsi_init_queue() argument
656 queue->vsq_sc = sc; in pci_vtscsi_init_queue()
657 queue->vsq_vq = &sc->vss_vq[num + 2]; in pci_vtscsi_init_queue()
659 pthread_mutex_init(&queue->vsq_mtx, NULL); in pci_vtscsi_init_queue()
660 pthread_mutex_init(&queue->vsq_qmtx, NULL); in pci_vtscsi_init_queue()
661 pthread_cond_init(&queue->vsq_cv, NULL); in pci_vtscsi_init_queue()
662 STAILQ_INIT(&queue->vsq_requests); in pci_vtscsi_init_queue()
663 LIST_INIT(&queue->vsq_workers); in pci_vtscsi_init_queue()
667 worker->vsw_queue = queue; in pci_vtscsi_init_queue()
674 LIST_INSERT_HEAD(&queue->vsq_workers, worker, vsw_link); in pci_vtscsi_init_queue()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dx_call.c142 xc_insert(void *queue, xc_msg_t *msg) in xc_insert() argument
152 queue == &cpu[msg->xc_master]->cpu_m.xc_free); in xc_insert()
155 old_head = (xc_msg_t *)*(volatile xc_msg_t **)queue; in xc_insert()
157 } while (atomic_cas_ptr(queue, old_head, msg) != old_head); in xc_insert()
166 xc_extract(xc_msg_t **queue) in xc_extract() argument
171 old_head = (xc_msg_t *)*(volatile xc_msg_t **)queue; in xc_extract()
174 } while (atomic_cas_ptr(queue, old_head, old_head->xc_next) != in xc_extract()
/illumos-gate/usr/src/uts/common/sys/usb/usba/
H A Dusba_impl.h204 #define USBA_WRQUEUE2WRP(queue) (usba_req_wrapper_t *)(queue) argument
207 #define USBA_ALLOCQ2WRP(queue) (usba_req_wrapper_t *)((uintptr_t) \ argument
208 (queue) - sizeof (usba_list_entry_t) - sizeof (usb_opaque_t))
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-header.p5m1647 target=queue.h.3head
1651 target=queue.h.3head
1669 target=queue.h.3head
1673 target=queue.h.3head
1691 target=queue.h.3head
1695 target=queue.h.3head
1715 target=queue.h.3head
1717 target=queue.h.3head
1719 target=queue.h.3head
1721 target=queue.h.3head
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dqlc.conf157 queue-full-retry-count=16;
163 queue-full-retry-delay=2;

1234567