/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_sleepq.c | 68 sleepq_t *sq; local 72 sq = &st->st_queues[i].st_queue; 75 sleepq_init(sq); 85 sleepq_init(sleepq_t *sq) argument 88 TAILQ_INIT(sq); 97 sleepq_remove(sleepq_t *sq, lwp_t *l) argument 104 TAILQ_REMOVE(sq, l, l_sleepchain); 165 sleepq_insert(sleepq_t *sq, lwp_t *l, syncobj_t *sobj) argument 172 TAILQ_FOREACH(l2, sq, l_sleepchain) { 181 TAILQ_INSERT_HEAD(sq, 194 sleepq_enqueue(sleepq_t *sq, wchan_t wchan, const char *wmesg, syncobj_t *sobj) argument 308 sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp) argument 339 sleepq_t *sq = l->l_sleepq; local 431 sleepq_reinsert(sleepq_t *sq, lwp_t *l) argument 460 sleepq_t *sq = l->l_sleepq; local 476 sleepq_t *sq = l->l_sleepq; local [all...] |
H A D | kern_condvar.c | 138 sleepq_t *sq; local 149 sq = CV_SLEEPQ(cv); 150 sleepq_enter(sq, l, mp); 151 sleepq_enqueue(sq, cv, CV_WMESG(cv), &cv_syncobj); 303 sleepq_t *sq; local 310 sq = CV_SLEEPQ(cv); 311 l = TAILQ_FIRST(sq); 316 KASSERT(l->l_sleepq == sq); 319 sleepq_remove(sq, l); 345 sleepq_t *sq; local [all...] |
H A D | kern_turnstile.c | 353 sleepq_t *sq; local 392 sq = &ts->ts_sleepq[q]; 394 sleepq_enter(sq, l, tc->tc_mutex); 400 sleepq_enqueue(sq, obj, "tstile", sobj); 424 sleepq_t *sq; local 429 sq = &ts->ts_sleepq[q]; 446 TAILQ_FOREACH(l, sq, l_sleepchain) { 456 l = TAILQ_FIRST(sq);
|
H A D | sys_lwp.c | 496 sleepq_t *sq; local 508 sq = sleeptab_lookup(&lwp_park_tab, wchan, &mp); 510 TAILQ_FOREACH(t, sq, l_sleepchain) 515 sleepq_remove(sq, t); 556 sleepq_t *sq; local 576 sq = sleeptab_lookup(&lwp_park_tab, wchan, &mp); 591 sleepq_enqueue(sq, wchan, "parked", &lwp_park_sobj); 666 sleepq_t *sq; local 709 sq = sleeptab_lookup(&lwp_park_tab, wchan, &mp); 718 TAILQ_FOREACH(t, sq, l_sleepchai [all...] |
H A D | kern_synch.c | 184 sleepq_t *sq; local 196 sq = sleeptab_lookup(&sleeptab, ident, &mp); 197 sleepq_enter(sq, l, mp); 198 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj); 207 sleepq_t *sq; local 220 sq = sleeptab_lookup(&sleeptab, ident, &mp); 221 sleepq_enter(sq, l, mp); 222 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj); 240 sleepq_t *sq; local 251 sq 290 sleepq_t *sq; local [all...] |
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/ |
H A D | sleepq.c | 61 sleepq_init(sleepq_t *sq) argument 67 TAILQ_INIT(sq); 71 sleepq_enqueue(sleepq_t *sq, wchan_t wc, const char *wmsg, syncobj_t *sob) argument 77 l->l_sleepq = sq; 78 TAILQ_INSERT_TAIL(sq, l, l_sleepchain); 109 sleepq_wake(sleepq_t *sq, wchan_t wchan, u_int expected, kmutex_t *mp) argument 117 for (l = TAILQ_FIRST(sq); l; l = l_next) { 123 TAILQ_REMOVE(sq, l, l_sleepchain);
|
/netbsd-6-1-5-RELEASE/games/sail/ |
H A D | dr_1.c | 77 struct ship *sp, *sq; local 91 foreachship(sq) { 92 if (!Xsnagged2(sp, sq)) 94 if (meleeing(sp, sq)) 96 if (!sq->file->dir 97 || sp->nationality == capship(sq)->nationality) 99 switch (sp->specs->class - sq->specs->class) { 103 sendbp(sp, sq, crew[0]*100, 0); 107 sendbp(sp, sq, crew[1]*10, 0); 114 sendbp(sp, sq, cre 239 struct ship *sp, *sq; local [all...] |
H A D | dr_2.c | 65 struct ship *sp, *sq; local 71 foreachship(sq) { 72 friendly = sp->nationality == capship(sq)->nationality; 76 if (range(sp, sq) != 1) 78 if (grappled2(sp, sq)) { 79 if (is_toughmelee(sp, sq, 0, 0)) 80 ungrap(sp, sq); 82 grap(sp, sq); 83 } else if (couldwin(sp, sq)) { 84 grap(sp, sq); 96 struct ship *sp, *sq; local [all...] |
H A D | dr_3.c | 55 struct ship *sp, *sq; local 130 foreachship(sq) { 133 if (sp == sq) 135 if (sq->file->dir == 0) 137 if (!push(sp, sq)) 139 if (snagged2(sp, sq) && range(sp, sq) > 1) 141 if (!range(sp, sq) && !fouled2(sp, sq)) { 142 makesignal(sp, "collision with $$", sq); [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/ |
H A D | entropy.c | 196 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument 197 REQUIRE(sq->samples != NULL); 198 REQUIRE(sq->extra != NULL); 200 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4); 201 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4); 202 sq->samples = NULL; 203 sq->extra = NULL; 207 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument 208 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4); 209 if (sq 393 estimate_entropy(sample_queue_t *sq, isc_uint32_t t) argument 440 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument 956 sample_queue_t *sq; local 1010 addsample(sample_queue_t *sq, isc_uint32_t sample, isc_uint32_t extra) argument 1029 sample_queue_t *sq; local 1055 sample_queue_t *sq; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/lib/isc/ |
H A D | entropy.c | 196 samplequeue_release(isc_entropy_t *ent, sample_queue_t *sq) { argument 197 REQUIRE(sq->samples != NULL); 198 REQUIRE(sq->extra != NULL); 200 isc_mem_put(ent->mctx, sq->samples, RND_EVENTQSIZE * 4); 201 isc_mem_put(ent->mctx, sq->extra, RND_EVENTQSIZE * 4); 202 sq->samples = NULL; 203 sq->extra = NULL; 207 samplesource_allocate(isc_entropy_t *ent, sample_queue_t *sq) { argument 208 sq->samples = isc_mem_get(ent->mctx, RND_EVENTQSIZE * 4); 209 if (sq 390 estimate_entropy(sample_queue_t *sq, isc_uint32_t t) argument 437 crunchsamples(isc_entropy_t *ent, sample_queue_t *sq) argument 953 sample_queue_t *sq; local 1007 addsample(sample_queue_t *sq, isc_uint32_t sample, isc_uint32_t extra) argument 1026 sample_queue_t *sq; local 1052 sample_queue_t *sq; local [all...] |
/netbsd-6-1-5-RELEASE/share/man/man4/man4.sgimips/ |
H A D | Makefile | 4 imc.4 intro.4 light.4 mace.4 mavb.4 mec.4 newport.4 pic.4 sq.4 wdsc.4
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | sleepq.h | 98 sleepq_t *sq; local 100 sq = &st->st_queues[SLEEPTAB_HASH(wchan)].st_queue; 103 return sq; 121 sleepq_enter(sleepq_t *sq, lwp_t *l, kmutex_t *mp) argument
|
/netbsd-6-1-5-RELEASE/games/monop/ |
H A D | houses.c | 149 pp = mp->sq[i]->desc; 152 printf("%s (H):\n", mp->sq[i]->name); 158 mp->sq[i]->name, pp->houses); 211 mp->sq[i]->desc->houses = result[i]; 283 pp = mp->sq[i]->desc; 286 printf("%s (0):\n", mp->sq[i]->name); 292 mp->sq[i]->name,pp->houses); 295 mp->sq[i]->name); 320 mp->sq[i]->desc->houses = temp[i]; 333 sqp = mp->sq[ [all...] |
H A D | misc.c | 250 mp->sq[i]->desc->monop = TRUE; 265 mp->sq[i]->desc->monop = FALSE;
|
H A D | monop.h | 91 SQUARE *sq[3]; /* list of squares in monop */ member in struct:mon_st
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.dg/fixed-point/ |
H A D | modes.c | 6 typedef _Fract sq __attribute__ ((mode (SQ))); typedef 65 int sqsize[sizeof (sq) == 4 ? 1 : -1]; 69 int usqsize[sizeof (sq) == 4 ? 1 : -1]; 94 int sqalign = __alignof (sq);
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 950922-1.c | 5 struct sq { struct 24 struct sq q;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 950922-1.c | 5 struct sq { struct 24 struct sq q;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/lib/ |
H A D | hash.c | 275 unsigned long int sq = divn * divn; local 277 while (sq < candidate && candidate % divn != 0) 280 sq += 4 * divn;
|
/netbsd-6-1-5-RELEASE/games/hack/ |
H A D | hack.mkshop.c | 87 static int sq(int); 263 i = sq(dist2(sx, sy, doors[sh].x, doors[sh].y)); 368 sq(int a) function
|
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/makeinfo/ |
H A D | lang.h | 51 sa, sd, sg, sh, si, sk, sl, sm, sn, so, sq, sr, ss, st, su, sv, sw, enumerator in enum:__anon4929
|
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/ccom/ |
H A D | init.c | 434 struct symtab *sq, *sp; local 467 sq = pstk->in_lnk; 468 if (sq == NULL) { 471 is->in_lnk = ISSOU(sq->stype) ? strmemb(sq->sap) : NULL; 472 is->in_t = sq->stype; 473 is->in_sym = sq; 474 is->in_df = sq->sdf;
|
/netbsd-6-1-5-RELEASE/external/bsd/pcc/dist/pcc/cc/cxxcom/ |
H A D | init.c | 434 struct symtab *sq, *sp; local 467 sq = pstk->in_lnk; 468 if (sq == NULL) { 471 is->in_lnk = ISSOU(sq->stype) ? strmemb(sq->sap) : NULL; 472 is->in_t = sq->stype; 473 is->in_sym = sq; 474 is->in_df = sq->sdf;
|
/netbsd-6-1-5-RELEASE/sys/arch/luna68k/dev/ |
H A D | omrasops.c | 295 uint8_t *sq = sp, *dq = dp; local 310 sp = (sq += scanspan); 318 uint8_t *sq, *dq; local 320 sq = (sp += width / 32 * 4); 336 sp = (sq += scanspan);
|