Searched refs:readi (Results 1 – 6 of 6) sorted by relevance
/xv6-public/ |
H A D | exec.c | 33 if(readi(ip, (char*)&elf, 0, sizeof(elf)) != sizeof(elf)) in exec() 44 if(readi(ip, (char*)&ph, off, sizeof(ph)) != sizeof(ph)) in exec()
|
H A D | file.c | 107 if((r = readi(f->ip, addr, f->off, n)) > 0) in fileread()
|
H A D | defs.h | 52 int readi(struct inode*, char*, uint, uint);
|
H A D | fs.c | 453 readi(struct inode *ip, char *dst, uint off, uint n) in readi() function 534 if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) in dirlookup() 566 if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) in dirlink()
|
H A D | sysfile.c | 175 if(readi(dp, (char*)&de, off, sizeof(de)) != sizeof(de)) in isdirempty()
|
H A D | vm.c | 213 if(readi(ip, P2V(pa), offset+i, n) != n) in loaduvm()
|