code 45 include/ipc/ipc.h int code; /* message code */ code 61 usr/bin/ps/ps.c m.hdr.code = PS_PSTAT; code 98 usr/lib/posix/exec/execve.c msg.hdr.code = EXEC_EXECVE; code 65 usr/lib/posix/file/__file.c m.hdr.code = FS_EXIT; code 82 usr/lib/posix/file/__file.c m.hdr.code = FS_REGISTER; code 40 usr/lib/posix/file/access.c m.hdr.code = FS_ACCESS; code 47 usr/lib/posix/file/chdir.c m.hdr.code = FS_CHDIR; code 40 usr/lib/posix/file/close.c m.hdr.code = FS_CLOSE; code 43 usr/lib/posix/file/closedir.c m.hdr.code = FS_CLOSEDIR; code 40 usr/lib/posix/file/dup.c m.hdr.code = FS_DUP; code 42 usr/lib/posix/file/dup2.c m.hdr.code = FS_DUP2; code 42 usr/lib/posix/file/fchdir.c m.hdr.code = FS_FCHDIR; code 49 usr/lib/posix/file/fcntl.c m.hdr.code = FS_FCNTL; code 43 usr/lib/posix/file/fstat.c m.hdr.code = FS_FSTAT; code 40 usr/lib/posix/file/fsync.c m.hdr.code = FS_FSYNC; code 40 usr/lib/posix/file/ftruncate.c m.hdr.code = FS_FTRUNCATE; code 47 usr/lib/posix/file/getcwd.c m.hdr.code = FS_GETCWD; code 80 usr/lib/posix/file/ioctl.c m.hdr.code = FS_IOCTL; code 40 usr/lib/posix/file/isatty.c m.hdr.code = FS_ISATTY; code 55 usr/lib/posix/file/link.c m.hdr.code = FS_LINK; code 43 usr/lib/posix/file/lseek.c m.hdr.code = FS_LSEEK; code 44 usr/lib/posix/file/mkdir.c m.hdr.code = FS_MKDIR; code 44 usr/lib/posix/file/mknod.c m.hdr.code = FS_MKNOD; code 50 usr/lib/posix/file/mount.c m.hdr.code = FS_MOUNT; code 50 usr/lib/posix/file/open.c m.hdr.code = FS_OPEN; code 49 usr/lib/posix/file/opendir.c m.hdr.code = FS_OPENDIR; code 40 usr/lib/posix/file/pipe.c m.hdr.code = FS_PIPE; code 42 usr/lib/posix/file/read.c m.hdr.code = FS_READ; code 45 usr/lib/posix/file/readdir.c m.hdr.code = FS_READDIR; code 54 usr/lib/posix/file/rename.c m.hdr.code = FS_RENAME; code 43 usr/lib/posix/file/rewinddir.c m.hdr.code = FS_REWINDDIR; code 51 usr/lib/posix/file/rmdir.c m.hdr.code = FS_RMDIR; code 44 usr/lib/posix/file/stat.c m.hdr.code = FS_STAT; code 42 usr/lib/posix/file/sync.c m.hdr.code = FS_SYNC; code 42 usr/lib/posix/file/truncate.c m.hdr.code = FS_TRUNCATE; code 44 usr/lib/posix/file/umount.c m.hdr.code = FS_UMOUNT; code 47 usr/lib/posix/file/unlink.c m.hdr.code = FS_UNLINK; code 41 usr/lib/posix/file/write.c m.hdr.code = FS_WRITE; code 60 usr/lib/posix/process/__process.c m.hdr.code = PS_EXIT; code 109 usr/lib/posix/process/fork.c m.hdr.code = PS_FORK; code 119 usr/lib/posix/process/fork.c m.hdr.code = FS_FORK; code 110 usr/lib/posix/process/fork_nommu.c m.hdr.code = FS_FORK; code 118 usr/lib/posix/process/fork_nommu.c m.hdr.code = PS_FORK; code 43 usr/lib/posix/process/getpgid.c m.hdr.code = PS_GETPGID; code 44 usr/lib/posix/process/getpid.c m.hdr.code = PS_GETPID; code 44 usr/lib/posix/process/getppid.c m.hdr.code = PS_GETPPID; code 43 usr/lib/posix/process/getsid.c m.hdr.code = PS_GETSID; code 49 usr/lib/posix/process/kill.c m.hdr.code = PS_KILL; code 44 usr/lib/posix/process/setpgid.c m.hdr.code = PS_SETPGID; code 44 usr/lib/posix/process/setsid.c m.hdr.code = PS_SETSID; code 59 usr/lib/posix/process/waitpid.c m.hdr.code = PS_WAITPID; code 65 usr/sample/alarm/alarm.c alarm_handler(int code) code 69 usr/sample/alarm/alarm.c if (code == SIGALRM) { code 87 usr/sample/alarm/alarm.c int code; code 112 usr/sample/alarm/alarm.c exception_wait(&code); code 62 usr/sbin/debug/debug.c m.hdr.code = STD_DEBUG; code 61 usr/sbin/ktrace/ktrace.c m.hdr.code = PS_TRACE; code 127 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; code 142 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; code 157 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; code 171 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_POLICY; code 177 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_SUSTMR; code 182 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_DIMTMR; code 206 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POLICY; code 221 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_SUSTMR; code 238 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_DIMTMR; code 115 usr/server/boot/boot.c m.hdr.code = STD_BOOT; code 218 usr/server/boot/boot.c msg.hdr.code = EXEC_EXECVE; code 296 usr/server/boot/boot.c bm.hdr.code = EXEC_BINDCAP; code 304 usr/server/boot/boot.c m.hdr.code = PS_SETINIT; code 426 usr/server/exec/exec_execve.c m.hdr.code = FS_EXEC; code 434 usr/server/exec/exec_execve.c m.hdr.code = PS_EXEC; code 63 usr/server/exec/main.c int code; code 67 usr/server/exec/main.c #define MSGMAP(code, fn) {code, (int (*)(struct msg *))fn} code 89 usr/server/exec/main.c m.hdr.code = PS_REGISTER; code 212 usr/server/exec/main.c while (map->code != 0) { code 213 usr/server/exec/main.c if (map->code == msg->hdr.code) { code 222 usr/server/exec/main.c error, msg->hdr.code)); code 79 usr/server/fs/vfs/main.c int code; code 83 usr/server/fs/vfs/main.c #define MSGMAP(code, fn) {code, (int (*)(struct task *, struct msg *))fn} code 864 usr/server/fs/vfs/main.c bm.hdr.code = EXEC_BINDCAP; code 873 usr/server/fs/vfs/main.c m.hdr.code = PS_REGISTER; code 1048 usr/server/fs/vfs/main.c while (map->code != 0) { code 1049 usr/server/fs/vfs/main.c if (map->code == msg->hdr.code) { code 1053 usr/server/fs/vfs/main.c if (map->code == STD_BOOT) { code 1057 usr/server/fs/vfs/main.c if (map->code == FS_REGISTER) { code 1069 usr/server/fs/vfs/main.c if (map->code != FS_EXIT) code 1078 usr/server/fs/vfs/main.c msg->hdr.task, map->code, error); code 85 usr/server/pow/pow.c int code; code 334 usr/server/pow/pow.c m.hdr.code = PS_REGISTER; code 377 usr/server/pow/pow.c m.hdr.code = STD_SHUTDOWN; code 417 usr/server/pow/pow.c bm.hdr.code = EXEC_BINDCAP; code 450 usr/server/pow/pow.c msg.hdr.code, msg.hdr.task)); code 460 usr/server/pow/pow.c while (map->code != 0) { code 461 usr/server/pow/pow.c if (map->code == msg.hdr.code) { code 476 usr/server/pow/pow.c map->code, error)); code 91 usr/server/proc/main.c int code; code 423 usr/server/proc/main.c m.hdr.code = EXEC_BINDCAP; code 556 usr/server/proc/main.c msg.hdr.code, msg.hdr.task)); code 560 usr/server/proc/main.c while (map->code != 0) { code 561 usr/server/proc/main.c if (map->code == msg.hdr.code) { code 578 usr/server/proc/main.c map->code, error)); code 145 usr/server/proc/proc_exit.c int code, match; code 156 usr/server/proc/proc_exit.c code = 0; code 200 usr/server/proc/proc_exit.c code = p->p_exitcode; code 204 usr/server/proc/proc_exit.c code = p->p_exitcode; code 210 usr/server/proc/proc_exit.c *status = code; code 38 usr/test/exception/exception.c my_exception(int code) code 40 usr/test/exception/exception.c printf("Get exception code=%x\n", code); code 93 usr/test/fileio/fileio.c m.hdr.code = 0x300; code 101 usr/test/shutdown/shutdown.c m.hdr.code = POW_SET_POWER;