file 44 bsp/drv/lib/assert.c assert(const char *file, int line, const char *exp) file 48 bsp/drv/lib/assert.c printf("\nAssertion failed: %s line:%d '%s'\n", file, line, exp); file 41 include/sys/file.h struct file { file 47 include/sys/file.h typedef struct file *file_t; file 43 include/sys/vnode.h struct file; file 95 sys/kern/debug.c assert(const char *file, int line, const char *exp) file 98 sys/kern/debug.c printf("Assertion failed: %s line:%d '%s'\n", file, line, exp); file 118 usr/bin/sh/sh.c char *file; file 122 usr/bin/sh/sh.c file = argv[0]; file 157 usr/bin/sh/sh.c task_setname(task_self(), basename(file)); file 162 usr/bin/sh/sh.c execv(file, arg); file 165 usr/bin/sh/sh.c execvp(file, arg); file 205 usr/bin/sh/sh.c char *p, *file; file 227 usr/bin/sh/sh.c file = args[++i]; file 230 usr/bin/sh/sh.c file = p + 1; file 236 usr/bin/sh/sh.c fd = open(file, O_WRONLY | O_APPEND); file 238 usr/bin/sh/sh.c fd = creat(file, 0666); file 240 usr/bin/sh/sh.c fd = open(file, O_RDONLY); file 243 usr/bin/sh/sh.c error("%s: cannot open", file); file 90 usr/bin/touch/touch.c do_touch(char *file, unsigned int flags) file 95 usr/bin/touch/touch.c if (stat(file, &st) < 0) { file 97 usr/bin/touch/touch.c if ((fd = creat(file, 0666)) < 0) file 103 usr/bin/touch/touch.c if ((fd = open(file, 2)) < 0) file 36 usr/lib/libc/gen/assert.c __assert(file, line, failedexpr) file 37 usr/lib/libc/gen/assert.c const char *file, *failedexpr; file 42 usr/lib/libc/gen/assert.c failedexpr, file, line); file 41 usr/lib/libc/stdio/fopen.c fopen(file, mode) file 42 usr/lib/libc/stdio/fopen.c const char *file; file 53 usr/lib/libc/stdio/fopen.c if ((f = open(file, oflags, DEFFILEMODE)) < 0) { file 48 usr/lib/libc/stdio/freopen.c freopen(file, mode, fp) file 49 usr/lib/libc/stdio/freopen.c const char *file, *mode; file 88 usr/lib/libc/stdio/freopen.c f = open(file, oflags, DEFFILEMODE); file 94 usr/lib/libc/stdio/freopen.c f = open(file, oflags, DEFFILEMODE); file 41 usr/lib/libc/stdio/remove.c remove(file) file 42 usr/lib/libc/stdio/remove.c const char *file; file 46 usr/lib/libc/stdio/remove.c if (lstat(file, &sb) < 0) file 54 usr/lib/libc/stdio/remove.c return (rmdir(file)); file 56 usr/lib/libc/stdio/remove.c return (unlink(file)); file 35 usr/lib/libsa/assert.c __assert(const char *file, int line, const char *exp) file 39 usr/lib/libsa/assert.c exp, file, line); file 35 usr/lib/posix/file/creat.c creat(const char *file, mode_t mode) file 38 usr/lib/posix/file/creat.c return open(file, O_WRONLY | O_CREAT | O_TRUNC, mode); file 34 usr/lib/prex/gen/dassert.c __dassert(const char *file, int line, const char *exp) file 39 usr/lib/prex/gen/dassert.c exp, file, line); file 126 usr/server/boot/boot.c char *spec, *file, *type, *p; file 166 usr/server/boot/boot.c file = strtok(NULL, " \t\n"); file 168 usr/server/boot/boot.c if (!strcmp(file, "/") || !strcmp(file, "/boot")) file 174 usr/server/boot/boot.c mkdir(file, 0); file 175 usr/server/boot/boot.c mount(spec, file, type, 0, 0); file 318 usr/server/exec/exec_execve.c char *file; file 347 usr/server/exec/exec_execve.c file = (char *)sp; file 388 usr/server/exec/exec_execve.c argv[0] = (char *)((u_long)stack + (u_long)file - mapped); file 104 usr/server/fs/vfs/vfs.h int sys_opendir(char *path, file_t * file); file 154 usr/server/fs/vfs/vfs_lookup.c char *file, *dir; file 164 usr/server/fs/vfs/vfs_lookup.c file = strrchr(buf, '/'); file 167 usr/server/fs/vfs/vfs_lookup.c if (file == buf) file 170 usr/server/fs/vfs/vfs_lookup.c *file = '\0'; file 127 usr/server/fs/vfs/vfs_syscalls.c if (!(fp = malloc(sizeof(struct file)))) { file 137 usr/server/fs/vfs/vfs_syscalls.c memset(fp, 0, sizeof(struct file)); file 348 usr/server/fs/vfs/vfs_syscalls.c sys_opendir(char *path, file_t *file) file 368 usr/server/fs/vfs/vfs_syscalls.c *file = fp; file 52 usr/test/creat/creat.c char file[128]; file 62 usr/test/creat/creat.c sprintf(file, "p%05d.%03d", pid, i); file 63 usr/test/creat/creat.c if ((fd = creat(file, 0660)) == -1) { file 65 usr/test/creat/creat.c warn("creat(%s)", file); file 74 usr/test/creat/creat.c sprintf(file, "p%05d.%03d", pid, i); file 75 usr/test/creat/creat.c if (unlink(file) == -1) file 76 usr/test/creat/creat.c err(3, "unlink(%s)", file);