st 91 kernel/file.c struct stat st; st 95 kernel/file.c stati(f->ip, &st); st 97 kernel/file.c if(copyout(p->pagetable, addr, (char *)&st, sizeof(st)) < 0) st 458 kernel/fs.c stati(struct inode *ip, struct stat *st) st 460 kernel/fs.c st->dev = ip->dev; st 461 kernel/fs.c st->ino = ip->inum; st 462 kernel/fs.c st->type = ip->type; st 463 kernel/fs.c st->nlink = ip->nlink; st 464 kernel/fs.c st->size = ip->size; st 114 kernel/sysfile.c uint64 st; // user pointer to struct stat st 116 kernel/sysfile.c argaddr(1, &st); st 119 kernel/sysfile.c return filestat(f, st); st 208 user/grind.c struct stat st; st 209 user/grind.c if(fstat(fd1, &st) != 0){ st 213 user/grind.c if(st.size != 1){ st 214 user/grind.c printf("grind: fstat reports wrong size %d\n", (int)st.size); st 217 user/grind.c if(st.ino > 200){ st 218 user/grind.c printf("grind: fstat reports crazy i-number %d\n", st.ino); st 32 user/ls.c struct stat st; st 39 user/ls.c if(fstat(fd, &st) < 0){ st 45 user/ls.c switch(st.type){ st 48 user/ls.c printf("%s %d %d %d\n", fmtname(path), st.type, st.ino, (int) st.size); st 64 user/ls.c if(stat(buf, &st) < 0){ st 68 user/ls.c printf("%s %d %d %d\n", fmtname(buf), st.type, st.ino, (int) st.size); st 85 user/ulib.c stat(const char *n, struct stat *st) st 93 user/ulib.c r = fstat(fd, st); st 192 user/usertests.c int st = 0; st 193 user/usertests.c wait(&st); st 194 user/usertests.c if(st != 747){ st 2748 user/usertests.c int st = 0; st 2749 user/usertests.c wait(&st); st 2750 user/usertests.c if(st != 0) st 2751 user/usertests.c exit(st);