path               27 kernel/exec.c  kexec(char *path, char **argv)
path               41 kernel/exec.c    if((ip = namei(path)) == 0){
path              125 kernel/exec.c    for(last=s=path; *s; s++)
path              646 kernel/fs.c    skipelem(char *path, char *name)
path              651 kernel/fs.c      while(*path == '/')
path              652 kernel/fs.c        path++;
path              653 kernel/fs.c      if(*path == 0)
path              655 kernel/fs.c      s = path;
path              656 kernel/fs.c      while(*path != '/' && *path != 0)
path              657 kernel/fs.c        path++;
path              658 kernel/fs.c      len = path - s;
path              665 kernel/fs.c      while(*path == '/')
path              666 kernel/fs.c        path++;
path              667 kernel/fs.c      return path;
path              675 kernel/fs.c    namex(char *path, int nameiparent, char *name)
path              679 kernel/fs.c      if(*path == '/')
path              684 kernel/fs.c      while((path = skipelem(path, name)) != 0){
path              690 kernel/fs.c        if(nameiparent && *path == '\0'){
path              710 kernel/fs.c    namei(char *path)
path              713 kernel/fs.c      return namex(path, 0, name);
path              717 kernel/fs.c    nameiparent(char *path, char *name)
path              719 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 = kexec(path, argv);
path                8 user/ls.c      fmtname(char *path)
path               14 user/ls.c        for(p=path+strlen(path); p >= path && *p != '/'; p--)
path               28 user/ls.c      ls(char *path)
path               35 user/ls.c        if((fd = open(path, O_RDONLY)) < 0){
path               36 user/ls.c          fprintf(2, "ls: cannot open %s\n", path);
path               41 user/ls.c          fprintf(2, "ls: cannot stat %s\n", path);
path               49 user/ls.c          printf("%s %d %d %d\n", fmtname(path), st.type, st.ino, (int) st.size);
path               53 user/ls.c          if(strlen(path) + 1 + DIRSIZ + 1 > sizeof buf){
path               57 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);