hdr 59 bsp/boot/common/load.c char *hdr; hdr 83 bsp/boot/common/load.c hdr = (char *)((paddr_t)magic + 8); hdr 84 bsp/boot/common/load.c if (load_module((struct ar_hdr *)hdr, &bi->kernel)) hdr 90 bsp/boot/common/load.c len = atol((char *)&((struct ar_hdr *)hdr)->ar_size); hdr 94 bsp/boot/common/load.c hdr = (char *)((paddr_t)hdr + sizeof(struct ar_hdr) + len); hdr 95 bsp/boot/common/load.c if (load_module((struct ar_hdr *)hdr, &bi->driver)) hdr 105 bsp/boot/common/load.c len = atol((char *)&((struct ar_hdr *)hdr)->ar_size); hdr 109 bsp/boot/common/load.c hdr = (char *)((paddr_t)hdr + sizeof(struct ar_hdr) + len); hdr 112 bsp/boot/common/load.c if (strncmp((char *)&((struct ar_hdr *)hdr)->ar_fmag, hdr 117 bsp/boot/common/load.c if (!strncmp((char *)&((struct ar_hdr *)hdr)->ar_name, hdr 119 bsp/boot/common/load.c setup_bootdisk((struct ar_hdr *)hdr); hdr 124 bsp/boot/common/load.c if (load_module((struct ar_hdr *)hdr, m)) hdr 151 bsp/boot/common/load.c load_module(struct ar_hdr *hdr, struct module *m) hdr 155 bsp/boot/common/load.c if (strncmp((char *)&hdr->ar_fmag, ARFMAG, 2)) { hdr 156 bsp/boot/common/load.c DPRINTF(("Invalid image %s\n", hdr->ar_name)); hdr 159 bsp/boot/common/load.c strlcpy(m->name, hdr->ar_name, sizeof(m->name)); hdr 166 bsp/boot/common/load.c (paddr_t)hdr, (paddr_t)m, m->name)); hdr 168 bsp/boot/common/load.c if (load_elf((char *)hdr + sizeof(struct ar_hdr), m)) hdr 178 bsp/boot/common/load.c setup_bootdisk(struct ar_hdr *hdr) hdr 187 bsp/boot/common/load.c if (strncmp((char *)&hdr->ar_fmag, ARFMAG, 2)) { hdr 191 bsp/boot/common/load.c size = (size_t)atol((char *)&hdr->ar_size); hdr 197 bsp/boot/common/load.c base = (paddr_t)hdr + sizeof(struct ar_hdr); hdr 47 include/ipc/exec.h struct msg_header hdr; /* message header */ hdr 60 include/ipc/exec.h struct msg_header hdr; /* message header */ hdr 89 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 101 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 112 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 122 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 132 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 143 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 152 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 162 include/ipc/fs.h struct msg_header hdr; /* message header */ hdr 62 include/ipc/ipc.h struct msg_header hdr; /* message header */ hdr 83 sys/ipc/msg.c struct msg_header *hdr; hdr 126 sys/ipc/msg.c hdr = (struct msg_header *)kmsg; hdr 127 sys/ipc/msg.c hdr->task = curtask; hdr 61 usr/bin/ps/ps.c m.hdr.code = PS_PSTAT; hdr 66 usr/bin/ps/ps.c if (rc || m.hdr.status) { hdr 98 usr/lib/posix/exec/execve.c msg.hdr.code = EXEC_EXECVE; hdr 114 usr/lib/posix/exec/execve.c else if (msg.hdr.status) hdr 115 usr/lib/posix/exec/execve.c errno = msg.hdr.status; hdr 65 usr/lib/posix/file/__file.c m.hdr.code = FS_EXIT; hdr 82 usr/lib/posix/file/__file.c m.hdr.code = FS_REGISTER; hdr 40 usr/lib/posix/file/access.c m.hdr.code = FS_ACCESS; hdr 47 usr/lib/posix/file/chdir.c m.hdr.code = FS_CHDIR; hdr 40 usr/lib/posix/file/close.c m.hdr.code = FS_CLOSE; hdr 43 usr/lib/posix/file/closedir.c m.hdr.code = FS_CLOSEDIR; hdr 40 usr/lib/posix/file/dup.c m.hdr.code = FS_DUP; hdr 42 usr/lib/posix/file/dup2.c m.hdr.code = FS_DUP2; hdr 42 usr/lib/posix/file/fchdir.c m.hdr.code = FS_FCHDIR; hdr 49 usr/lib/posix/file/fcntl.c m.hdr.code = FS_FCNTL; hdr 43 usr/lib/posix/file/fstat.c m.hdr.code = FS_FSTAT; hdr 40 usr/lib/posix/file/fsync.c m.hdr.code = FS_FSYNC; hdr 40 usr/lib/posix/file/ftruncate.c m.hdr.code = FS_FTRUNCATE; hdr 47 usr/lib/posix/file/getcwd.c m.hdr.code = FS_GETCWD; hdr 80 usr/lib/posix/file/ioctl.c m.hdr.code = FS_IOCTL; hdr 40 usr/lib/posix/file/isatty.c m.hdr.code = FS_ISATTY; hdr 55 usr/lib/posix/file/link.c m.hdr.code = FS_LINK; hdr 43 usr/lib/posix/file/lseek.c m.hdr.code = FS_LSEEK; hdr 44 usr/lib/posix/file/mkdir.c m.hdr.code = FS_MKDIR; hdr 44 usr/lib/posix/file/mknod.c m.hdr.code = FS_MKNOD; hdr 50 usr/lib/posix/file/mount.c m.hdr.code = FS_MOUNT; hdr 50 usr/lib/posix/file/open.c m.hdr.code = FS_OPEN; hdr 49 usr/lib/posix/file/opendir.c m.hdr.code = FS_OPENDIR; hdr 40 usr/lib/posix/file/pipe.c m.hdr.code = FS_PIPE; hdr 42 usr/lib/posix/file/read.c m.hdr.code = FS_READ; hdr 45 usr/lib/posix/file/readdir.c m.hdr.code = FS_READDIR; hdr 54 usr/lib/posix/file/rename.c m.hdr.code = FS_RENAME; hdr 43 usr/lib/posix/file/rewinddir.c m.hdr.code = FS_REWINDDIR; hdr 51 usr/lib/posix/file/rmdir.c m.hdr.code = FS_RMDIR; hdr 44 usr/lib/posix/file/stat.c m.hdr.code = FS_STAT; hdr 42 usr/lib/posix/file/sync.c m.hdr.code = FS_SYNC; hdr 42 usr/lib/posix/file/truncate.c m.hdr.code = FS_TRUNCATE; hdr 44 usr/lib/posix/file/umount.c m.hdr.code = FS_UMOUNT; hdr 47 usr/lib/posix/file/unlink.c m.hdr.code = FS_UNLINK; hdr 41 usr/lib/posix/file/write.c m.hdr.code = FS_WRITE; hdr 60 usr/lib/posix/process/__process.c m.hdr.code = PS_EXIT; hdr 109 usr/lib/posix/process/fork.c m.hdr.code = PS_FORK; hdr 119 usr/lib/posix/process/fork.c m.hdr.code = FS_FORK; hdr 110 usr/lib/posix/process/fork_nommu.c m.hdr.code = FS_FORK; hdr 118 usr/lib/posix/process/fork_nommu.c m.hdr.code = PS_FORK; hdr 43 usr/lib/posix/process/getpgid.c m.hdr.code = PS_GETPGID; hdr 44 usr/lib/posix/process/getpid.c m.hdr.code = PS_GETPID; hdr 44 usr/lib/posix/process/getppid.c m.hdr.code = PS_GETPPID; hdr 43 usr/lib/posix/process/getsid.c m.hdr.code = PS_GETSID; hdr 49 usr/lib/posix/process/kill.c m.hdr.code = PS_KILL; hdr 59 usr/lib/posix/process/kill.c if (m.hdr.status) { hdr 60 usr/lib/posix/process/kill.c errno = m.hdr.status; hdr 44 usr/lib/posix/process/setpgid.c m.hdr.code = PS_SETPGID; hdr 44 usr/lib/posix/process/setsid.c m.hdr.code = PS_SETSID; hdr 59 usr/lib/posix/process/waitpid.c m.hdr.code = PS_WAITPID; hdr 66 usr/lib/posix/process/waitpid.c if (m.hdr.status) { hdr 67 usr/lib/posix/process/waitpid.c errno = m.hdr.status; hdr 43 usr/sample/ipc/ipc.c struct msg_header hdr; /* Message header */ hdr 62 usr/sbin/debug/debug.c m.hdr.code = STD_DEBUG; hdr 61 usr/sbin/ktrace/ktrace.c m.hdr.code = PS_TRACE; hdr 127 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; hdr 142 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; hdr 157 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POWER; hdr 171 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_POLICY; hdr 177 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_SUSTMR; hdr 182 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_GET_DIMTMR; hdr 206 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_POLICY; hdr 221 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_SUSTMR; hdr 238 usr/sbin/pmctrl/pmctrl.c m.hdr.code = POW_SET_DIMTMR; hdr 115 usr/server/boot/boot.c m.hdr.code = STD_BOOT; hdr 218 usr/server/boot/boot.c msg.hdr.code = EXEC_EXECVE; hdr 296 usr/server/boot/boot.c bm.hdr.code = EXEC_BINDCAP; hdr 304 usr/server/boot/boot.c m.hdr.code = PS_SETINIT; hdr 79 usr/server/exec/exec_cap.c task = msg->hdr.task; hdr 83 usr/server/exec/exec_execve.c DPRINTF(("exec_execve: path=%s task=%x\n", msg->path, msg->hdr.task)); hdr 85 usr/server/exec/exec_execve.c old_task = msg->hdr.task; hdr 426 usr/server/exec/exec_execve.c m.hdr.code = FS_EXEC; hdr 434 usr/server/exec/exec_execve.c m.hdr.code = PS_EXEC; hdr 89 usr/server/exec/main.c m.hdr.code = PS_REGISTER; hdr 105 usr/server/exec/main.c if (task_chkcap(msg->hdr.task, CAP_PROTSERV) != 0) hdr 213 usr/server/exec/main.c if (map->code == msg->hdr.code) { hdr 222 usr/server/exec/main.c error, msg->hdr.code)); hdr 232 usr/server/exec/main.c msg->hdr.status = error; hdr 146 usr/server/fs/arfs/arfs_vnops.c struct ar_hdr *hdr; hdr 169 usr/server/fs/arfs/arfs_vnops.c hdr = (struct ar_hdr *)(iobuf + (off % BSIZE)); hdr 170 usr/server/fs/arfs/arfs_vnops.c if (strncmp(hdr->ar_fmag, ARFMAG, sizeof(ARFMAG) - 1)) hdr 174 usr/server/fs/arfs/arfs_vnops.c size = (size_t)atol((char *)&hdr->ar_size); hdr 179 usr/server/fs/arfs/arfs_vnops.c if ((p = memchr(&hdr->ar_name, '/', 16)) != NULL) hdr 182 usr/server/fs/arfs/arfs_vnops.c if (strncmp(name, (char *)&hdr->ar_name, 16) == 0) hdr 286 usr/server/fs/arfs/arfs_vnops.c struct ar_hdr *hdr; hdr 305 usr/server/fs/arfs/arfs_vnops.c hdr = (struct ar_hdr *)(iobuf + (off % BSIZE)); hdr 308 usr/server/fs/arfs/arfs_vnops.c size = (size_t)atol((char *)&hdr->ar_size); hdr 325 usr/server/fs/arfs/arfs_vnops.c if ((p = memchr(&hdr->ar_name, '/', 16)) != NULL) hdr 328 usr/server/fs/arfs/arfs_vnops.c strlcpy((char *)&dir->d_name, (char *)&hdr->ar_name, hdr 224 usr/server/fs/vfs/main.c if ((error = vm_map(msg->hdr.task, msg->buf, size, &buf)) != 0) hdr 244 usr/server/fs/vfs/main.c if ((error = vm_map(msg->hdr.task, msg->buf, size, &buf)) != 0) hdr 754 usr/server/fs/vfs/main.c error = task_alloc(msg->hdr.task, &tmp); hdr 855 usr/server/fs/vfs/main.c if (task_chkcap(msg->hdr.task, CAP_PROTSERV) != 0) hdr 864 usr/server/fs/vfs/main.c bm.hdr.code = EXEC_BINDCAP; hdr 873 usr/server/fs/vfs/main.c m.hdr.code = PS_REGISTER; hdr 937 usr/server/fs/vfs/main.c msg.hdr.task = task_self(); hdr 1049 usr/server/fs/vfs/main.c if (map->code == msg->hdr.code) { hdr 1063 usr/server/fs/vfs/main.c t = task_lookup(msg->hdr.task); hdr 1078 usr/server/fs/vfs/main.c msg->hdr.task, map->code, error); hdr 1083 usr/server/fs/vfs/main.c msg->hdr.status = error; hdr 334 usr/server/pow/pow.c m.hdr.code = PS_REGISTER; hdr 377 usr/server/pow/pow.c m.hdr.code = STD_SHUTDOWN; hdr 417 usr/server/pow/pow.c bm.hdr.code = EXEC_BINDCAP; hdr 450 usr/server/pow/pow.c msg.hdr.code, msg.hdr.task)); hdr 454 usr/server/pow/pow.c if (task_chkcap(msg.hdr.task, CAP_POWERMGMT) != 0) { hdr 461 usr/server/pow/pow.c if (map->code == msg.hdr.code) { hdr 471 usr/server/pow/pow.c msg.hdr.status = error; hdr 342 usr/server/proc/main.c DPRINTF(("proc: setinit task=%x\n", msg->hdr.task)); hdr 345 usr/server/proc/main.c if (task_chkcap(msg->hdr.task, CAP_PROTSERV) != 0) hdr 352 usr/server/proc/main.c newproc(&initproc, 1, msg->hdr.task); hdr 363 usr/server/proc/main.c task_t task = msg->hdr.task; hdr 384 usr/server/proc/main.c DPRINTF(("proc: register task=%x\n", msg->hdr.task)); hdr 387 usr/server/proc/main.c if (task_chkcap(msg->hdr.task, CAP_PROTSERV) != 0) hdr 395 usr/server/proc/main.c if (newproc(p, 0, msg->hdr.task)) hdr 414 usr/server/proc/main.c if (task_chkcap(msg->hdr.task, CAP_PROTSERV) != 0) hdr 423 usr/server/proc/main.c m.hdr.code = EXEC_BINDCAP; hdr 556 usr/server/proc/main.c msg.hdr.code, msg.hdr.task)); hdr 561 usr/server/proc/main.c if (map->code == msg.hdr.code) { hdr 564 usr/server/proc/main.c curproc = task_to_proc(msg.hdr.task); hdr 573 usr/server/proc/main.c msg.hdr.status = error; hdr 93 usr/test/fileio/fileio.c m.hdr.code = 0x300; hdr 101 usr/test/shutdown/shutdown.c m.hdr.code = POW_SET_POWER;