st 84 file.c filestat(struct file *f, struct stat *st) st 88 file.c stati(f->ip, st); st 440 fs.c stati(struct inode *ip, struct stat *st) st 442 fs.c st->dev = ip->dev; st 443 fs.c st->ino = ip->inum; st 444 fs.c st->type = ip->type; st 445 fs.c st->nlink = ip->nlink; st 446 fs.c st->size = ip->size; st 13 kbd.c uint st, data, c; st 15 kbd.c st = inb(KBSTATP); st 16 kbd.c if((st & KBS_DIB) == 0) st 31 ls.c struct stat st; st 38 ls.c if(fstat(fd, &st) < 0){ st 44 ls.c switch(st.type){ st 46 ls.c printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); st 62 ls.c if(stat(buf, &st) < 0){ st 66 ls.c printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); st 110 sysfile.c struct stat *st; st 112 sysfile.c if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0) st 114 sysfile.c return filestat(f, st); st 71 ulib.c stat(const char *n, struct stat *st) st 79 ulib.c r = fstat(fd, st);