/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_admin.c | 117 ena_admin_sq_t *sq = &aq->ea_sq; in ena_admin_submit_cmd() local 122 uint16_t tail_mod = sq->eas_tail & modulo_mask; in ena_admin_submit_cmd() 136 cmd->ecd_flags = sq->eas_phase & ENAHW_CMD_PHASE_MASK; in ena_admin_submit_cmd() 138 bcopy(cmd, &sq->eas_entries[tail_mod], sizeof (*cmd)); in ena_admin_submit_cmd() 139 ENA_DMA_SYNC(sq->eas_dma, DDI_DMA_SYNC_FORDEV); in ena_admin_submit_cmd() 141 sq->eas_tail++; in ena_admin_submit_cmd() 149 lctx, uint16_t, tail_mod, uint8_t, sq->eas_phase); in ena_admin_submit_cmd() 151 if ((sq->eas_tail & modulo_mask) == 0) { in ena_admin_submit_cmd() 152 sq->eas_phase ^= 1; in ena_admin_submit_cmd() 155 ena_hw_abs_write32(ena, sq->eas_dbaddr, sq->eas_tail); in ena_admin_submit_cmd()
|
/illumos-gate/usr/src/uts/common/io/mlxcx/ |
H A D | mlxcx_ring.c | 1325 mlxcx_work_queue_t *sq; in mlxcx_tx_group_setup() local 1372 sq = &g->mlg_wqs[i]; in mlxcx_tx_group_setup() 1377 sq->mlwq_group = g; in mlxcx_tx_group_setup() 1387 mlxcx_work_queue_t *sq) in mlxcx_tx_ring_start() argument 1395 cq = sq->mlwq_cq; in mlxcx_tx_ring_start() 1399 mutex_enter(&sq->mlwq_mtx); in mlxcx_tx_ring_start() 1401 mutex_exit(&sq->mlwq_mtx); in mlxcx_tx_ring_start() 1425 mlxcx_shard_ready(sq->mlwq_bufs); in mlxcx_tx_ring_start() 1429 mutex_exit(&sq->mlwq_mtx); in mlxcx_tx_ring_start() 1436 (void) mlxcx_sq_add_nop(mlxp, sq); in mlxcx_tx_ring_start() [all …]
|
H A D | mlxcx.c | 1663 if (!mlxcx_cmd_query_sq(mlxp, sq, &ctx)) in mlxcx_check_sq() 1670 if (sq->mlwq_state & MLXCX_WQ_STARTED) { in mlxcx_check_sq() 1672 sq->mlwq_num, "RST", state); in mlxcx_check_sq() 1673 sq->mlwq_fm_repd_qstate = B_TRUE; in mlxcx_check_sq() 1677 if (!(sq->mlwq_state & MLXCX_WQ_STARTED)) { in mlxcx_check_sq() 1679 sq->mlwq_num, "RDY", state); in mlxcx_check_sq() 1680 sq->mlwq_fm_repd_qstate = B_TRUE; in mlxcx_check_sq() 1685 sq->mlwq_num, "ERR", state); in mlxcx_check_sq() 1686 sq->mlwq_fm_repd_qstate = B_TRUE; in mlxcx_check_sq() 1690 sq->mlwq_num, "???", state); in mlxcx_check_sq() [all …]
|
H A D | mlxcx_gld.c | 508 mlxcx_work_queue_t *sq = (mlxcx_work_queue_t *)arg; in mlxcx_mac_ring_tx() local 509 mlxcx_t *mlxp = sq->mlwq_mlx; in mlxcx_mac_ring_tx() 557 atomic_or_uint(&sq->mlwq_state, MLXCX_WQ_BLOCKED_MAC); in mlxcx_mac_ring_tx() 561 mutex_enter(&sq->mlwq_mtx); in mlxcx_mac_ring_tx() 563 cq = sq->mlwq_cq; in mlxcx_mac_ring_tx() 570 mutex_exit(&sq->mlwq_mtx); in mlxcx_mac_ring_tx() 577 mutex_exit(&sq->mlwq_mtx); in mlxcx_mac_ring_tx() 593 if (sq->mlwq_wqebb_used >= sq->mlwq_bufhwm) { in mlxcx_mac_ring_tx() 594 atomic_or_uint(&sq->mlwq_state, MLXCX_WQ_BLOCKED_MAC); in mlxcx_mac_ring_tx() 615 mutex_exit(&sq->mlwq_mtx); in mlxcx_mac_ring_tx() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_nvme.c | 1207 cqe->sqhd = sq->head; in pci_nvme_cq_update() 2045 sq = &sc->submit_queues[0]; in pci_nvme_handle_admin_cmd() 2050 sqhead = sq->head; in pci_nvme_handle_admin_cmd() 2054 cmd = &(sq->qbase)[sqhead]; in pci_nvme_handle_admin_cmd() 2141 sq->head = sqhead; in pci_nvme_handle_admin_cmd() 2298 __func__, sq->cqid); in pci_nvme_set_completion() 2742 sqhead = sq->head; in pci_nvme_handle_io_cmd() 2744 idx, sqhead, sq->tail, sq->qbase); in pci_nvme_handle_io_cmd() 2756 cmd = &sq->qbase[sqhead]; in pci_nvme_handle_io_cmd() 2775 req->nvme_sq = sq; in pci_nvme_handle_io_cmd() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | strsubr.h | 834 #define SQLOCK(sq) (&(sq)->sq_lock) argument 886 #define SQ_PUTCOUNT_SETFAST(sq) { \ argument 887 ASSERT(MUTEX_HELD(SQLOCK(sq))); \ 888 if ((sq)->sq_ciputctrl != NULL) { \ 890 int nlocks = (sq)->sq_nciputctrl; \ 892 ASSERT((sq)->sq_type & SQ_CIPUT); \ 901 #define SQ_PUTCOUNT_CLRFAST(sq) { \ argument 902 ASSERT(MUTEX_HELD(SQLOCK(sq))); \ 903 if ((sq)->sq_ciputctrl != NULL) { \ 905 int nlocks = (sq)->sq_nciputctrl; \ [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | stream.c | 3735 syncq_t *sq; in rwnext() local 3782 sq = qp->q_syncq; in rwnext() 3785 count = sq->sq_count; in rwnext() 3803 cv_wait(&sq->sq_wait, SQLOCK(sq)); in rwnext() 3865 sq->sq_count--; in rwnext() 3923 syncq_t *sq; in infonext() local 3947 sq = qp->q_syncq; in infonext() 3959 cv_wait(&sq->sq_wait, SQLOCK(sq)); in infonext() 3975 sq->sq_count--; in infonext() 4049 ASSERT(sq != NULL); in create_syncq_putlocks() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | driver_lyr.c | 1495 ldi_ident_from_stream(struct queue *sq, ldi_ident_t *lip) in ldi_ident_from_stream() argument 1501 if ((sq == NULL) || (lip == NULL)) in ldi_ident_from_stream() 1506 stp = sq->q_stream; in ldi_ident_from_stream()
|
H A D | strsubr.c | 478 EQUIV(sq->sq_head, sq->sq_tail); \ 495 sq->sq_head = sq->sq_tail = qp; \ 519 sq->sq_pri = sq->sq_head->q_spri; \ 1701 cv_wait(&sq->sq_wait, SQLOCK(sq)); in wait_syncq() 2694 sq->sq_onext = sq->sq_oprev = sq; in hold_dm() 5680 (sq->sq_onext == sq && sq->sq_oprev == sq)); in free_syncq() 5777 for (sq = outer->sq_onext; sq != outer; sq = sq->sq_onext) { in outer_enter() 5802 for (sq = outer->sq_onext; sq != outer; sq = sq->sq_onext) { in outer_enter() 5873 for (sq = outer->sq_onext; sq != outer; sq = sq->sq_onext) in outer_exit() 5880 for (sq = outer->sq_onext; sq != outer; sq = sq->sq_onext) in outer_exit() [all …]
|
H A D | streamio.c | 5834 syncq_t *sq = NULL; in do_sendfp() local 5886 if ((sq = qp->q_syncq) != NULL) in do_sendfp() 5887 entersq(sq, SQ_PUT); in do_sendfp() 5917 if (sq != NULL) in do_sendfp() 5918 leavesq(sq, SQ_PUT); in do_sendfp()
|
H A D | ddi.c | 706 ASSERT(sq); in qwait_sig() 765 ret = cv_wait_sig(&sq->sq_exitwait, SQLOCK(sq)); in qwait_sig() 818 ASSERT(sq); in qwait() 877 cv_wait(&sq->sq_exitwait, SQLOCK(sq)); in qwait() 907 syncq_t *sq; in qwait_rw() local 920 ASSERT(sq); in qwait_rw() 960 if (cv_wait_sig(&sq->sq_exitwait, SQLOCK(sq)) <= 0) { in qwait_rw() 996 syncq_t *sq; in qtimeout() local 1025 syncq_t *sq; in qbufcall() local 1074 cv_wait(&sq->sq_wait, SQLOCK(sq)); in quntimeout() [all …]
|
H A D | sig.c | 2399 sigqueue_t *sq, *next; in sigqhdralloc() local 2419 sq->sq_next = next; in sigqhdralloc() 2420 sq = next; in sigqhdralloc() 2422 sq->sq_next = NULL; in sigqhdralloc() 2438 sigqueue_t *sq = NULL; in sigqalloc() local 2451 sq->sq_func = NULL; in sigqalloc() 2453 sq = sqh->sqb_free; in sigqalloc() 2460 sq->sq_next = NULL; in sigqalloc() 2461 sq->sq_external = 0; in sigqalloc() 2466 return (sq); in sigqalloc() [all …]
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf.c | 2390 sigqueue_t *sq; in elfcore() local 2472 sq = sig == SIGKILL ? curproc->p_killsqp : lwp->lwp_curinfo; in elfcore() 2474 if (sq != NULL) { in elfcore() 2475 bcopy(&sq->sq_info, &killinfo.prk_info, in elfcore() 2476 sizeof (sq->sq_info)); in elfcore()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | sadb.c | 2356 sq->sp = &sq->spp->s_v6; in sadb_form_query() 2358 sq->sp = &sq->spp->s_v4; in sadb_form_query() 2365 sq->inbound = &sq->sp->sdb_if[sq->inhash]; in sadb_form_query() 2373 sq->outhash = OUTBOUND_HASH_V6(sq->sp, *(sq->dstaddr)); in sadb_form_query() 2377 sq->outbound = &sq->sp->sdb_of[sq->outhash]; in sadb_form_query() 2480 ipsa_query_t *sq = &ps->sq; in sadb_delpair_state_one() local 2698 sq->assoc->sadb_sa_spi, sq->srcaddr, sq->dstaddr, sq->af); in get_ipsa_pair() 2705 sq->assoc->sadb_sa_spi, sq->srcaddr, sq->dstaddr, in get_ipsa_pair() 2714 sq->assoc->sadb_sa_spi, sq->srcaddr, sq->dstaddr, sq->af); in get_ipsa_pair() 2720 sq->assoc->sadb_sa_spi, sq->srcaddr, sq->dstaddr, in get_ipsa_pair() [all …]
|
/illumos-gate/usr/src/cmd/factor/ |
H A D | factor.c | 41 double sq[] = { variable 95 ii += sq[j]; in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 5603 int64_t sq = (int64_t)tp->tcpConnEntryInfo.ce_snxt - in tcp_report_item_v4() local 5649 (sq >= 0) ? sq : 0, in tcp_report_item_v4() 5692 (sq >= 0) ? sq : 0, in tcp_report_item_v4() 5737 int64_t sq = (int64_t)tp6->tcp6ConnEntryInfo.ce_snxt - in tcp_report_item_v6() local 5778 (sq >= 0) ? sq : 0, in tcp_report_item_v6() 5829 (sq >= 0) ? sq : 0, in tcp_report_item_v6()
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.c | 3606 SIMPLEQ_INSERT_HEAD(waitq, pbuf, sq); in skd_queue() 3608 SIMPLEQ_INSERT_TAIL(waitq, pbuf, sq); in skd_queue() 3734 SIMPLEQ_REMOVE_HEAD(&skdev->waitqueue, sq); in skd_get_queued_pbuf()
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_subr.c | 7068 while ((sp = STAILQ_FIRST(&tgt->sq)) != NULL) { in pmcs_flush_target_queues() 7069 STAILQ_REMOVE(&tgt->sq, sp, pmcs_cmd, cmd_next); in pmcs_flush_target_queues()
|
H A D | pmcs_sata.c | 94 sp = STAILQ_FIRST(&xp->sq); in pmcs_sata_special_work() 500 STAILQ_REMOVE_HEAD(&xp->sq, cmd_next); in pmcs_sata_special_work() 541 while (!STAILQ_EMPTY(&xp->sq)) { in pmcs_run_sata_special() 571 if (STAILQ_EMPTY(&xp->sq)) { in pmcs_sata_work()
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | text-doctools.p5m | 216 file path=usr/lib/font/devpost/charlib/sq group=lp mode=0444
|
H A D | locale-sq.p5m | 15 set name=pkg.fmri value=pkg:/locale/sq@$(PKGVERS)
|
H A D | locale-sq-extra.p5m | 20 set name=pkg.fmri value=pkg:/locale/sq-extra@$(PKGVERS)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/ |
H A D | pmcs.c | 1212 sp = xs.sq.stqh_first; in display_waitqs()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_intrmap.c | 443 uchar_t svt, sq; in get_sid() local 453 sq = SQ_VERIFY_ALL; in get_sid() 465 sq = SQ_VERIFY_ALL; in get_sid() 471 sq = SQ_VERIFY_ALL; in get_sid() 475 return (sid | (svt << 18) | (sq << 16)); in get_sid()
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 123 STAILQ_HEAD(sqh, pmcs_cmd) sq; /* SATA specific */
|