Home
last modified time | relevance | path

Searched refs:path (Results 1 – 18 of 18) sorted by relevance

/sbin/sysctl/
Dsysctl.c11 char path[64]; member
38 OSSysCtl(SYSCTLTable[idx].path, &scStr, NULL); in PrintVal()
39 printf("%s: %s\n", SYSCTLTable[idx].path, scStr.value); in PrintVal()
45 OSSysCtl(SYSCTLTable[idx].path, &scInt, NULL); in PrintVal()
46 printf("%s: %ld\n", SYSCTLTable[idx].path, scInt.value); in PrintVal()
52 OSSysCtl(SYSCTLTable[idx].path, &scBool, NULL); in PrintVal()
53 printf("%s: %s\n", SYSCTLTable[idx].path, in PrintVal()
58 printf("%s: Unsupported type\n", SYSCTLTable[idx].path); in PrintVal()
71 OSSysCtl(SYSCTLTable[idx].path, NULL, &scStr); in UpdateVal()
79 OSSysCtl(SYSCTLTable[idx].path, NULL, &scInt); in UpdateVal()
[all …]
/sys/kern/
Dvfs.c63 VFS_Lookup(const char *path) in VFS_Lookup() argument
66 const char *start = path + 1; in VFS_Lookup()
67 const char *end = path + 1; in VFS_Lookup()
73 if (path[0] != '/') in VFS_Lookup()
108 Log(vfs, "%s %lx\n", path, curNode); in VFS_Lookup()
124 VFS_Stat(const char *path, struct stat *sb) in VFS_Stat() argument
126 VNode *vn = VFS_Lookup(path); in VFS_Stat()
Dsysctl.c12 char path[64]; member
45 SysCtl_Lookup(const char *path) in SysCtl_Lookup() argument
49 for (i = 0; SYSCTLTable[i].path[0] != '\0'; i++) { in SysCtl_Lookup()
50 if (strcmp(path, SYSCTLTable[i].path) == 0) in SysCtl_Lookup()
117 for (i = 0; SYSCTLTable[i].path[0] != '\0'; i++) { in Debug_SysCtl()
118 kprintf("%-20s %s\n", SYSCTLTable[i].path, SYSCTLTable[i].description); in Debug_SysCtl()
Dsyscall.c71 char path[512]; in Syscall_Spawn() local
79 status = Copy_StrIn(user_path, &path, sizeof(path)); in Syscall_Spawn()
83 Log(syscall, "Spawn(%s)\n", path); in Syscall_Spawn()
137 proc = Process_Create(cur->proc, path); in Syscall_Spawn()
281 char path[256]; in Syscall_Open() local
283 status = Copy_StrIn(user_path, &path, sizeof(path)); in Syscall_Open()
289 if (strncmp("/dev/", path, 5) == 0) { in Syscall_Open()
290 if (strcmp("/dev/console", path) == 0) { in Syscall_Open()
302 status = VFSUIO_Open(path, &handle); in Syscall_Open()
335 char path[256]; in Syscall_Stat() local
[all …]
Dvfsuio.c56 VFSUIO_Open(const char *path, Handle **handle) in VFSUIO_Open() argument
65 VNode *vn = VFS_Lookup(path); in VFSUIO_Open()
/bin/shell/
Dshell.c69 char path[256]; in Cmd_Run() local
77 strcpy(path, searchpath[i]); in Cmd_Run()
78 strcat(path, argv[0]); in Cmd_Run()
80 status = OSStat(path, &sb); in Cmd_Run()
87 status = spawn(path, &argv[0]); in Cmd_Run()
/lib/libc/
Dsyscall.c29 OSSpawn(const char *path, const char *argv[]) in OSSpawn() argument
31 return syscall(SYSCALL_SPAWN, path, argv); in OSSpawn()
77 OSOpen(const char *path, uint64_t flags) in OSOpen() argument
79 return syscall(SYSCALL_OPEN, path, flags); in OSOpen()
89 OSStat(const char *path, struct stat *sb) in OSStat() argument
91 return syscall(SYSCALL_STAT, path, sb); in OSStat()
Dprocess.c21 spawn(const char *path, const char *argv[]) in spawn() argument
23 uint64_t status = OSSpawn(path, argv); in spawn()
Ddir.c11 opendir(const char *path) in opendir() argument
15 d->fd = OSOpen(path, 0); in opendir()
Dfile.c66 fopen(const char *path, const char *mode) in fopen() argument
72 fd = OSOpen(path, 0); in fopen()
/include/
Dsyscall.h13 uint64_t OSSpawn(const char *path, const char *argv[]);
25 uint64_t OSOpen(const char *path, uint64_t flags);
29 int OSStat(const char *path, struct stat *sb);
Dunistd.h13 pid_t spawn(const char *path, const char *argv[]);
Dstdio.h26 FILE *fopen(const char *path, const char *mode);
/sys/include/
Dsysctl.h36 char path[64]; member
41 char path[64]; member
46 char path[64]; member
Dvfs.h53 VNode *VFS_Lookup(const char *path);
55 int VFS_Stat(const char *path, struct stat *sb);
Dvfsuio.h7 int VFSUIO_Open(const char *path, Handle **handle);
/
DSConstruct120 srcPath = os.path.join(src, f)
121 dstPath = os.path.join(dst, f)
125 elif os.path.isdir(srcPath):
126 if not os.path.exists(dstPath):
131 if (not os.path.exists(dst)):
/docs/
DDoxyfile66 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
67 # into which the generated documentation will be written. If a relative path is
170 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
172 # shortest path that makes the file name unique will be used
177 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
179 # part of the path. The tag can be used to show relative paths in the file list.
180 # If left blank the directory from which doxygen is run is used as the path to
190 # path mentioned in the documentation of a class, which tells the reader which
807 # search path. See also \cite for info how to create references.
1033 # Note that the wildcards are matched against the file with absolute path, so to
[all …]