name               94 exec.c           safestrcpy(curproc->name, last, sizeof(curproc->name));
name              525 fs.c           dirlookup(struct inode *dp, char *name, uint *poff)
name              538 fs.c               if(namecmp(name, de.name) == 0){
name              552 fs.c           dirlink(struct inode *dp, char *name, uint inum)
name              559 fs.c             if((ip = dirlookup(dp, name, 0)) != 0){
name              572 fs.c             strncpy(de.name, name, DIRSIZ);
name              596 fs.c           skipelem(char *path, char *name)
name              610 fs.c               memmove(name, s, DIRSIZ);
name              612 fs.c               memmove(name, s, len);
name              613 fs.c               name[len] = 0;
name              625 fs.c           namex(char *path, int nameiparent, char *name)
name              634 fs.c             while((path = skipelem(path, name)) != 0){
name              645 fs.c               if((next = dirlookup(ip, name, 0)) == 0){
name              662 fs.c             char name[DIRSIZ];
name              663 fs.c             return namex(path, 0, name);
name              667 fs.c           nameiparent(char *path, char *name)
name              669 fs.c             return namex(path, 1, name);
name               55 fs.h             char name[DIRSIZ];
name               60 ls.c                 memmove(p, de.name, DIRSIZ);
name              122 mkfs.c           strcpy(de.name, ".");
name              127 mkfs.c           strcpy(de.name, "..");
name              149 mkfs.c             strncpy(de.name, argv[i], DIRSIZ);
name              142 proc.c           safestrcpy(p->name, "initcode", sizeof(p->name));
name              211 proc.c           safestrcpy(np->name, curproc->name, sizeof(curproc->name));
name              295 proc.c                 p->name[0] = 0;
name              526 proc.c             cprintf("%d %s %s", p->pid, state, p->name);
name               51 proc.h           char name[16];               // Process name (debugging)
name               14 sleeplock.c    initsleeplock(struct sleeplock *lk, char *name)
name               17 sleeplock.c      lk->name = name;
name                7 sleeplock.h      char *name;        // Name of lock.
name               13 spinlock.c     initlock(struct spinlock *lk, char *name)
name               15 spinlock.c       lk->name = name;
name                6 spinlock.h       char *name;        // Name of lock.
name              142 syscall.c                  curproc->pid, curproc->name, num);
name              121 sysfile.c        char name[DIRSIZ], *new, *old;
name              144 sysfile.c        if((dp = nameiparent(new, name)) == 0)
name              147 sysfile.c        if(dp->dev != ip->dev || dirlink(dp, name, ip->inum) < 0){
name              189 sysfile.c        char name[DIRSIZ], *path;
name              196 sysfile.c        if((dp = nameiparent(path, name)) == 0){
name              204 sysfile.c        if(namecmp(name, ".") == 0 || namecmp(name, "..") == 0)
name              207 sysfile.c        if((ip = dirlookup(dp, name, &off)) == 0)
name              245 sysfile.c        char name[DIRSIZ];
name              247 sysfile.c        if((dp = nameiparent(path, name)) == 0)
name              251 sysfile.c        if((ip = dirlookup(dp, name, 0)) != 0){
name              277 sysfile.c        if(dirlink(dp, name, ip->inum) < 0)
name               92 trap.c                     myproc()->pid, myproc()->name, tf->trapno,
name               12 usertests.c    char name[3];
name              251 usertests.c      name[0] = 'a';
name              252 usertests.c      name[2] = '\0';
name              254 usertests.c        name[1] = '0' + i;
name              255 usertests.c        fd = open(name, O_CREATE|O_RDWR);
name              258 usertests.c      name[0] = 'a';
name              259 usertests.c      name[2] = '\0';
name              261 usertests.c        name[1] = '0' + i;
name              262 usertests.c        unlink(name);
name              588 usertests.c      char name[32];
name              600 usertests.c          name[0] = 'p' + pi;
name              601 usertests.c          name[2] = '\0';
name              603 usertests.c            name[1] = '0' + i;
name              604 usertests.c            fd = open(name, O_CREATE | O_RDWR);
name              611 usertests.c              name[1] = '0' + (i / 2);
name              612 usertests.c              if(unlink(name) < 0){
name              626 usertests.c      name[0] = name[1] = name[2] = 0;
name              629 usertests.c          name[0] = 'p' + pi;
name              630 usertests.c          name[1] = '0' + i;
name              631 usertests.c          fd = open(name, 0);
name              633 usertests.c            printf(1, "oops createdelete %s didn't exist\n", name);
name              636 usertests.c            printf(1, "oops createdelete %s did exist\n", name);
name              646 usertests.c          name[0] = 'p' + i;
name              647 usertests.c          name[1] = '0' + i;
name              648 usertests.c          unlink(name);
name              772 usertests.c        char name[14];
name              806 usertests.c        if(de.name[0] == 'C' && de.name[2] == '\0'){
name              807 usertests.c          i = de.name[1] - '0';
name              809 usertests.c            printf(1, "concreate weird file %s\n", de.name);
name              813 usertests.c            printf(1, "concreate duplicate file %s\n", de.name);
name              896 usertests.c      char name[10];
name              909 usertests.c        name[0] = 'x';
name              910 usertests.c        name[1] = '0' + (i / 64);
name              911 usertests.c        name[2] = '0' + (i % 64);
name              912 usertests.c        name[3] = '\0';
name              913 usertests.c        if(link("bd", name) != 0){
name              921 usertests.c        name[0] = 'x';
name              922 usertests.c        name[1] = '0' + (i / 64);
name              923 usertests.c        name[2] = '0' + (i % 64);
name              924 usertests.c        name[3] = '\0';
name              925 usertests.c        if(unlink(name) != 0){
name             1656 usertests.c        char name[64];
name             1657 usertests.c        name[0] = 'f';
name             1658 usertests.c        name[1] = '0' + nfiles / 1000;
name             1659 usertests.c        name[2] = '0' + (nfiles % 1000) / 100;
name             1660 usertests.c        name[3] = '0' + (nfiles % 100) / 10;
name             1661 usertests.c        name[4] = '0' + (nfiles % 10);
name             1662 usertests.c        name[5] = '\0';
name             1663 usertests.c        printf(1, "writing %s\n", name);
name             1664 usertests.c        int fd = open(name, O_CREATE|O_RDWR);
name             1666 usertests.c          printf(1, "open %s failed\n", name);
name             1684 usertests.c        char name[64];
name             1685 usertests.c        name[0] = 'f';
name             1686 usertests.c        name[1] = '0' + nfiles / 1000;
name             1687 usertests.c        name[2] = '0' + (nfiles % 1000) / 100;
name             1688 usertests.c        name[3] = '0' + (nfiles % 100) / 10;
name             1689 usertests.c        name[4] = '0' + (nfiles % 10);
name             1690 usertests.c        name[5] = '\0';
name             1691 usertests.c        unlink(name);
name                8 wc.c           wc(int fd, char *name)
name               32 wc.c             printf(1, "%d %d %d %s\n", l, w, c, name);