- tkernel_2
- driver/tef_em1d/console/src/console_drv.c - 31.8KB - 957 lines
154: if (port <= 0) return NULL;
155: q = QueSearch(&ConsPort, &ConsPort, port, offsetof(CONSCB, port));
156: return (q == &ConsPort) ? NULL : (CONSCB*)q;
- More results from console_drv.c
- driver/tef_em1d/kbpd/src/accept.c - 19.8KB - 648 lines
141: /* change keytable, too */
142: if ( keytabsz < offsetof(KeyTab, kct)
143: || !(keytab->keymax > 0 && keytab->keymax <= KEYMAX)
- More results from accept.c
- driver/tef_em1d/kbpd/src/statmach.c - 10.8KB - 383 lines
258: ks = (KeyState*)QueSearch(&StatMach.useq, &StatMach.useq,
259: keytop.w, offsetof(KeyState, keytop.w));
260:
- More results from statmach.c
- kernel/sysmgr/src/deviceio.c - 35.3KB - 1,328 lines
39:
40: #define DEVREQ_REQCB(devreq) ((ReqCB*)((B*)(devreq) - offsetof(ReqCB, req)))
41:
- kernel/sysmgr/src/sysmgr.h - 12.6KB - 342 lines
140:
141: #define RESQ_OPNCB(rq) ( (OpnCB*)((B*)(rq) - offsetof(OpnCB, resq)) )
142:
- kernel/tkernel/src/wait.h - 4.5KB - 153 lines
87: val = tcb->priority;
88: offset = offsetof(TCB,priority);
89: