uint 59 kernel/bio.c bget(uint dev, uint blockno) uint 93 kernel/bio.c bread(uint dev, uint blockno) uint 4 kernel/buf.h uint dev; uint 5 kernel/buf.h uint blockno; uint 7 kernel/buf.h uint refcnt; uint 50 kernel/console.c uint r; // Read index uint 51 kernel/console.c uint w; // Write index uint 52 kernel/console.c uint e; // Edit index uint 82 kernel/console.c uint target; uint 14 kernel/defs.h struct buf* bread(uint, uint); uint 39 kernel/defs.h int dirlink(struct inode*, char*, uint); uint 40 kernel/defs.h struct inode* dirlookup(struct inode*, char*, uint*); uint 41 kernel/defs.h struct inode* ialloc(uint, short); uint 52 kernel/defs.h int readi(struct inode*, int, uint64, uint, uint); uint 54 kernel/defs.h int writei(struct inode*, int, uint64, uint, uint); uint 128 kernel/defs.h int memcmp(const void*, const void*, uint); uint 129 kernel/defs.h void* memmove(void*, const void*, uint); uint 130 kernel/defs.h void* memset(void*, int, uint); uint 133 kernel/defs.h int strncmp(const char*, const char*, uint); uint 145 kernel/defs.h extern uint ticks; uint 164 kernel/defs.h void uvmfirst(pagetable_t, uchar *, uint); uint 7 kernel/elf.h uint magic; // must equal ELF_MAGIC uint 11 kernel/elf.h uint version; uint 15 kernel/elf.h uint flags; uint 10 kernel/exec.c static int loadseg(pde_t *, uint64, struct inode *, uint, uint); uint 148 kernel/exec.c loadseg(pagetable_t pagetable, uint64 va, struct inode *ip, uint offset, uint sz) uint 150 kernel/exec.c uint i, n; uint 8 kernel/file.h uint off; // FD_INODE uint 14 kernel/file.h #define mkdev(m,n) ((uint)((m)<<16| (n))) uint 18 kernel/file.h uint dev; // Device number uint 19 kernel/file.h uint inum; // Inode number uint 28 kernel/file.h uint size; uint 29 kernel/file.h uint addrs[NDIRECT+1]; uint 65 kernel/fs.c static uint uint 66 kernel/fs.c balloc(uint dev) uint 92 kernel/fs.c bfree(int dev, uint b) uint 192 kernel/fs.c static struct inode* iget(uint dev, uint inum); uint 199 kernel/fs.c ialloc(uint dev, short type) uint 247 kernel/fs.c iget(uint dev, uint inum) uint 382 kernel/fs.c static uint uint 383 kernel/fs.c bmap(struct inode *ip, uint bn) uint 385 kernel/fs.c uint addr, *a; uint 408 kernel/fs.c a = (uint*)bp->data; uint 430 kernel/fs.c uint *a; uint 441 kernel/fs.c a = (uint*)bp->data; uint 472 kernel/fs.c readi(struct inode *ip, int user_dst, uint64 dst, uint off, uint n) uint 474 kernel/fs.c uint tot, m; uint 483 kernel/fs.c uint addr = bmap(ip, off/BSIZE); uint 506 kernel/fs.c writei(struct inode *ip, int user_src, uint64 src, uint off, uint n) uint 508 kernel/fs.c uint tot, m; uint 517 kernel/fs.c uint addr = bmap(ip, off/BSIZE); uint 552 kernel/fs.c dirlookup(struct inode *dp, char *name, uint *poff) uint 554 kernel/fs.c uint off, inum; uint 580 kernel/fs.c dirlink(struct inode *dp, char *name, uint inum) uint 15 kernel/fs.h uint magic; // Must be FSMAGIC uint 16 kernel/fs.h uint size; // Size of file system image (blocks) uint 17 kernel/fs.h uint nblocks; // Number of data blocks uint 18 kernel/fs.h uint ninodes; // Number of inodes. uint 19 kernel/fs.h uint nlog; // Number of log blocks uint 20 kernel/fs.h uint logstart; // Block number of first log block uint 21 kernel/fs.h uint inodestart; // Block number of first inode block uint 22 kernel/fs.h uint bmapstart; // Block number of first free map block uint 28 kernel/fs.h #define NINDIRECT (BSIZE / sizeof(uint)) uint 37 kernel/fs.h uint size; // Size of file (bytes) uint 38 kernel/fs.h uint addrs[NDIRECT+1]; // Data block addresses uint 16 kernel/pipe.c uint nread; // number of bytes read uint 17 kernel/pipe.c uint nwrite; // number of bytes written uint 3 kernel/sleeplock.h uint locked; // Is the lock held? uint 3 kernel/spinlock.h uint locked; // Is the lock held? uint 7 kernel/stat.h uint ino; // Inode number uint 4 kernel/string.c memset(void *dst, int c, uint n) uint 15 kernel/string.c memcmp(const void *v1, const void *v2, uint n) uint 31 kernel/string.c memmove(void *dst, const void *src, uint n) uint 55 kernel/string.c memcpy(void *dst, const void *src, uint n) uint 61 kernel/string.c strncmp(const char *p, const char *q, uint n) uint 194 kernel/sysfile.c uint off; uint 55 kernel/sysproc.c uint ticks0; uint 87 kernel/sysproc.c uint xticks; uint 10 kernel/trap.c uint ticks; uint 218 kernel/vm.c uvmfirst(pagetable_t pagetable, uchar *src, uint sz) uint 317 kernel/vm.c uint flags; uint 32 mkfs/mkfs.c uint freeinode = 1; uint 33 mkfs/mkfs.c uint freeblock; uint 37 mkfs/mkfs.c void wsect(uint, void*); uint 38 mkfs/mkfs.c void winode(uint, struct dinode*); uint 39 mkfs/mkfs.c void rinode(uint inum, struct dinode *ip); uint 40 mkfs/mkfs.c void rsect(uint sec, void *buf); uint 41 mkfs/mkfs.c uint ialloc(ushort type); uint 42 mkfs/mkfs.c void iappend(uint inum, void *p, int n); uint 56 mkfs/mkfs.c uint uint 57 mkfs/mkfs.c xint(uint x) uint 59 mkfs/mkfs.c uint y; uint 72 mkfs/mkfs.c uint rootino, inum, off; uint 178 mkfs/mkfs.c wsect(uint sec, void *buf) uint 187 mkfs/mkfs.c winode(uint inum, struct dinode *ip) uint 190 mkfs/mkfs.c uint bn; uint 201 mkfs/mkfs.c rinode(uint inum, struct dinode *ip) uint 204 mkfs/mkfs.c uint bn; uint 214 mkfs/mkfs.c rsect(uint sec, void *buf) uint 222 mkfs/mkfs.c uint uint 225 mkfs/mkfs.c uint inum = freeinode++; uint 255 mkfs/mkfs.c iappend(uint inum, void *xp, int n) uint 258 mkfs/mkfs.c uint fbn, off, n1; uint 261 mkfs/mkfs.c uint indirect[NINDIRECT]; uint 262 mkfs/mkfs.c uint x; uint 20 user/printf.c uint x; uint 127 user/printf.c putc(fd, va_arg(ap, uint)); uint 36 user/ulib.c uint uint 47 user/ulib.c memset(void *dst, int c, uint n) uint 130 user/ulib.c memcmp(const void *s1, const void *s2, uint n) uint 144 user/ulib.c memcpy(void *dst, const void *src, uint n) uint 14 user/umalloc.c uint size; uint 47 user/umalloc.c morecore(uint nu) uint 64 user/umalloc.c malloc(uint nbytes) uint 67 user/umalloc.c uint nunits; uint 35 user/user.h uint strlen(const char*); uint 36 user/user.h void* memset(void*, int, uint); uint 38 user/user.h int memcmp(const void *, const void *, uint); uint 39 user/user.h void *memcpy(void *, const void *, uint); uint 42 user/user.h void* malloc(uint); uint 2276 user/usertests.c for(p = 0; p <= (uint)hi; p += PGSIZE){