de                528 fs.c             struct dirent de;
de                533 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
de                534 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
de                536 fs.c               if(de.inum == 0)
de                538 fs.c               if(namecmp(name, de.name) == 0){
de                542 fs.c                 inum = de.inum;
de                555 fs.c             struct dirent de;
de                565 fs.c             for(off = 0; off < dp->size; off += sizeof(de)){
de                566 fs.c               if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
de                568 fs.c               if(de.inum == 0)
de                572 fs.c             strncpy(de.name, name, DIRSIZ);
de                573 fs.c             de.inum = inum;
de                574 fs.c             if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
de                 30 ls.c             struct dirent de;
de                 57 ls.c               while(read(fd, &de, sizeof(de)) == sizeof(de)){
de                 58 ls.c                 if(de.inum == 0)
de                 60 ls.c                 memmove(p, de.name, DIRSIZ);
de                 72 mkfs.c           struct dirent de;
de                120 mkfs.c           bzero(&de, sizeof(de));
de                121 mkfs.c           de.inum = xshort(rootino);
de                122 mkfs.c           strcpy(de.name, ".");
de                123 mkfs.c           iappend(rootino, &de, sizeof(de));
de                125 mkfs.c           bzero(&de, sizeof(de));
de                126 mkfs.c           de.inum = xshort(rootino);
de                127 mkfs.c           strcpy(de.name, "..");
de                128 mkfs.c           iappend(rootino, &de, sizeof(de));
de                147 mkfs.c             bzero(&de, sizeof(de));
de                148 mkfs.c             de.inum = xshort(inum);
de                149 mkfs.c             strncpy(de.name, argv[i], DIRSIZ);
de                150 mkfs.c             iappend(rootino, &de, sizeof(de));
de                172 sysfile.c        struct dirent de;
de                174 sysfile.c        for(off=2*sizeof(de); off<dp->size; off+=sizeof(de)){
de                175 sysfile.c          if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
de                177 sysfile.c          if(de.inum != 0)
de                188 sysfile.c        struct dirent de;
de                218 sysfile.c        memset(&de, 0, sizeof(de));
de                219 sysfile.c        if(writei(dp, (char*)&de, off, sizeof(de)) != sizeof(de))
de                773 usertests.c      } de;
de                803 usertests.c      while(read(fd, &de, sizeof(de)) > 0){
de                804 usertests.c        if(de.inum == 0)
de                806 usertests.c        if(de.name[0] == 'C' && de.name[2] == '\0'){
de                807 usertests.c          i = de.name[1] - '0';
de                809 usertests.c            printf(1, "concreate weird file %s\n", de.name);
de                813 usertests.c            printf(1, "concreate duplicate file %s\n", de.name);