HomeSort by: relevance | last modified time | path
    Searched defs:sq (Results 1 - 20 of 20) sorted by relevancy

  /src/sys/sys/
sleeptab.h 64 sleepq_t *sq; local in function:sleeptab_lookup
68 sq = &st->st_queue[hash];
71 return sq;
  /src/games/hack/
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 in typeref:typename:int
  /src/games/sail/
dr_2.c 65 struct ship *sp, *sq; local in function:thinkofgrapples
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 in function:checkup
    [all...]
dr_3.c 55 struct ship *sp, *sq; local in function:moveall
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...]
dr_1.c 77 struct ship *sp, *sq; local in function:boardcomp
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, crew[0]*100+crew[1]*10
239 struct ship *sp, *sq; local in function:resolve
    [all...]
  /src/sys/ddb/
db_xxx.c 350 sleepq_t sq; local in function:db_show_sleepq
353 db_read_bytes(addr, sizeof(lp), (char *)&sq);
355 if ((lp = LIST_FIRST(&sq)) == NULL) {
  /src/sys/kern/
kern_condvar.c 127 sleepq_t *sq; local in function:cv_enter
136 sq = CV_SLEEPQ(cv);
137 nlocks = sleepq_enter(sq, l, mp);
138 sleepq_enqueue(sq, cv, CV_WMESG(cv), &cv_syncobj, catch_p);
485 sleepq_t *sq; local in function:cv_wakeup_one
490 sq = CV_SLEEPQ(cv);
491 if (__predict_true((l = LIST_FIRST(sq)) != NULL)) {
492 KASSERT(l->l_sleepq == sq);
495 sleepq_remove(sq, l, true);
532 sleepq_t *sq; local in function:cv_wakeup_all
    [all...]
kern_sleepq.c 101 sleepq_init(sleepq_t *sq)
104 LIST_INIT(sq);
120 sleepq_remove(sleepq_t *sq, lwp_t *l, bool wakeup)
128 KASSERT(sq != NULL);
131 KASSERT(sq == NULL);
191 sleepq_insert(sleepq_t *sq, lwp_t *l, syncobj_t *sobj)
195 KASSERT(sq == NULL);
198 KASSERT(sq != NULL);
204 LIST_FOREACH(l2, sq, l_sleepchain) {
220 LIST_INSERT_HEAD(sq, l, l_sleepchain)
486 sleepq_t *sq = l->l_sleepq; local in function:sleepq_unsleep
611 sleepq_t *sq = l->l_sleepq; local in function:sleepq_changepri
627 sleepq_t *sq = l->l_sleepq; local in function:sleepq_lendpri
    [all...]
kern_turnstile.c 376 sleepq_t *sq; local in function:turnstile_block
419 sq = &ts->ts_sleepq[q];
421 nlocks = sleepq_enter(sq, l, lock);
423 sleepq_enqueue(sq, obj, sobj->sobj_name, sobj, false);
446 sleepq_t *sq; local in function:turnstile_wakeup
453 sq = &ts->ts_sleepq[q];
471 LIST_FOREACH(l, sq, l_sleepchain) {
481 l = LIST_FIRST(sq);
kern_synch.c 188 sleepq_t *sq; local in function:tsleep
203 sq = sleeptab_lookup(&sleeptab, ident, &mp);
204 nlocks = sleepq_enter(sq, l, mp);
205 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj, catch_p);
214 sleepq_t *sq; local in function:mtsleep
228 sq = sleeptab_lookup(&sleeptab, ident, &mp);
229 nlocks = sleepq_enter(sq, l, mp);
230 sleepq_enqueue(sq, ident, wmesg, &sleep_syncobj, catch_p);
274 sleepq_t *sq; local in function:wakeup
280 sq = sleeptab_lookup(&sleeptab, ident, &mp)
    [all...]
  /src/games/monop/
monop.h 91 SQUARE *sq[3]; /* list of squares in monop */ member in struct:mon_st
  /src/sys/arch/luna68k/dev/
omrasops.c 1285 uint8_t *sp, *dp, *sq, *dq, *basep; local in function:om1_copycols
1345 sq = sp;
1368 sp = (sq += scanspan);
1384 sq = sp;
1407 sp = (sq += scanspan);
1418 uint8_t *sp, *dp, *sq, *dq, *basep; local in function:om4_copycols
1484 sq = sp;
1525 sp = (sq += scanspan);
1541 sq = sp;
1582 sp = (sq += scanspan)
    [all...]
  /src/sys/external/bsd/ena-com/
ena_com.c 123 struct ena_com_admin_sq *sq = &queue->sq; local in function:ena_com_admin_init_sq
126 ENA_MEM_ALLOC_COHERENT(queue->q_dmadev, size, sq->entries, sq->dma_addr,
127 sq->mem_handle);
129 if (!sq->entries) {
134 sq->head = 0;
135 sq->tail = 0;
136 sq->phase = 1;
138 sq->db_addr = NULL
1584 struct ena_com_admin_sq *sq = &admin_queue->sq; local in function:ena_com_admin_destroy
    [all...]
ena_com.h 265 struct ena_com_admin_sq sq; member in struct:ena_com_admin_queue
ena_admin_defs.h 131 /* completion queue entry for each sq descriptor */
134 /* completion queue entry upon request in sq descriptor */
137 /* current queue head pointer is updated in OS memory upon sq
142 /* current queue head pointer is updated in OS memory for each sq
252 /* 3:0 : placement_policy - Describing where the SQ
253 * descriptor ring and the SQ packet headers reside:
259 * the CQ associated with this SQ: 0x0 - cqe for each
260 * sq descriptor, 0x1 - cqe upon request in sq
262 * updated in OS memory upon sq descriptor reques
330 struct ena_admin_sq sq; member in struct:ena_admin_aq_destroy_sq_cmd
    [all...]
  /src/sys/netinet/
sctp_pcb.c 2006 struct sctp_socket_q_list *sq; local in function:sctp_inpcb_free
2181 while ((sq = TAILQ_FIRST(&inp->sctp_queue_list)) != NULL) {
2182 TAILQ_REMOVE(&inp->sctp_queue_list, sq, next_sq);
2183 SCTP_ZONE_FREE(sctppcbinfo.ipi_zone_sockq, sq);
3028 struct sctp_socket_q_list *sq; local in function:sctp_free_assoc
3071 TAILQ_FOREACH(sq, &inp->sctp_queue_list, next_sq) {
3072 if (sq->tcb == stcb) {
3073 sq->tcb = NULL;
4632 struct sctp_socket_q_list *sq; local in function:sctp_add_to_socket_q
4639 sq = (struct sctp_socket_q_list *)SCTP_ZONE_GET
4659 struct sctp_socket_q_list *sq; local in function:sctp_remove_from_socket_q
    [all...]
sctp_usrreq.c 3426 struct sctp_socket_q_list *sq=NULL; local in function:sctp_rcvd
3463 sq = TAILQ_FIRST(&inp->sctp_queue_list);
3464 if (sq) {
3465 stcb = sq->tcb;
3525 if ((( sq ) && (flags & MSG_EOR) && ((inp->sctp_flags & SCTP_PCB_FLAGS_IN_TCPPOOL) == 0))
  /src/sys/dev/ic/
rtw.c 1453 int hwrate, len, rate, rssi, sq, s; local in function:rtw_intr_rx
1587 sq = __SHIFTOUT(hrssi, RTW_RXRSSI_SQ);
1590 rssi = UINT8_MAX - sq;
1643 htole16(UINT8_MAX - sq);
  /src/sys/external/bsd/ena-com/ena_defs/
ena_admin_defs.h 132 /* completion queue entry for each sq descriptor */
135 /* completion queue entry upon request in sq descriptor */
138 /* current queue head pointer is updated in OS memory upon sq
143 /* current queue head pointer is updated in OS memory for each sq
253 /* 3:0 : placement_policy - Describing where the SQ
254 * descriptor ring and the SQ packet headers reside:
260 * the CQ associated with this SQ: 0x0 - cqe for each
261 * sq descriptor, 0x1 - cqe upon request in sq
263 * updated in OS memory upon sq descriptor reques
331 struct ena_admin_sq sq; member in struct:ena_admin_aq_destroy_sq_cmd
    [all...]
  /src/sys/dev/pci/
if_mcx.c 5205 printf("%s: unable to allocate create sq mailboxen\n",
5234 printf("%s: create sq timeout\n", DEVNAME(sc));
5238 printf("%s: create sq command corrupt\n", DEVNAME(sc));
5244 printf("%s: create sq failed (%x, %x)\n", DEVNAME(sc),
5289 printf("%s: destroy sq timeout\n", DEVNAME(sc));
5293 printf("%s: destroy sq command corrupt\n", DEVNAME(sc));
5299 printf("%s: destroy sq failed (%x, %x)\n", DEVNAME(sc),
5338 printf("%s: unable to allocate modify sq mailbox\n",
5350 printf("%s: modify sq timeout\n", DEVNAME(sc));
5354 printf("%s: modify sq command corrupt\n", DEVNAME(sc))
7800 struct mcx_sq_entry *sq, *sqe; local in function:mcx_send_common_locked
8793 struct mcx_sq_ctx sq; member in union:mcx_kstat_queue_read::__anonb4946adb020a
    [all...]

Completed in 33 milliseconds