st 83 file.c filestat(struct file *f, struct stat *st) st 87 file.c stati(f->ip, st); st 423 fs.c stati(struct inode *ip, struct stat *st) st 425 fs.c st->dev = ip->dev; st 426 fs.c st->ino = ip->inum; st 427 fs.c st->type = ip->type; st 428 fs.c st->nlink = ip->nlink; st 429 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 107 sysfile.c struct stat *st; st 109 sysfile.c if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0) st 111 sysfile.c return filestat(f, st); st 71 ulib.c stat(char *n, struct stat *st) st 79 ulib.c r = fstat(fd, st);