q 73 bsp/drv/dev/base/tty.c #define ttyq_full(q) ((q)->tq_count >= TTYQ_SIZE) q 74 bsp/drv/dev/base/tty.c #define ttyq_empty(q) ((q)->tq_count == 0) q 528 bsp/drv/dev/cpufreq/est.c char *p, *q; q 568 bsp/drv/dev/cpufreq/est.c p = q = brand_str; q 572 bsp/drv/dev/cpufreq/est.c *q++ = *p++; q 573 bsp/drv/dev/cpufreq/est.c *q = '\0'; q 43 include/sys/queue.h #define queue_next(q) ((q)->next) q 44 include/sys/queue.h #define queue_prev(q) ((q)->prev) q 47 include/sys/queue.h #define queue_end(head,q) ((q) == (head)) q 50 include/sys/queue.h #define queue_entry(q, type, member) \ q 51 include/sys/queue.h ((type *)((char *)(q) - (unsigned long)(&((type *)0)->member))) q 385 sys/ipc/msg.c queue_t q; q 394 sys/ipc/msg.c q = dequeue(&obj->sendq); q 395 sys/ipc/msg.c t = queue_entry(q, struct thread, ipc_link); q 402 sys/ipc/msg.c q = dequeue(&obj->recvq); q 403 sys/ipc/msg.c t = queue_entry(q, struct thread, ipc_link); q 416 sys/ipc/msg.c queue_t q; q 419 sys/ipc/msg.c q = queue_first(head); q 420 sys/ipc/msg.c top = queue_entry(q, struct thread, ipc_link); q 422 sys/ipc/msg.c while (!queue_end(head, q)) { q 423 sys/ipc/msg.c t = queue_entry(q, struct thread, ipc_link); q 426 sys/ipc/msg.c q = queue_next(q); q 148 sys/kern/sched.c queue_t q; q 151 sys/kern/sched.c q = dequeue(&runq[maxpri]); q 152 sys/kern/sched.c t = queue_entry(q, struct thread, sched_link); q 176 sys/kern/sched.c queue_t q; q 183 sys/kern/sched.c q = dequeue(&wakeq); q 184 sys/kern/sched.c t = queue_entry(q, struct thread, sched_link); q 309 sys/kern/sched.c queue_t q; q 318 sys/kern/sched.c q = dequeue(&evt->sleepq); q 319 sys/kern/sched.c t = queue_entry(q, struct thread, sched_link); q 337 sys/kern/sched.c queue_t head, q; q 349 sys/kern/sched.c q = queue_first(head); q 350 sys/kern/sched.c top = queue_entry(q, struct thread, sched_link); q 351 sys/kern/sched.c while (!queue_end(head, q)) { q 352 sys/kern/sched.c t = queue_entry(q, struct thread, sched_link); q 355 sys/kern/sched.c q = queue_next(q); q 683 sys/kern/sched.c queue_t q; q 695 sys/kern/sched.c q = dequeue(&dpcq); q 696 sys/kern/sched.c dpc = queue_entry(q, struct dpc, link); q 44 usr/test/malloc/malloc.c char *p, *q; q 54 usr/test/malloc/malloc.c for (q = p, i = 0; i < buflen; i++) q 55 usr/test/malloc/malloc.c *(q++) = '@'; q 57 usr/test/malloc/malloc.c for (q = p, i = 0; i < buflen; i++) q 58 usr/test/malloc/malloc.c putchar(*(q++));