/illumos-gate/usr/src/uts/common/os/ |
H A D | putnext.c | 147 syncq_t *sq; local 174 sq = qp->q_syncq; 175 ASSERT(sq != NULL); 176 ASSERT(MUTEX_NOT_HELD(SQLOCK(sq))); 179 if (sq->sq_ciputctrl != NULL) { 181 ASSERT(sq->sq_flags & SQ_CIPUT); 182 ix = CPU->cpu_seqid & sq->sq_nciputctrl; 183 sqciplock = &sq->sq_ciputctrl[ix].ciputctrl_lock; 184 sqcipcount = &sq->sq_ciputctrl[ix].ciputctrl_count; 187 (sq 429 syncq_t *sq; local [all...] |
H A D | ddi.c | 692 syncq_t *sq, *outer; local 698 * Perform the same operations as a leavesq(sq, SQ_OPENCLOSE) 705 sq = q->q_syncq; 706 ASSERT(sq); 707 is_sq_cioc = (sq->sq_type & SQ_CIOC) ? 1 : 0; 708 ASSERT(sq->sq_outer == NULL || sq->sq_outer->sq_flags & SQ_WRITER); 709 outer = sq->sq_outer; 717 mutex_enter(SQLOCK(sq)); 719 SQ_PUTLOCKS_ENTER(sq); 805 syncq_t *sq, *outer; local 907 syncq_t *sq; local 996 syncq_t *sq; local 1025 syncq_t *sq; local 1067 syncq_t *sq = q->q_syncq; local 1105 syncq_t *sq = q->q_syncq; local [all...] |
H A D | strsubr.c | 467 #define SQPUT_Q(sq, qp) \ 469 ASSERT(MUTEX_HELD(SQLOCK(sq))); \ 474 EQUIV(sq->sq_head, sq->sq_tail); \ 476 ASSERT(sq == qp->q_syncq); \ 478 EQUIV(sq->sq_head, (sq->sq_flags & SQ_MESSAGES)); \ 480 IMPLY(sq->sq_head != NULL, sq->sq_head->q_sqprev == NULL);\ 481 IMPLY(sq 690 syncq_t *sq = &qip->qu_syncq; local 751 syncq_t *sq = &qip->qu_syncq; local 778 syncq_t *sq = buf; local 793 syncq_t *sq = buf; local 1686 wait_syncq(syncq_t *sq) argument 1713 syncq_t *sq = q->q_syncq; local 2101 syncq_t *sq = wrq->q_syncq; local 2113 syncq_t *sq, *outer; local 2179 syncq_t *sq = rq->q_syncq; local 2490 syncq_t *sq, *outer; local 2645 syncq_t *sq; local 3353 syncq_t *sq; local 3415 syncq_t *sq, *outer; local 3761 syncq_t *sq; local 3798 wait_sq_svc(syncq_t *sq) argument 3839 sqenable(syncq_t *sq) argument 4622 syncq_t *sq = sql->sql_sq; local 4859 syncq_t *sq = qp->q_syncq; local 5009 blocksq(syncq_t *sq, ushort_t flag, int maxcnt) argument 5071 unblocksq(syncq_t *sq, uint16_t resetflag, int isouter) argument 5106 dropsq(syncq_t *sq, uint16_t resetflag) argument 5131 emptysq(syncq_t *sq) argument 5380 entersq(syncq_t *sq, int entrypoint) argument 5499 leavesq(syncq_t *sq, int entrypoint) argument 5566 syncq_t *sq = qp->q_syncq; local 5583 syncq_t *sq = qp->q_syncq; local 5649 free_syncq(syncq_t *sq) argument 5727 syncq_t *sq; local 5817 syncq_t *sq; local 5879 outer_insert(syncq_t *outer, syncq_t *sq) argument 5910 outer_remove(syncq_t *outer, syncq_t *sq) argument 5979 syncq_t *osq, *sq, *outer; local 6172 sq_run_events(syncq_t *sq) argument 6256 sqfill_events(syncq_t *sq, queue_t *q, mblk_t *mp, void (*func)()) argument 6370 drain_syncq(syncq_t *sq) argument 6645 qdrain_syncq(syncq_t *sq, queue_t *q) argument 6858 qfill_syncq(syncq_t *sq, queue_t *q, mblk_t *mp) argument 6951 flush_syncq(syncq_t *sq, queue_t *qp) argument 7095 syncq_t *sq; local 7254 syncq_t *sq = q->q_syncq; local 7298 callbparams_alloc(syncq_t *sq, void (*func)(void *), void *arg, int kmflags) argument 7329 callbparams_free(syncq_t *sq, callbparams_t *cbp) argument 7347 callbparams_free_id(syncq_t *sq, callbparams_id_t id, int32_t flag) argument 7374 syncq_t *sq; local 7469 putnext_tail(syncq_t *sq, queue_t *qp, uint32_t passflags) argument 7812 syncq_t *sq; local 8281 syncq_service(syncq_t *sq) argument [all...] |
H A D | semaphore.c | 287 kthread_t *sq, *tp; local 291 sq = s->s_slpq; 297 if ((sq != NULL) && (s->s_count > 0)) { 298 tp = sq; 300 sq = sq->t_link; 307 s->s_slpq = sq; 333 kthread_t *sq, *tp; local 344 sq = s->s_slpq; 345 if (sq ! [all...] |
H A D | sig.c | 2399 sigqueue_t *sq, *next; local 2416 sqh->sqb_free = sq = (sigqueue_t *)(sqh + 1); 2418 next = (sigqueue_t *)((uintptr_t)sq + size); 2419 sq->sq_next = next; 2420 sq = next; 2422 sq->sq_next = NULL; 2438 sigqueue_t *sq = NULL; local 2450 sq = kmem_alloc(sizeof (sigqueue_t), KM_SLEEP); 2451 sq->sq_func = NULL; 2453 sq 2473 sigqrel(sigqueue_t *sq) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_squeue.c | 188 squeue_t **lastsqp, *sq; local 236 sq = *defaultq_lastp; 237 *defaultq_lastp = sq->sq_next; 238 sq->sq_next = NULL; 239 if (!(sq->sq_state & SQS_DEFAULT)) { 240 mutex_enter(&sq->sq_lock); 241 sq->sq_state |= SQS_DEFAULT; 242 mutex_exit(&sq->sq_lock); 245 sq = ip_squeue_create(SQUEUE_DEFAULT_PRIORITY); 246 sq 267 squeue_t *sq; local 359 squeue_t *sq; local 394 ip_squeue_set_move(squeue_t *sq, squeue_set_t *newset) argument 427 ip_squeue_cpu_move(squeue_t *sq, processorid_t cpuid) argument 478 squeue_t *sq = NULL; local [all...] |
H A D | sadb.c | 2149 sadb_match_spi(ipsa_query_t *sq, ipsa_t *sa) argument 2151 return (sq->spi == sa->ipsa_spi); 2155 sadb_match_dst_v6(ipsa_query_t *sq, ipsa_t *sa) argument 2157 return (IPSA_ARE_ADDR_EQUAL(sa->ipsa_dstaddr, sq->dstaddr, AF_INET6)); 2161 sadb_match_src_v6(ipsa_query_t *sq, ipsa_t *sa) argument 2163 return (IPSA_ARE_ADDR_EQUAL(sa->ipsa_srcaddr, sq->srcaddr, AF_INET6)); 2167 sadb_match_dst_v4(ipsa_query_t *sq, ipsa_t *sa) argument 2169 return (sq->dstaddr[0] == sa->ipsa_dstaddr[0]); 2173 sadb_match_src_v4(ipsa_query_t *sq, ipsa_t *sa) argument 2175 return (sq 2179 sadb_match_dstid(ipsa_query_t *sq, ipsa_t *sa) argument 2187 sadb_match_srcid(ipsa_query_t *sq, ipsa_t *sa) argument 2195 sadb_match_kmc(ipsa_query_t *sq, ipsa_t *sa) argument 2212 sadb_form_query(keysock_in_t *ksi, uint32_t req, uint32_t match, ipsa_query_t *sq, int *diagnostic) argument 2376 sadb_match_query(ipsa_query_t *sq, ipsa_t *sa) argument 2396 ipsa_query_t sq; member in struct:sadb_purge_state 2464 ipsa_query_t *sq = &ps->sq; local 2543 ipsa_query_t sq; local 2666 get_ipsa_pair(ipsa_query_t *sq, ipsap_t *ipsapp, int *diagnostic) argument 3634 ipsa_query_t sq; local 4436 sadb_check_kmc(ipsa_query_t *sq, ipsa_t *sa, int *diagnostic) argument 4464 sadb_update_kmc(ipsa_query_t *sq, ipsa_t *sa) argument 4499 ipsa_query_t sq; local 4702 update_pairing(ipsap_t *ipsapp, ipsa_query_t *sq, keysock_in_t *ksi, int *diagnostic) argument [all...] |
H A D | ipsecesp.c | 3313 ipsa_query_t sq; local 3319 sq.spp = &espstack->esp_sadb; /* XXX */ 3322 &sq, diagnostic); 3332 if (sq.assoc->sadb_sa_flags & IPSA_F_INBOUND) { 3333 primary = sq.inbound; 3334 secondary = sq.outbound; 3336 if (sq.assoc->sadb_sa_flags & IPSA_F_OUTBOUND) 3338 } else if (sq.assoc->sadb_sa_flags & IPSA_F_OUTBOUND) { 3339 primary = sq.outbound; 3340 secondary = sq [all...] |
H A D | ipsecah.c | 782 ipsa_query_t sq; local 791 sq.spp = &ahstack->ah_sadb; 794 &sq, diagnostic); 805 primary = sq.inbound; 806 secondary = sq.outbound; 812 primary = sq.outbound; 813 secondary = sq.inbound; 836 primary = sq.inbound; 837 secondary = sq.outbound; 852 primary = sq [all...] |
/illumos-gate/usr/src/lib/libm/common/m9x/ |
H A D | remquof.c | 58 int hx, ix, iy, iz, k, ny, nd, m, sq; local 63 sq = (iy ^ hx) & is; /* sign of x/y */ 75 *quo = 1 + (sq >> 30); 165 *quo = sq >= 0 ? m : -m; 187 *quo = sq >= 0 ? m : -m; 215 int hx, hy, sx, sq; local 221 sq = (hx ^ hy) & is; /* sign of x/y */ 264 if (sq != 0)
|
H A D | remquo.c | 61 int n, hx, hy, hz, ix, iy, sx, sq, i, m; local 69 sq = (hx ^ hy) & 0x80000000; /* sign of x/y */ 82 *quo = 1 + (sq >> 30); 157 *quo = sq >= 0 ? m : -m; 175 *quo = sq >= 0 ? m : -m; 213 int hx, hy, sx, sq; local 221 sq = (hx ^ hy) & 0x80000000; /* sign of x/y */ 263 if (sq != 0)
|
H A D | remquol.c | 60 int n, ix, iy, k, sx, sq, m; local 75 sq = (hx ^ y0) & is; 85 *quo = 1 + (sq >> 30); 189 *quo = sq >= 0 ? m : -m; 233 *quo = sq >= 0 ? m : -m; 295 int hx, hy, sx, sq; local 301 sq = (hx ^ hy) & is; /* sign of x/y */ 343 if (sq != 0)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | strsubr.h | 403 * mutex_enter(SQLOCK(sq)); 404 * while (sq->sq_count > 0) { 405 * sq->sq_flags |= SQ_WANTWAKEUP; 406 * cv_wait(&sq->sq_wait, SQLOCK(sq)); 408 * mutex_exit(SQLOCK(sq)); 412 * mutex_enter(SQLOCK(sq)); 413 * count = sq->sq_count; 414 * SQ_PUTLOCKS_ENTER(sq); 415 * SUM_SQ_PUTCOUNTS(sq, coun [all...] |
/illumos-gate/usr/src/cmd/factor/ |
H A D | factor.c | 43 double sq[] = { variable 97 ii += sq[j];
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/ |
H A D | Makefile | 31 ob rc rf rh sq
|
/illumos-gate/usr/src/uts/common/avs/ns/rdc/ |
H A D | rdc_svc.c | 1022 rdc_sleepq_t *sq; local 1061 sq = rdc_newsleepq(); 1062 sq->seq = diskio.seq; 1063 sq->sindex = diskio.cd; 1064 sq->pindex = diskio.local_cd; 1065 sq->idx = diskio.idx; 1066 sq->qpos = diskio.qpos; 1067 sq->nocache = nocache; 1068 if (rdc_sleepq(group, sq)) { 2204 rdc_sleepq_t *sq; local 2220 rdc_delsleepq(rdc_sleepq_t *sq) argument 2244 rdc_sleepq(rdc_group_t *group, rdc_sleepq_t *sq) argument 2291 rdc_sleepq_t *sq; local 2583 rdc_sleepq_t *sq; local [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | stream.c | 3754 syncq_t *sq; local 3801 sq = qp->q_syncq; 3802 mutex_enter(SQLOCK(sq)); 3804 count = sq->sq_count; 3805 flags = sq->sq_flags; 3806 ASSERT(sq->sq_ciputctrl == NULL || (flags & SQ_CIPUT)); 3813 mutex_exit(SQLOCK(sq)); 3821 sq->sq_flags = flags | SQ_WANTWAKEUP; 3822 cv_wait(&sq->sq_wait, SQLOCK(sq)); 3942 syncq_t *sq; local 4064 syncq_t *sq = q->q_syncq; local [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | streams.c | 483 syncq_t sq; local 553 if (mdb_vread(&sq, sizeof (sq), addr) == -1) { 558 if (mask != 0 && !(sq.sq_flags & mask)) 561 if (not_mask != 0 && (sq.sq_flags & not_mask)) 564 sqtype = (sq.sq_type >> 8) & 0xff; 582 addr, sq.sq_flags & 0xff, sqtype, sq.sq_count, 583 sq.sq_nqueues, sq 864 syncq_t sq; local [all...] |
H A D | sobj.c | 172 sleepq_head_t *sq; local 187 sq = &ww->ww_sleepq[ww->ww_sleepq_ndx++]; 188 t = (uintptr_t)sq->sq_queue.sq_first;
|
/illumos-gate/usr/src/cmd/troff/nroff.d/terms.d/ |
H A D | ab.X | 33 sq 1 \033X\115
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_sata.c | 93 sp = STAILQ_FIRST(&xp->sq); 499 STAILQ_REMOVE_HEAD(&xp->sq, cmd_next); 540 while (!STAILQ_EMPTY(&xp->sq)) { 570 if (STAILQ_EMPTY(&xp->sq)) {
|
/illumos-gate/usr/src/cmd/mdb/common/modules/rdc/ |
H A D | rdc.c | 246 rdc_sleepq_t sq; local 251 if (mdb_vread(&sq, sizeof (sq), addr) != sizeof (sq)) { 255 mdb_printf("sequence number %u qpos %d \n", sq.seq, sq.qpos); 256 addr = (uintptr_t)sq.next;
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_intrmap.c | 67 SVT_ALL_VERIFY, /* using sid and sq to verify */ 443 uchar_t svt, sq; local 453 sq = SQ_VERIFY_ALL; 465 sq = SQ_VERIFY_ALL; 471 sq = SQ_VERIFY_ALL; 475 return (sid | (svt << 18) | (sq << 16));
|
/illumos-gate/usr/src/uts/common/io/skd/ |
H A D | skd.h | 328 SIMPLEQ_ENTRY(skd_buf_private) sq; member in struct:skd_buf_private
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs.h | 113 /* statlock protects both target stats and the special queue (sq) */ 123 STAILQ_HEAD(sqh, pmcs_cmd) sq; /* SATA specific */ member in struct:pmcs_xscsi
|