Home
last modified time | relevance | path

Searched refs:qg (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_hw.c105 mutex_enter(&qg->submit_lock[path]); in pqi_start_io()
107 io->io_queue_group = qg; in pqi_start_io()
113 iq_pi = qg->iq_pi_copy[path]; in pqi_start_io()
117 if (qg->qg_active == B_FALSE) { in pqi_start_io()
138 (uintptr_t)qg->iq_ci[path] - in pqi_start_io()
141 iq_ci = *qg->iq_ci[path]; in pqi_start_io()
153 rqst->iu_id = qg->oq_id; in pqi_start_io()
182 qg->submit_count += sending; in pqi_start_io()
184 qg->iq_pi_copy[path] = iq_pi; in pqi_start_io()
457 pqi_queue_group_t *qg; in send_event_ack() local
[all …]
H A Dsmartpqi_intr.c116 oq_ci = qg->oq_ci_copy; in pqi_process_io_intr()
122 (uintptr_t)qg->oq_pi - in pqi_process_io_intr()
126 oq_pi = *qg->oq_pi; in pqi_process_io_intr()
190 qg->cmplt_count += response_cnt; in pqi_process_io_intr()
191 qg->oq_ci_copy = oq_ci; in pqi_process_io_intr()
192 ddi_put32(s->s_datap, qg->oq_ci, oq_ci); in pqi_process_io_intr()
458 pqi_queue_group_t *qg; in intr_handler() local
463 qg = &s->s_queue_groups[queue_group_idx]; in intr_handler()
464 pqi_process_io_intr(s, qg); in intr_handler()
468 pqi_start_io(s, qg, RAID_PATH, NULL); in intr_handler()
[all …]
H A Dsmartpqi_init.c631 pqi_queue_group_t *qg; in pqi_alloc_operation_queues() local
669 qg = &s->s_queue_groups[i]; in pqi_alloc_operation_queues()
671 qg->iq_pi_copy[0] = 0; in pqi_alloc_operation_queues()
672 qg->iq_pi_copy[1] = 0; in pqi_alloc_operation_queues()
673 qg->oq_ci_copy = 0; in pqi_alloc_operation_queues()
746 qg->oq_pi_bus_addr = in pqi_alloc_operation_queues()
1280 pqi_queue_group_t *qg; in create_queue_group() local
1304 qg->iq_pi[RAID_PATH] = in create_queue_group()
1315 qg->iq_id[AIO_PATH]; in create_queue_group()
1329 qg->iq_pi[AIO_PATH] = in create_queue_group()
[all …]
H A Dsmartpqi_util.c52 pqi_queue_group_t *qg = io->io_queue_group; in cmd_remove_group() local
62 mutex_enter(&qg->submit_lock[path]); in cmd_remove_group()
64 list_remove(&qg->request_list[path], io); in cmd_remove_group()
66 mutex_exit(&qg->submit_lock[path]); in cmd_remove_group()
H A Dsmartpqi.h554 void pqi_process_io_intr(pqi_state_t *s, pqi_queue_group_t *qg);
585 void pqi_start_io(pqi_state_t *s, pqi_queue_group_t *qg, pqi_path_t path,
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dqueue.c5192 int qd, qg; local
6043 if (qg->qg_numqueues != 0 && qg->qg_qpaths != NULL)
6239 qg->qg_qpaths[qg->qg_numqueues].qp_subdirs = QP_NOSUB;
6244 qg->qg_qpaths[qg->qg_numqueues].qp_subdirs |= flag; \
6256 qg->qg_qpaths[qg->qg_numqueues].qp_name =
6259 qg->qg_qpaths[qg->qg_numqueues].qp_name =
6265 qg->qg_qpaths[qg->qg_numqueues].qp_subdirs);
6267 qg->qg_qpaths[qg->qg_numqueues].qp_idx = qn;
7300 qg = (QUEUEGRP *) xalloc(sizeof(*qg));
7301 memset((char *) qg, '\0', sizeof(*qg));
[all …]
H A Dsendmail.h2585 extern int pickqdir __P((QUEUEGRP *qg, long fsize, ENVELOPE *e));