path               23 kernel/exec.c  exec(char *path, char **argv)
path               36 kernel/exec.c    if((ip = namei(path)) == 0){
path              118 kernel/exec.c    for(last=s=path; *s; s++)
path              623 kernel/fs.c    skipelem(char *path, char *name)
path              628 kernel/fs.c      while(*path == '/')
path              629 kernel/fs.c        path++;
path              630 kernel/fs.c      if(*path == 0)
path              632 kernel/fs.c      s = path;
path              633 kernel/fs.c      while(*path != '/' && *path != 0)
path              634 kernel/fs.c        path++;
path              635 kernel/fs.c      len = path - s;
path              642 kernel/fs.c      while(*path == '/')
path              643 kernel/fs.c        path++;
path              644 kernel/fs.c      return path;
path              652 kernel/fs.c    namex(char *path, int nameiparent, char *name)
path              656 kernel/fs.c      if(*path == '/')
path              661 kernel/fs.c      while((path = skipelem(path, name)) != 0){
path              667 kernel/fs.c        if(nameiparent && *path == '\0'){
path              687 kernel/fs.c    namei(char *path)
path              690 kernel/fs.c      return namex(path, 0, name);
path              694 kernel/fs.c    nameiparent(char *path, char *name)
path              696 kernel/fs.c      return namex(path, 1, name);
path              193 kernel/sysfile.c   char name[DIRSIZ], path[MAXPATH];
path              196 kernel/sysfile.c   if(argstr(0, path, MAXPATH) < 0)
path              200 kernel/sysfile.c   if((dp = nameiparent(path, name)) == 0){
path              246 kernel/sysfile.c create(char *path, short type, short major, short minor)
path              251 kernel/sysfile.c   if((dp = nameiparent(path, name)) == 0)
path              307 kernel/sysfile.c   char path[MAXPATH];
path              314 kernel/sysfile.c   if((n = argstr(0, path, MAXPATH)) < 0)
path              320 kernel/sysfile.c     ip = create(path, T_FILE, 0, 0);
path              326 kernel/sysfile.c     if((ip = namei(path)) == 0){
path              376 kernel/sysfile.c   char path[MAXPATH];
path              380 kernel/sysfile.c   if(argstr(0, path, MAXPATH) < 0 || (ip = create(path, T_DIR, 0, 0)) == 0){
path              393 kernel/sysfile.c   char path[MAXPATH];
path              399 kernel/sysfile.c   if((argstr(0, path, MAXPATH)) < 0 ||
path              400 kernel/sysfile.c      (ip = create(path, T_DEVICE, major, minor)) == 0){
path              412 kernel/sysfile.c   char path[MAXPATH];
path              417 kernel/sysfile.c   if(argstr(0, path, MAXPATH) < 0 || (ip = namei(path)) == 0){
path              437 kernel/sysfile.c   char path[MAXPATH], *argv[MAXARG];
path              442 kernel/sysfile.c   if(argstr(0, path, MAXPATH) < 0) {
path              464 kernel/sysfile.c   int ret = exec(path, argv);
path                7 user/ls.c      fmtname(char *path)
path               13 user/ls.c        for(p=path+strlen(path); p >= path && *p != '/'; p--)
path               26 user/ls.c      ls(char *path)
path               33 user/ls.c        if((fd = open(path, 0)) < 0){
path               34 user/ls.c          fprintf(2, "ls: cannot open %s\n", path);
path               39 user/ls.c          fprintf(2, "ls: cannot stat %s\n", path);
path               47 user/ls.c          printf("%s %d %d %l\n", fmtname(path), st.type, st.ino, st.size);
path               51 user/ls.c          if(strlen(path) + 1 + DIRSIZ + 1 > sizeof buf){
path               55 user/ls.c          strcpy(buf, path);
path               20 user/stressfs.c   char path[] = "stressfs0";
path               32 user/stressfs.c   path[8] += i;
path               33 user/stressfs.c   fd = open(path, O_CREATE | O_RDWR);
path               41 user/stressfs.c   fd = open(path, O_RDONLY);