SYMBOL INDEX (595 symbols across 59 files) FILE: kernel/bio.c type spinlock (line 27) | struct spinlock type buf (line 28) | struct buf type buf (line 33) | struct buf function binit (line 36) | void type buf (line 58) | struct buf type buf (line 61) | struct buf type buf (line 92) | struct buf type buf (line 95) | struct buf function bwrite (line 106) | void function brelse (line 116) | void function bpin (line 139) | void function bunpin (line 146) | void FILE: kernel/buf.h type buf (line 1) | struct buf { FILE: kernel/console.c function consputc (line 34) | void type spinlock (line 46) | struct spinlock function consolewrite (line 60) | int function consoleread (line 85) | int function consoleintr (line 141) | void function consoleinit (line 187) | void FILE: kernel/defs.h type buf (line 1) | struct buf type context (line 2) | struct context type file (line 3) | struct file type inode (line 4) | struct inode type pipe (line 5) | struct pipe type proc (line 6) | struct proc type spinlock (line 7) | struct spinlock type sleeplock (line 8) | struct sleeplock type stat (line 9) | struct stat type superblock (line 10) | struct superblock type buf (line 14) | struct buf type buf (line 15) | struct buf type buf (line 16) | struct buf type buf (line 17) | struct buf type buf (line 18) | struct buf type file (line 29) | struct file type file (line 30) | struct file type file (line 31) | struct file type file (line 31) | struct file type file (line 33) | struct file type file (line 34) | struct file type file (line 35) | struct file type inode (line 39) | struct inode type inode (line 40) | struct inode type inode (line 40) | struct inode type inode (line 41) | struct inode type inode (line 42) | struct inode type inode (line 42) | struct inode type inode (line 44) | struct inode type inode (line 45) | struct inode type inode (line 46) | struct inode type inode (line 47) | struct inode type inode (line 48) | struct inode type inode (line 50) | struct inode type inode (line 51) | struct inode type inode (line 52) | struct inode type inode (line 53) | struct inode type stat (line 53) | struct stat type inode (line 54) | struct inode type inode (line 55) | struct inode type superblock (line 64) | struct superblock type buf (line 65) | struct buf type file (line 70) | struct file type file (line 70) | struct file type pipe (line 71) | struct pipe type pipe (line 72) | struct pipe type pipe (line 73) | struct pipe type proc (line 86) | struct proc type proc (line 89) | struct proc type proc (line 90) | struct proc type cpu (line 91) | struct cpu type proc (line 92) | struct proc type spinlock (line 96) | struct spinlock type context (line 106) | struct context type context (line 106) | struct context type spinlock (line 109) | struct spinlock type spinlock (line 110) | struct spinlock type spinlock (line 111) | struct spinlock type spinlock (line 112) | struct spinlock type sleeplock (line 117) | struct sleeplock type sleeplock (line 118) | struct sleeplock type sleeplock (line 119) | struct sleeplock type sleeplock (line 120) | struct sleeplock type spinlock (line 143) | struct spinlock type buf (line 181) | struct buf FILE: kernel/elf.h type elfhdr (line 6) | struct elfhdr { type proghdr (line 25) | struct proghdr { FILE: kernel/exec.c type inode (line 10) | struct inode function flags2perm (line 13) | int flags2perm(int flags) function kexec (line 26) | int function loadseg (line 154) | static int FILE: kernel/file.c type devsw (line 16) | struct devsw type spinlock (line 18) | struct spinlock type file (line 19) | struct file function fileinit (line 22) | void type file (line 29) | struct file type file (line 32) | struct file type file (line 47) | struct file type file (line 48) | struct file function fileclose (line 59) | void function filestat (line 87) | int function fileread (line 106) | int function filewrite (line 134) | int FILE: kernel/file.h type file (line 1) | struct file { type inode (line 17) | struct inode { type devsw (line 33) | struct devsw { type devsw (line 38) | struct devsw FILE: kernel/fs.c type superblock (line 27) | struct superblock function readsb (line 30) | static void function fsinit (line 41) | void function bzero (line 51) | static void function uint (line 66) | static uint function bfree (line 92) | static void type spinlock (line 178) | struct spinlock type inode (line 179) | struct inode function iinit (line 182) | void type inode (line 193) | struct inode type inode (line 199) | struct inode type buf (line 203) | struct buf type dinode (line 204) | struct dinode type dinode (line 208) | struct dinode function iupdate (line 226) | void type inode (line 247) | struct inode type inode (line 250) | struct inode type inode (line 282) | struct inode type inode (line 283) | struct inode function ilock (line 293) | void function iunlock (line 321) | void function iput (line 337) | void function iunlockput (line 366) | void function ireclaim (line 373) | void function uint (line 405) | static uint function itrunc (line 448) | void function stati (line 480) | void function readi (line 494) | int function writei (line 528) | int function namecmp (line 566) | int type inode (line 574) | struct inode type inode (line 575) | struct inode type dirent (line 578) | struct dirent function dirlink (line 602) | int type inode (line 674) | struct inode type inode (line 677) | struct inode type inode (line 709) | struct inode type inode (line 716) | struct inode FILE: kernel/fs.h type superblock (line 14) | struct superblock { type dinode (line 32) | struct dinode { type dirent (line 58) | struct dirent { FILE: kernel/kalloc.c type run (line 17) | struct run { type spinlock (line 22) | struct spinlock type run (line 23) | struct run function kinit (line 26) | void function freerange (line 33) | void function kfree (line 46) | void type run (line 71) | struct run FILE: kernel/log.c type logheader (line 35) | struct logheader { type log (line 40) | struct log { type log (line 48) | struct log function initlog (line 53) | void function install_trans (line 66) | static void function read_head (line 87) | static void function write_head (line 103) | static void function recover_from_log (line 117) | static void function begin_op (line 127) | void function end_op (line 147) | void function write_log (line 179) | static void function commit (line 194) | static void function log_write (line 215) | void FILE: kernel/main.c function main (line 10) | void FILE: kernel/pipe.c type pipe (line 13) | struct pipe { function pipealloc (line 22) | int function pipeclose (line 58) | void function pipewrite (line 76) | int function piperead (line 105) | int FILE: kernel/plic.c function plicinit (line 11) | void function plicinithart (line 19) | void function plic_claim (line 33) | int function plic_complete (line 42) | void FILE: kernel/printf.c type spinlock (line 23) | struct spinlock function printint (line 28) | static void function printptr (line 52) | static void function printf (line 63) | int function panic (line 136) | void function printfinit (line 147) | void FILE: kernel/proc.c type cpu (line 9) | struct cpu type proc (line 11) | struct proc type proc (line 13) | struct proc type spinlock (line 16) | struct spinlock type proc (line 19) | struct proc type spinlock (line 27) | struct spinlock function proc_mapstacks (line 32) | void function procinit (line 47) | void function cpuid (line 64) | int type cpu (line 73) | struct cpu type cpu (line 77) | struct cpu type proc (line 82) | struct proc type cpu (line 86) | struct cpu type proc (line 87) | struct proc function allocpid (line 92) | int type proc (line 109) | struct proc type proc (line 112) | struct proc type trapframe (line 129) | struct trapframe function freeproc (line 155) | static void function pagetable_t (line 176) | pagetable_t function proc_freepagetable (line 210) | void function userinit (line 219) | void function growproc (line 236) | int function kfork (line 259) | int function reparent (line 310) | void function kexit (line 326) | void function kwait (line 370) | int function scheduler (line 424) | void function sched (line 472) | void function yield (line 493) | void function forkret (line 505) | void function sleep (line 542) | void function wakeup (line 573) | void function kkill (line 592) | int function setkilled (line 613) | void function killed (line 621) | int function either_copyout (line 635) | int function either_copyin (line 650) | int function procdump (line 665) | void FILE: kernel/proc.h type context (line 2) | struct context { type cpu (line 22) | struct cpu { type cpu (line 29) | struct cpu type trapframe (line 43) | struct trapframe { type procstate (line 82) | enum procstate { UNUSED, USED, SLEEPING, RUNNABLE, RUNNING, ZOMBIE } type proc (line 85) | struct proc { FILE: kernel/riscv.h function uint64 (line 4) | static inline uint64 function uint64 (line 19) | static inline uint64 function w_mstatus (line 27) | static inline void function w_mepc (line 36) | static inline void function uint64 (line 50) | static inline uint64 function w_sstatus (line 58) | static inline void function uint64 (line 65) | static inline uint64 function w_sip (line 73) | static inline void function uint64 (line 82) | static inline uint64 function w_sie (line 90) | static inline void function uint64 (line 98) | static inline uint64 function w_mie (line 106) | static inline void function w_sepc (line 115) | static inline void function uint64 (line 121) | static inline uint64 function uint64 (line 130) | static inline uint64 function w_medeleg (line 138) | static inline void function uint64 (line 145) | static inline uint64 function w_mideleg (line 153) | static inline void function w_stvec (line 161) | static inline void function uint64 (line 167) | static inline uint64 function uint64 (line 176) | static inline uint64 function w_stimecmp (line 185) | static inline void function uint64 (line 193) | static inline uint64 function w_menvcfg (line 202) | static inline void function w_pmpcfg0 (line 210) | static inline void function w_pmpaddr0 (line 216) | static inline void function w_satp (line 229) | static inline void function uint64 (line 235) | static inline uint64 function uint64 (line 244) | static inline uint64 function uint64 (line 253) | static inline uint64 function w_mcounteren (line 262) | static inline void function uint64 (line 268) | static inline uint64 function uint64 (line 277) | static inline uint64 function intr_on (line 286) | static inline void function intr_off (line 293) | static inline void function intr_get (line 300) | static inline int function uint64 (line 307) | static inline uint64 function uint64 (line 317) | static inline uint64 function w_tp (line 325) | static inline void function uint64 (line 331) | static inline uint64 function sfence_vma (line 340) | static inline void type uint64 (line 347) | typedef uint64 pte_t; type uint64 (line 348) | typedef uint64 *pagetable_t; FILE: kernel/sleeplock.c function initsleeplock (line 12) | void function acquiresleep (line 21) | void function releasesleep (line 33) | void function holdingsleep (line 43) | int FILE: kernel/sleeplock.h type sleeplock (line 2) | struct sleeplock { FILE: kernel/spinlock.c function initlock (line 11) | void function acquire (line 21) | void function release (line 46) | void function holding (line 76) | int function push_off (line 88) | void function pop_off (line 102) | void FILE: kernel/spinlock.h type spinlock (line 2) | struct spinlock { FILE: kernel/start.c function start (line 14) | void function timerinit (line 52) | void FILE: kernel/stat.h type stat (line 5) | struct stat { FILE: kernel/string.c function memcmp (line 14) | int function strncmp (line 60) | int function strlen (line 98) | int FILE: kernel/syscall.c function fetchaddr (line 11) | int function fetchstr (line 24) | int function uint64 (line 33) | static uint64 function argint (line 56) | void function argaddr (line 65) | void function argstr (line 74) | int function syscall (line 131) | void FILE: kernel/sysfile.c function argfd (line 21) | static int function fdalloc (line 39) | static int function uint64 (line 54) | uint64 function uint64 (line 68) | uint64 function uint64 (line 82) | uint64 function uint64 (line 97) | uint64 function uint64 (line 110) | uint64 function uint64 (line 123) | uint64 function isdirempty (line 173) | static int function uint64 (line 188) | uint64 type inode (line 245) | struct inode type inode (line 248) | struct inode function uint64 (line 304) | uint64 function uint64 (line 373) | uint64 function uint64 (line 389) | uint64 function uint64 (line 409) | uint64 function uint64 (line 434) | uint64 function uint64 (line 477) | uint64 FILE: kernel/sysproc.c function uint64 (line 10) | uint64 function uint64 (line 19) | uint64 function uint64 (line 25) | uint64 function uint64 (line 31) | uint64 function uint64 (line 39) | uint64 function uint64 (line 67) | uint64 function uint64 (line 89) | uint64 function uint64 (line 100) | uint64 FILE: kernel/trap.c type spinlock (line 9) | struct spinlock function trapinit (line 19) | void function trapinithart (line 26) | void function uint64 (line 37) | uint64 function prepare_return (line 99) | void function kerneltrap (line 135) | void function clockintr (line 164) | void function devintr (line 185) | int FILE: kernel/types.h type uint (line 1) | typedef unsigned int uint; type ushort (line 2) | typedef unsigned short ushort; type uchar (line 3) | typedef unsigned char uchar; type uint8 (line 5) | typedef unsigned char uint8; type uint16 (line 6) | typedef unsigned short uint16; type uint32 (line 7) | typedef unsigned int uint32; type uint64 (line 8) | typedef unsigned long uint64; type uint64 (line 10) | typedef uint64 pde_t; FILE: kernel/uart.c type spinlock (line 41) | struct spinlock function uartinit (line 48) | void function uartwrite (line 79) | void function uartputc_sync (line 105) | void function uartgetc (line 127) | int function uartintr (line 141) | void FILE: kernel/virtio.h type virtq_desc (line 53) | struct virtq_desc { type virtq_avail (line 63) | struct virtq_avail { type virtq_used_elem (line 72) | struct virtq_used_elem { type virtq_used (line 77) | struct virtq_used { type virtio_blk_req (line 92) | struct virtio_blk_req { FILE: kernel/virtio_disk.c type disk (line 22) | struct disk { function virtio_disk_init (line 61) | void function alloc_desc (line 156) | static int function free_desc (line 169) | static void function free_chain (line 185) | static void function alloc3_desc (line 201) | static int function virtio_disk_rw (line 215) | void function virtio_disk_intr (line 294) | void FILE: kernel/vm.c function pagetable_t (line 21) | pagetable_t function kvmmap (line 57) | void function kvminit (line 65) | void function kvminithart (line 73) | void function pte_t (line 97) | pte_t * function uint64 (line 120) | uint64 function mappages (line 145) | int function pagetable_t (line 178) | pagetable_t function uvmunmap (line 192) | void function uint64 (line 216) | uint64 function uint64 (line 246) | uint64 function freewalk (line 262) | void function uvmfree (line 282) | void function uvmcopy (line 296) | int function uvmclear (line 328) | void function copyout (line 342) | int function copyin (line 380) | int function copyinstr (line 409) | int function uint64 (line 452) | uint64 function ismapped (line 475) | int FILE: test-xv6.py class QEMU (line 19) | class QEMU(object): method __init__ (line 21) | def __init__(self, reset=False): method reset_fs (line 33) | def reset_fs(self): method build_xv6 (line 40) | def build_xv6(self): method save_output (line 46) | def save_output(self): method cmd (line 54) | def cmd(self, c): method crash (line 60) | def crash(self): method stop (line 69) | def stop(self): method read (line 72) | def read(self): method lines (line 77) | def lines(self): method error (line 80) | def error(self): method match (line 86) | def match(self, *regexps, exit=True): method monitor (line 100) | def monitor(self, *regexps, progress="", timeout): function crash_log (line 115) | def crash_log(): function recover_log (line 122) | def recover_log(): function forphan (line 135) | def forphan(): function dorphan (line 144) | def dorphan(): function recover_orphan (line 153) | def recover_orphan(): function test_log (line 160) | def test_log(): function test_forphan (line 172) | def test_forphan(): function test_dorphan (line 178) | def test_dorphan(): function test_crash (line 184) | def test_crash(): function test_usertests (line 189) | def test_usertests(test=""): function main (line 202) | def main(): FILE: user/cat.c function cat (line 7) | void function main (line 24) | int FILE: user/dorphan.c function main (line 12) | int FILE: user/echo.c function main (line 5) | int FILE: user/forktest.c function print (line 10) | void function forktest (line 16) | void function main (line 51) | int FILE: user/forphan.c function main (line 12) | int FILE: user/grep.c function grep (line 11) | void function main (line 37) | int function match (line 72) | int function matchhere (line 85) | int matchhere(char *re, char *text) function matchstar (line 99) | int matchstar(int c, char *re, char *text) FILE: user/grind.c function do_rand (line 16) | int function rand (line 44) | int function go (line 50) | void function iter (line 296) | void function main (line 336) | int FILE: user/init.c function main (line 14) | int FILE: user/kill.c function main (line 5) | int FILE: user/ln.c function main (line 5) | int FILE: user/logstress.c function main (line 13) | int FILE: user/ls.c function ls (line 27) | void function main (line 76) | int FILE: user/mkdir.c function main (line 5) | int FILE: user/printf.c function putc (line 9) | static void function printint (line 15) | static void function printptr (line 41) | static void function vprintf (line 51) | void function fprintf (line 116) | void function printf (line 125) | void FILE: user/rm.c function main (line 5) | int FILE: user/sh.c type cmd (line 16) | struct cmd { type execcmd (line 20) | struct execcmd { type redircmd (line 26) | struct redircmd { type pipecmd (line 35) | struct pipecmd { type listcmd (line 41) | struct listcmd { type backcmd (line 47) | struct backcmd { type cmd (line 54) | struct cmd type cmd (line 55) | struct cmd function runcmd (line 58) | void function getcmd (line 134) | int function main (line 145) | int function panic (line 180) | void function fork1 (line 187) | int type cmd (line 201) | struct cmd type execcmd (line 204) | struct execcmd type cmd (line 209) | struct cmd type cmd (line 212) | struct cmd type cmd (line 213) | struct cmd type redircmd (line 215) | struct redircmd type cmd (line 225) | struct cmd type cmd (line 228) | struct cmd type cmd (line 229) | struct cmd type cmd (line 229) | struct cmd type pipecmd (line 231) | struct pipecmd type cmd (line 238) | struct cmd type cmd (line 241) | struct cmd type cmd (line 242) | struct cmd type cmd (line 242) | struct cmd type listcmd (line 244) | struct listcmd type cmd (line 251) | struct cmd type cmd (line 254) | struct cmd type cmd (line 255) | struct cmd type backcmd (line 257) | struct backcmd type cmd (line 263) | struct cmd function gettoken (line 271) | int function peek (line 316) | int type cmd (line 328) | struct cmd type cmd (line 329) | struct cmd type cmd (line 330) | struct cmd type cmd (line 331) | struct cmd type cmd (line 331) | struct cmd type cmd (line 333) | struct cmd type cmd (line 337) | struct cmd type cmd (line 350) | struct cmd type cmd (line 353) | struct cmd type cmd (line 367) | struct cmd type cmd (line 370) | struct cmd type cmd (line 380) | struct cmd type cmd (line 381) | struct cmd type cmd (line 405) | struct cmd type cmd (line 408) | struct cmd type cmd (line 421) | struct cmd type execcmd (line 426) | struct execcmd type cmd (line 427) | struct cmd type execcmd (line 433) | struct execcmd type cmd (line 455) | struct cmd type cmd (line 456) | struct cmd type backcmd (line 459) | struct backcmd type execcmd (line 460) | struct execcmd type listcmd (line 461) | struct listcmd type pipecmd (line 462) | struct pipecmd type redircmd (line 463) | struct redircmd type execcmd (line 470) | struct execcmd type redircmd (line 476) | struct redircmd type pipecmd (line 482) | struct pipecmd type listcmd (line 488) | struct listcmd type backcmd (line 494) | struct backcmd FILE: user/stressfs.c function main (line 16) | int FILE: user/ulib.c function start (line 11) | void function strcmp (line 31) | int function uint (line 39) | uint function stat (line 87) | int function atoi (line 101) | int function memcmp (line 132) | int FILE: user/umalloc.c type Align (line 9) | typedef long Align; type Header (line 19) | typedef union header Header; function free (line 24) | void function Header (line 46) | static Header* FILE: user/user.h type stat (line 3) | struct stat type stat (line 18) | struct stat type stat (line 29) | struct stat FILE: user/usertests.c function copyin (line 32) | void function copyout (line 77) | void function copyinstr1 (line 119) | void function copyinstr2 (line 139) | void function copyinstr3 (line 201) | void function rwsbrk (line 246) | void function truncate1 (line 292) | void function truncate2 (line 351) | void function truncate3 (line 372) | void function iputtest (line 427) | void function exitiputtest (line 449) | void function openiputtest (line 489) | void function opentest (line 522) | void function writetest (line 540) | void function writebig (line 581) | void function createtest (line 636) | void function dirtest (line 658) | void dirtest(char *s) function exectest (line 681) | void function pipe1 (line 738) | void function killstatus (line 793) | void function preempt (line 822) | void function exitwait (line 878) | void function reparent (line 908) | void function twochildren (line 936) | void function forkfork (line 964) | void function forkforkfork (line 1000) | void function reparent2 (line 1035) | void function mem (line 1056) | void function sharedfd (line 1096) | void function fourfiles (line 1153) | void function createdelete (line 1219) | void function unlinkread (line 1291) | void function linktest (line 1335) | void function concreate (line 1395) | void function linkunlink (line 1494) | void function subdir (line 1525) | void function bigwrite (line 1705) | void function bigfile (line 1731) | void function fourteen (line 1784) | void function rmdot (line 1830) | void function dirfile (line 1867) | void function iref (line 1924) | void function forktest (line 1962) | void function sbrkbasic (line 1999) | void function sbrkmuch (line 2063) | void function kernmem (line 2119) | void function MAXVAplus (line 2143) | void function sbrkfail (line 2168) | void function sbrkarg (line 2241) | void function validatetest (line 2268) | void function bsstest (line 2286) | void function bigargtest (line 2302) | void function fsfull (line 2342) | void function argptest (line 2393) | void argptest(char *s) function stacktest (line 2407) | void function nowrite (line 2433) | void function pgbug (line 2465) | void function sbrkbugs (line 2479) | void function sbrklast (line 2537) | void function sbrk8000 (line 2563) | void function badarg (line 2575) | void function lazy_alloc (line 2592) | void function lazy_unmap (line 2620) | void function lazy_copy (line 2658) | void function lazy_sbrk (line 2701) | void type test (line 2751) | struct test { function bigdir (line 2827) | void function manywrites (line 2869) | void function badwrite (line 2926) | void function execout (line 2961) | void function diskfull (line 2996) | void function outofinodes (line 3076) | void type test (line 3107) | struct test function run (line 3124) | int function runtests (line 3147) | int function countfree (line 3166) | int function drivetests (line 3182) | int function main (line 3224) | int FILE: user/wc.c function wc (line 8) | void function main (line 36) | int FILE: user/zombie.c function main (line 8) | int