UNIX xv6 (rev8, 9/1/15)
|
Go to the source code of this file.
Data Structures | |
struct | superblock |
struct | dinode |
struct | dirent |
Macros | |
#define | ROOTINO 1 |
#define | BSIZE 512 |
#define | NDIRECT 12 |
#define | NINDIRECT (BSIZE / sizeof(uint)) |
#define | MAXFILE (NDIRECT + NINDIRECT) |
#define | IPB (BSIZE / sizeof(struct dinode)) |
#define | IBLOCK(i, sb) ((i) / IPB + sb.inodestart) |
#define | BPB (BSIZE*8) |
#define | BBLOCK(b, sb) (b/BPB + sb.bmapstart) |
#define | DIRSIZ 14 |