self 128 bsp/drv/arm/gba/keypad.c keypad_init(struct driver *self) self 133 bsp/drv/arm/gba/keypad.c dev = device_create(self, "keypad", D_CHR); self 179 bsp/drv/arm/gba/lcd.c lcd_init(struct driver *self) self 184 bsp/drv/arm/gba/lcd.c dev = device_create(self, "lcd", D_CHR|D_TTY); self 482 bsp/drv/arm/gba/swkbd.c swkbd_init(struct driver *self) self 487 bsp/drv/arm/gba/swkbd.c dev = device_create(self, "swkbd", D_CHR); self 198 bsp/drv/dev/base/cons.c cons_init(struct driver *self) self 202 bsp/drv/dev/base/cons.c device_create(self, "console", D_CHR|D_TTY); self 500 bsp/drv/dev/base/pm.c pm_init(struct driver *self) self 506 bsp/drv/dev/base/pm.c dev = device_create(self, "pm", D_CHR|D_PROT); self 476 bsp/drv/dev/base/wscons.c wscons_init(struct driver *self) self 482 bsp/drv/dev/base/wscons.c dev = device_create(self, "tty", D_CHR|D_TTY); self 663 bsp/drv/dev/block/fdd.c fdd_probe(struct driver *self) self 674 bsp/drv/dev/block/fdd.c fdd_init(struct driver *self) self 682 bsp/drv/dev/block/fdd.c dev = device_create(self, "fd0", D_BLK|D_PROT); self 137 bsp/drv/dev/block/ramdisk.c ramdisk_probe(struct driver *self) self 154 bsp/drv/dev/block/ramdisk.c ramdisk_init(struct driver *self) self 164 bsp/drv/dev/block/ramdisk.c dev = device_create(self, "ram0", D_BLK|D_PROT); self 372 bsp/drv/dev/cpufreq/cpufreq.c cpufreq_init(struct driver *self) self 524 bsp/drv/dev/cpufreq/est.c est_probe(struct driver *self) self 579 bsp/drv/dev/cpufreq/est.c est_init(struct driver *self) self 96 bsp/drv/dev/dma/i8237.c static int dma_init(struct driver *self); self 281 bsp/drv/dev/dma/i8237.c dma_init(struct driver *self) self 268 bsp/drv/dev/input/pckbd.c pckbd_init(struct driver *self) self 273 bsp/drv/dev/input/pckbd.c dev = device_create(self, "kbd", D_CHR); self 201 bsp/drv/dev/input/psaux.c psaux_init(struct driver *self) self 209 bsp/drv/dev/input/psaux.c dev = device_create(self, "mouse", D_CHR); self 81 bsp/drv/dev/misc/null.c null_init(struct driver *self) self 84 bsp/drv/dev/misc/null.c device_create(self, "null", D_CHR); self 69 bsp/drv/dev/misc/random.c random_init(struct driver *self) self 72 bsp/drv/dev/misc/random.c device_create(self, "random", D_CHR); self 86 bsp/drv/dev/misc/zero.c zero_init(struct driver *self) self 89 bsp/drv/dev/misc/zero.c device_create(self, "zero", D_CHR); self 150 bsp/drv/dev/rtc/mc146818.c mc146818_init(struct driver *self) self 86 bsp/drv/dev/rtc/pl030.c pl030_init(struct driver *self) self 231 bsp/drv/dev/rtc/rtc.c rtc_init(struct driver *self) self 205 bsp/drv/dev/serial/ns16550.c ns16550_probe(struct driver *self) self 214 bsp/drv/dev/serial/ns16550.c ns16550_init(struct driver *self) self 229 bsp/drv/dev/serial/pl011.c pl011_init(struct driver *self) self 209 bsp/drv/dev/serial/serial.c serial_init(struct driver *self) self 236 bsp/drv/dev/video/vga.c vga_init(struct driver *self) self 244 bsp/drv/dev/video/vga.c dev = device_create(self, "vga", D_CHR); self 99 sys/kern/exception.c task_t self = curtask; self 110 sys/kern/exception.c if (self->handler != EXC_DFL && handler == EXC_DFL) { self 115 sys/kern/exception.c head = &self->threads; self 132 sys/kern/exception.c self->name)); self 137 sys/kern/exception.c self->handler = handler; self 311 sys/kern/exception.c task_t self = curtask; self 331 sys/kern/exception.c handler = self->handler; self 336 sys/kern/exception.c self->name, (long)self)); self 338 sys/kern/exception.c task_terminate(self); self 54 sys/sync/cond.c task_t self = curtask; self 57 sys/sync/cond.c if (self->nsyncs >= MAXSYNCS) self 64 sys/sync/cond.c c->owner = self; self 71 sys/sync/cond.c list_insert(&self->conds, &c->task_link); self 72 sys/sync/cond.c self->nsyncs++; self 96 sys/sync/mutex.c task_t self = curtask; self 99 sys/sync/mutex.c if (self->nsyncs >= MAXSYNCS) self 106 sys/sync/mutex.c m->owner = self; self 116 sys/sync/mutex.c list_insert(&self->mutexes, &m->task_link); self 117 sys/sync/mutex.c self->nsyncs++; self 61 sys/sync/sem.c task_t self = curtask; self 67 sys/sync/sem.c if (self->nsyncs >= MAXSYNCS) self 84 sys/sync/sem.c if (s->owner != self) { self 108 sys/sync/sem.c s->owner = self; self 112 sys/sync/sem.c list_insert(&self->sems, &s->task_link); self 113 sys/sync/sem.c self->nsyncs++; self 51 usr/lib/posix/process/waitpid.c thread_t self; self 55 usr/lib/posix/process/waitpid.c self = thread_self(); self 56 usr/lib/posix/process/waitpid.c thread_getpri(self, &pri); self 57 usr/lib/posix/process/waitpid.c thread_setpri(self, pri - 1); self 81 usr/lib/posix/process/waitpid.c thread_setpri(self, pri); self 72 usr/sample/task/task.c task_t self; self 77 usr/sample/task/task.c self = task_self(); self 78 usr/sample/task/task.c printf("Task %x: Hey, Yo!\n", (u_int)self); self 88 usr/sample/task/task.c printf("Task %x: Bye!\n", (u_int)self); self 947 usr/server/fs/vfs/main.c task_t self; self 952 usr/server/fs/vfs/main.c self = task_self(); self 953 usr/server/fs/vfs/main.c if ((error = thread_create(self, &t)) != 0) self 955 usr/server/fs/vfs/main.c if ((error = vm_allocate(self, &stack, DFLSTKSZ, 1)) != 0) self 268 usr/server/pow/pow.c task_t self; self 273 usr/server/pow/pow.c self = task_self(); self 274 usr/server/pow/pow.c if ((error = thread_create(self, &t)) != 0) self 276 usr/server/pow/pow.c if ((error = vm_allocate(self, &stack, DFLSTKSZ, 1)) != 0) self 289 usr/server/pow/pow.c task_t self; self 308 usr/server/pow/pow.c self = task_self(); self 309 usr/server/pow/pow.c device_ioctl(pmdev, PMIOC_CONNECT, &self); self 108 usr/server/proc/proc_tty.c task_t self; self 123 usr/server/proc/proc_tty.c self = task_self(); self 124 usr/server/proc/proc_tty.c device_ioctl(ttydev, TIOCSETSIGT, &self); self 49 usr/test/attack/attack.c task_t self = task_self(); self 88 usr/test/attack/attack.c vm_allocate(self, addr, size, 1); self 89 usr/test/attack/attack.c vm_allocate(self, &addr, size, 1); self 91 usr/test/attack/attack.c vm_free(self, addr); self 92 usr/test/attack/attack.c vm_attribute(self, addr, attr); self 93 usr/test/attack/attack.c vm_map(self, addr, size, &addr); self 95 usr/test/attack/attack.c thread_create(self, tp); self 69 usr/test/thread/thread.c thread_t self, t; self 73 usr/test/thread/thread.c self = thread_self();