Searched refs:st (Results 1 – 7 of 7) sorted by relevance
/xv6-public/ |
H A D | ls.c | 31 struct stat st; in ls() local 38 if(fstat(fd, &st) < 0){ in ls() 44 switch(st.type){ in ls() 46 printf(1, "%s %d %d %d\n", fmtname(path), st.type, st.ino, st.size); in ls() 62 if(stat(buf, &st) < 0){ in ls() 66 printf(1, "%s %d %d %d\n", fmtname(buf), st.type, st.ino, st.size); in ls()
|
H A D | kbd.c | 13 uint st, data, c; in kbdgetc() local 15 st = inb(KBSTATP); in kbdgetc() 16 if((st & KBS_DIB) == 0) in kbdgetc()
|
H A D | ulib.c | 71 stat(const char *n, struct stat *st) in stat() argument 79 r = fstat(fd, st); in stat()
|
H A D | file.c | 84 filestat(struct file *f, struct stat *st) in filestat() argument 88 stati(f->ip, st); in filestat()
|
H A D | sysfile.c | 110 struct stat *st; in sys_fstat() local 112 if(argfd(0, 0, &f) < 0 || argptr(1, (void*)&st, sizeof(*st)) < 0) in sys_fstat() 114 return filestat(f, st); in sys_fstat()
|
H A D | fs.c | 440 stati(struct inode *ip, struct stat *st) in stati() argument 442 st->dev = ip->dev; in stati() 443 st->ino = ip->inum; in stati() 444 st->type = ip->type; in stati() 445 st->nlink = ip->nlink; in stati() 446 st->size = ip->size; in stati()
|
H A D | README | 12 to Peer Communications; ISBN: 1-57398-013-7; 1st edition (June 14,
|