uint64             59 kernel/console.c consolewrite(int user_src, uint64 src, int n)
uint64             80 kernel/console.c consoleread(int user_dst, uint64 dst, int n)
uint64             33 kernel/defs.h  int             fileread(struct file*, uint64, int n);
uint64             34 kernel/defs.h  int             filestat(struct file*, uint64 addr);
uint64             35 kernel/defs.h  int             filewrite(struct file*, uint64, int n);
uint64             52 kernel/defs.h  int             readi(struct inode*, int, uint64, uint, uint);
uint64             54 kernel/defs.h  int             writei(struct inode*, int, uint64, uint, uint);
uint64             76 kernel/defs.h  int             piperead(struct pipe*, uint64, int);
uint64             77 kernel/defs.h  int             pipewrite(struct pipe*, uint64, int);
uint64             91 kernel/defs.h  void            proc_freepagetable(pagetable_t, uint64);
uint64            103 kernel/defs.h  int             wait(uint64);
uint64            106 kernel/defs.h  int             either_copyout(int user_dst, uint64 dst, void *src, uint64 len);
uint64            107 kernel/defs.h  int             either_copyin(void *dst, int user_src, uint64 src, uint64 len);
uint64            139 kernel/defs.h  void            argaddr(int, uint64 *);
uint64            140 kernel/defs.h  int             fetchstr(uint64, char*, int);
uint64            141 kernel/defs.h  int             fetchaddr(uint64, uint64*);
uint64            161 kernel/defs.h  void            kvmmap(pagetable_t, uint64, uint64, uint64, int);
uint64            162 kernel/defs.h  int             mappages(pagetable_t, uint64, uint64, uint64, int);
uint64            165 kernel/defs.h  uint64          uvmalloc(pagetable_t, uint64, uint64, int);
uint64            166 kernel/defs.h  uint64          uvmdealloc(pagetable_t, uint64, uint64);
uint64            167 kernel/defs.h  int             uvmcopy(pagetable_t, pagetable_t, uint64);
uint64            168 kernel/defs.h  void            uvmfree(pagetable_t, uint64);
uint64            169 kernel/defs.h  void            uvmunmap(pagetable_t, uint64, uint64, int);
uint64            170 kernel/defs.h  void            uvmclear(pagetable_t, uint64);
uint64            171 kernel/defs.h  pte_t *         walk(pagetable_t, uint64, int);
uint64            172 kernel/defs.h  uint64          walkaddr(pagetable_t, uint64);
uint64            173 kernel/defs.h  int             copyout(pagetable_t, uint64, char *, uint64);
uint64            174 kernel/defs.h  int             copyin(pagetable_t, char *, uint64, uint64);
uint64            175 kernel/defs.h  int             copyinstr(pagetable_t, char *, uint64, uint64);
uint64             12 kernel/elf.h     uint64 entry;
uint64             13 kernel/elf.h     uint64 phoff;
uint64             14 kernel/elf.h     uint64 shoff;
uint64             28 kernel/elf.h     uint64 off;
uint64             29 kernel/elf.h     uint64 vaddr;
uint64             30 kernel/elf.h     uint64 paddr;
uint64             31 kernel/elf.h     uint64 filesz;
uint64             32 kernel/elf.h     uint64 memsz;
uint64             33 kernel/elf.h     uint64 align;
uint64             10 kernel/exec.c  static int loadseg(pde_t *, uint64, struct inode *, uint, uint);
uint64             27 kernel/exec.c    uint64 argc, sz = 0, sp, ustack[MAXARG], stackbase;
uint64             43 kernel/exec.c    if(readi(ip, 0, (uint64)&elf, 0, sizeof(elf)) != sizeof(elf))
uint64             54 kernel/exec.c      if(readi(ip, 0, (uint64)&ph, off, sizeof(ph)) != sizeof(ph))
uint64             64 kernel/exec.c      uint64 sz1;
uint64             76 kernel/exec.c    uint64 oldsz = p->sz;
uint64             82 kernel/exec.c    uint64 sz1;
uint64            105 kernel/exec.c    sp -= (argc+1) * sizeof(uint64);
uint64            109 kernel/exec.c    if(copyout(pagetable, sp, (char *)ustack, (argc+1)*sizeof(uint64)) < 0)
uint64            148 kernel/exec.c  loadseg(pagetable_t pagetable, uint64 va, struct inode *ip, uint offset, uint sz)
uint64            151 kernel/exec.c    uint64 pa;
uint64            161 kernel/exec.c      if(readi(ip, 0, (uint64)pa, offset+i, n) != n)
uint64             88 kernel/file.c  filestat(struct file *f, uint64 addr)
uint64            107 kernel/file.c  fileread(struct file *f, uint64 addr, int n)
uint64            135 kernel/file.c  filewrite(struct file *f, uint64 addr, int n)
uint64             34 kernel/file.h    int (*read)(int, uint64, int);
uint64             35 kernel/file.h    int (*write)(int, uint64, int);
uint64            472 kernel/fs.c    readi(struct inode *ip, int user_dst, uint64 dst, uint off, uint n)
uint64            506 kernel/fs.c    writei(struct inode *ip, int user_src, uint64 src, uint off, uint n)
uint64            561 kernel/fs.c        if(readi(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
uint64            594 kernel/fs.c        if(readi(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
uint64            602 kernel/fs.c      if(writei(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
uint64             37 kernel/kalloc.c   p = (char*)PGROUNDUP((uint64)pa_start);
uint64             51 kernel/kalloc.c   if(((uint64)pa % PGSIZE) != 0 || (char*)pa < end || (uint64)pa >= PHYSTOP)
uint64             77 kernel/pipe.c  pipewrite(struct pipe *pi, uint64 addr, int n)
uint64            106 kernel/pipe.c  piperead(struct pipe *pi, uint64 addr, int n)
uint64             53 kernel/printf.c printptr(uint64 x)
uint64             58 kernel/printf.c   for (i = 0; i < (sizeof(uint64) * 2); i++, x <<= 4)
uint64             59 kernel/printf.c     consputc(digits[x >> (sizeof(uint64) * 8 - 4)]);
uint64             88 kernel/printf.c       printint(va_arg(ap, uint64), 10, 1);
uint64             91 kernel/printf.c       printint(va_arg(ap, uint64), 10, 1);
uint64             96 kernel/printf.c       printint(va_arg(ap, uint64), 10, 0);
uint64             99 kernel/printf.c       printint(va_arg(ap, uint64), 10, 0);
uint64            104 kernel/printf.c       printint(va_arg(ap, uint64), 16, 0);
uint64            107 kernel/printf.c       printint(va_arg(ap, uint64), 16, 0);
uint64            110 kernel/printf.c       printptr(va_arg(ap, uint64));
uint64            135 kernel/printf.c       printptr(va_arg(ap, uint64));
uint64             41 kernel/proc.c      uint64 va = KSTACK((int) (p - proc));
uint64             42 kernel/proc.c      kvmmap(kpgtbl, va, (uint64)pa, PGSIZE, PTE_R | PTE_W);
uint64            146 kernel/proc.c    p->context.ra = (uint64)forkret;
uint64            191 kernel/proc.c                (uint64)trampoline, PTE_R | PTE_X) < 0){
uint64            199 kernel/proc.c                (uint64)(p->trapframe), PTE_R | PTE_W) < 0){
uint64            211 kernel/proc.c  proc_freepagetable(pagetable_t pagetable, uint64 sz)
uint64            262 kernel/proc.c    uint64 sz;
uint64            391 kernel/proc.c  wait(uint64 addr)
uint64            641 kernel/proc.c  either_copyout(int user_dst, uint64 dst, void *src, uint64 len)
uint64            656 kernel/proc.c  either_copyin(void *dst, int user_src, uint64 src, uint64 len)
uint64              3 kernel/proc.h    uint64 ra;
uint64              4 kernel/proc.h    uint64 sp;
uint64              7 kernel/proc.h    uint64 s0;
uint64              8 kernel/proc.h    uint64 s1;
uint64              9 kernel/proc.h    uint64 s2;
uint64             10 kernel/proc.h    uint64 s3;
uint64             11 kernel/proc.h    uint64 s4;
uint64             12 kernel/proc.h    uint64 s5;
uint64             13 kernel/proc.h    uint64 s6;
uint64             14 kernel/proc.h    uint64 s7;
uint64             15 kernel/proc.h    uint64 s8;
uint64             16 kernel/proc.h    uint64 s9;
uint64             17 kernel/proc.h    uint64 s10;
uint64             18 kernel/proc.h    uint64 s11;
uint64             44 kernel/proc.h    /*   0 */ uint64 kernel_satp;   // kernel page table
uint64             45 kernel/proc.h    /*   8 */ uint64 kernel_sp;     // top of process's kernel stack
uint64             46 kernel/proc.h    /*  16 */ uint64 kernel_trap;   // usertrap()
uint64             47 kernel/proc.h    /*  24 */ uint64 epc;           // saved user program counter
uint64             48 kernel/proc.h    /*  32 */ uint64 kernel_hartid; // saved kernel tp
uint64             49 kernel/proc.h    /*  40 */ uint64 ra;
uint64             50 kernel/proc.h    /*  48 */ uint64 sp;
uint64             51 kernel/proc.h    /*  56 */ uint64 gp;
uint64             52 kernel/proc.h    /*  64 */ uint64 tp;
uint64             53 kernel/proc.h    /*  72 */ uint64 t0;
uint64             54 kernel/proc.h    /*  80 */ uint64 t1;
uint64             55 kernel/proc.h    /*  88 */ uint64 t2;
uint64             56 kernel/proc.h    /*  96 */ uint64 s0;
uint64             57 kernel/proc.h    /* 104 */ uint64 s1;
uint64             58 kernel/proc.h    /* 112 */ uint64 a0;
uint64             59 kernel/proc.h    /* 120 */ uint64 a1;
uint64             60 kernel/proc.h    /* 128 */ uint64 a2;
uint64             61 kernel/proc.h    /* 136 */ uint64 a3;
uint64             62 kernel/proc.h    /* 144 */ uint64 a4;
uint64             63 kernel/proc.h    /* 152 */ uint64 a5;
uint64             64 kernel/proc.h    /* 160 */ uint64 a6;
uint64             65 kernel/proc.h    /* 168 */ uint64 a7;
uint64             66 kernel/proc.h    /* 176 */ uint64 s2;
uint64             67 kernel/proc.h    /* 184 */ uint64 s3;
uint64             68 kernel/proc.h    /* 192 */ uint64 s4;
uint64             69 kernel/proc.h    /* 200 */ uint64 s5;
uint64             70 kernel/proc.h    /* 208 */ uint64 s6;
uint64             71 kernel/proc.h    /* 216 */ uint64 s7;
uint64             72 kernel/proc.h    /* 224 */ uint64 s8;
uint64             73 kernel/proc.h    /* 232 */ uint64 s9;
uint64             74 kernel/proc.h    /* 240 */ uint64 s10;
uint64             75 kernel/proc.h    /* 248 */ uint64 s11;
uint64             76 kernel/proc.h    /* 256 */ uint64 t3;
uint64             77 kernel/proc.h    /* 264 */ uint64 t4;
uint64             78 kernel/proc.h    /* 272 */ uint64 t5;
uint64             79 kernel/proc.h    /* 280 */ uint64 t6;
uint64             99 kernel/proc.h    uint64 kstack;               // Virtual address of kernel stack
uint64            100 kernel/proc.h    uint64 sz;                   // Size of process memory (bytes)
uint64              4 kernel/riscv.h static inline uint64
uint64              7 kernel/riscv.h   uint64 x;
uint64             20 kernel/riscv.h static inline uint64
uint64             23 kernel/riscv.h   uint64 x;
uint64             29 kernel/riscv.h w_mstatus(uint64 x)
uint64             38 kernel/riscv.h w_mepc(uint64 x)
uint64             51 kernel/riscv.h static inline uint64
uint64             54 kernel/riscv.h   uint64 x;
uint64             60 kernel/riscv.h w_sstatus(uint64 x)
uint64             66 kernel/riscv.h static inline uint64
uint64             69 kernel/riscv.h   uint64 x;
uint64             75 kernel/riscv.h w_sip(uint64 x)
uint64             84 kernel/riscv.h static inline uint64
uint64             87 kernel/riscv.h   uint64 x;
uint64             93 kernel/riscv.h w_sie(uint64 x)
uint64            100 kernel/riscv.h static inline uint64
uint64            103 kernel/riscv.h   uint64 x;
uint64            109 kernel/riscv.h w_mie(uint64 x)
uint64            118 kernel/riscv.h w_sepc(uint64 x)
uint64            123 kernel/riscv.h static inline uint64
uint64            126 kernel/riscv.h   uint64 x;
uint64            132 kernel/riscv.h static inline uint64
uint64            135 kernel/riscv.h   uint64 x;
uint64            141 kernel/riscv.h w_medeleg(uint64 x)
uint64            147 kernel/riscv.h static inline uint64
uint64            150 kernel/riscv.h   uint64 x;
uint64            156 kernel/riscv.h w_mideleg(uint64 x)
uint64            164 kernel/riscv.h w_stvec(uint64 x)
uint64            169 kernel/riscv.h static inline uint64
uint64            172 kernel/riscv.h   uint64 x;
uint64            178 kernel/riscv.h static inline uint64
uint64            181 kernel/riscv.h   uint64 x;
uint64            188 kernel/riscv.h w_stimecmp(uint64 x)
uint64            195 kernel/riscv.h static inline uint64
uint64            198 kernel/riscv.h   uint64 x;
uint64            205 kernel/riscv.h w_menvcfg(uint64 x)
uint64            213 kernel/riscv.h w_pmpcfg0(uint64 x)
uint64            219 kernel/riscv.h w_pmpaddr0(uint64 x)
uint64            227 kernel/riscv.h #define MAKE_SATP(pagetable) (SATP_SV39 | (((uint64)pagetable) >> 12))
uint64            232 kernel/riscv.h w_satp(uint64 x)
uint64            237 kernel/riscv.h static inline uint64
uint64            240 kernel/riscv.h   uint64 x;
uint64            246 kernel/riscv.h static inline uint64
uint64            249 kernel/riscv.h   uint64 x;
uint64            255 kernel/riscv.h static inline uint64
uint64            258 kernel/riscv.h   uint64 x;
uint64            265 kernel/riscv.h w_mcounteren(uint64 x)
uint64            270 kernel/riscv.h static inline uint64
uint64            273 kernel/riscv.h   uint64 x;
uint64            279 kernel/riscv.h static inline uint64
uint64            282 kernel/riscv.h   uint64 x;
uint64            305 kernel/riscv.h   uint64 x = r_sstatus();
uint64            309 kernel/riscv.h static inline uint64
uint64            312 kernel/riscv.h   uint64 x;
uint64            319 kernel/riscv.h static inline uint64
uint64            322 kernel/riscv.h   uint64 x;
uint64            328 kernel/riscv.h w_tp(uint64 x)
uint64            333 kernel/riscv.h static inline uint64
uint64            336 kernel/riscv.h   uint64 x;
uint64            349 kernel/riscv.h typedef uint64 pte_t;
uint64            350 kernel/riscv.h typedef uint64 *pagetable_t; // 512 PTEs
uint64            367 kernel/riscv.h #define PA2PTE(pa) ((((uint64)pa) >> 12) << 10)
uint64            376 kernel/riscv.h #define PX(level, va) ((((uint64) (va)) >> PXSHIFT(level)) & PXMASK)
uint64             25 kernel/start.c   w_mepc((uint64)main);
uint64             10 kernel/stat.h    uint64 size; // Size of file in bytes
uint64             12 kernel/syscall.c fetchaddr(uint64 addr, uint64 *ip)
uint64             15 kernel/syscall.c   if(addr >= p->sz || addr+sizeof(uint64) > p->sz) // both tests needed, in case of overflow
uint64             25 kernel/syscall.c fetchstr(uint64 addr, char *buf, int max)
uint64             33 kernel/syscall.c static uint64
uint64             66 kernel/syscall.c argaddr(int n, uint64 *ip)
uint64             77 kernel/syscall.c   uint64 addr;
uint64             83 kernel/syscall.c extern uint64 sys_fork(void);
uint64             84 kernel/syscall.c extern uint64 sys_exit(void);
uint64             85 kernel/syscall.c extern uint64 sys_wait(void);
uint64             86 kernel/syscall.c extern uint64 sys_pipe(void);
uint64             87 kernel/syscall.c extern uint64 sys_read(void);
uint64             88 kernel/syscall.c extern uint64 sys_kill(void);
uint64             89 kernel/syscall.c extern uint64 sys_exec(void);
uint64             90 kernel/syscall.c extern uint64 sys_fstat(void);
uint64             91 kernel/syscall.c extern uint64 sys_chdir(void);
uint64             92 kernel/syscall.c extern uint64 sys_dup(void);
uint64             93 kernel/syscall.c extern uint64 sys_getpid(void);
uint64             94 kernel/syscall.c extern uint64 sys_sbrk(void);
uint64             95 kernel/syscall.c extern uint64 sys_sleep(void);
uint64             96 kernel/syscall.c extern uint64 sys_uptime(void);
uint64             97 kernel/syscall.c extern uint64 sys_open(void);
uint64             98 kernel/syscall.c extern uint64 sys_write(void);
uint64             99 kernel/syscall.c extern uint64 sys_mknod(void);
uint64            100 kernel/syscall.c extern uint64 sys_unlink(void);
uint64            101 kernel/syscall.c extern uint64 sys_link(void);
uint64            102 kernel/syscall.c extern uint64 sys_mkdir(void);
uint64            103 kernel/syscall.c extern uint64 sys_close(void);
uint64            107 kernel/syscall.c static uint64 (*syscalls[])(void) = {
uint64             54 kernel/sysfile.c uint64
uint64             68 kernel/sysfile.c uint64
uint64             73 kernel/sysfile.c   uint64 p;
uint64             82 kernel/sysfile.c uint64
uint64             87 kernel/sysfile.c   uint64 p;
uint64             97 kernel/sysfile.c uint64
uint64            110 kernel/sysfile.c uint64
uint64            114 kernel/sysfile.c   uint64 st; // user pointer to struct stat
uint64            123 kernel/sysfile.c uint64
uint64            180 kernel/sysfile.c     if(readi(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
uint64            188 kernel/sysfile.c uint64
uint64            223 kernel/sysfile.c   if(writei(dp, 0, (uint64)&de, off, sizeof(de)) != sizeof(de))
uint64            304 kernel/sysfile.c uint64
uint64            373 kernel/sysfile.c uint64
uint64            389 kernel/sysfile.c uint64
uint64            409 kernel/sysfile.c uint64
uint64            434 kernel/sysfile.c uint64
uint64            439 kernel/sysfile.c   uint64 uargv, uarg;
uint64            450 kernel/sysfile.c     if(fetchaddr(uargv+sizeof(uint64)*i, (uint64*)&uarg) < 0){
uint64            477 kernel/sysfile.c uint64
uint64            480 kernel/sysfile.c   uint64 fdarray; // user pointer to array of two integers
uint64              9 kernel/sysproc.c uint64
uint64             18 kernel/sysproc.c uint64
uint64             24 kernel/sysproc.c uint64
uint64             30 kernel/sysproc.c uint64
uint64             33 kernel/sysproc.c   uint64 p;
uint64             38 kernel/sysproc.c uint64
uint64             41 kernel/sysproc.c   uint64 addr;
uint64             51 kernel/sysproc.c uint64
uint64             73 kernel/sysproc.c uint64
uint64             84 kernel/sysproc.c uint64
uint64             29 kernel/trap.c    w_stvec((uint64)kernelvec);
uint64             46 kernel/trap.c    w_stvec((uint64)kernelvec);
uint64            100 kernel/trap.c    uint64 trampoline_uservec = TRAMPOLINE + (uservec - trampoline);
uint64            107 kernel/trap.c    p->trapframe->kernel_trap = (uint64)usertrap;
uint64            123 kernel/trap.c    uint64 satp = MAKE_SATP(p->pagetable);
uint64            128 kernel/trap.c    uint64 trampoline_userret = TRAMPOLINE + (userret - trampoline);
uint64            129 kernel/trap.c    ((void (*)(uint64))trampoline_userret)(satp);
uint64            138 kernel/trap.c    uint64 sepc = r_sepc();
uint64            139 kernel/trap.c    uint64 sstatus = r_sstatus();
uint64            140 kernel/trap.c    uint64 scause = r_scause();
uint64            187 kernel/trap.c    uint64 scause = r_scause();
uint64             10 kernel/types.h typedef uint64 pde_t;
uint64             45 kernel/uart.c  uint64 uart_tx_w; // write next to uart_tx_buf[uart_tx_w % UART_TX_BUF_SIZE]
uint64             46 kernel/uart.c  uint64 uart_tx_r; // read next from uart_tx_buf[uart_tx_r % UART_TX_BUF_SIZE]
uint64             54 kernel/virtio.h   uint64 addr;
uint64             95 kernel/virtio.h   uint64 sector;
uint64             87 kernel/virtio_disk.c   uint64 features = *R(VIRTIO_MMIO_DEVICE_FEATURES);
uint64            134 kernel/virtio_disk.c   *R(VIRTIO_MMIO_QUEUE_DESC_LOW) = (uint64)disk.desc;
uint64            135 kernel/virtio_disk.c   *R(VIRTIO_MMIO_QUEUE_DESC_HIGH) = (uint64)disk.desc >> 32;
uint64            136 kernel/virtio_disk.c   *R(VIRTIO_MMIO_DRIVER_DESC_LOW) = (uint64)disk.avail;
uint64            137 kernel/virtio_disk.c   *R(VIRTIO_MMIO_DRIVER_DESC_HIGH) = (uint64)disk.avail >> 32;
uint64            138 kernel/virtio_disk.c   *R(VIRTIO_MMIO_DEVICE_DESC_LOW) = (uint64)disk.used;
uint64            139 kernel/virtio_disk.c   *R(VIRTIO_MMIO_DEVICE_DESC_HIGH) = (uint64)disk.used >> 32;
uint64            218 kernel/virtio_disk.c   uint64 sector = b->blockno * (BSIZE / 512);
uint64            247 kernel/virtio_disk.c   disk.desc[idx[0]].addr = (uint64) buf0;
uint64            252 kernel/virtio_disk.c   disk.desc[idx[1]].addr = (uint64) b->data;
uint64            262 kernel/virtio_disk.c   disk.desc[idx[2]].addr = (uint64) &disk.info[idx[0]].status;
uint64             37 kernel/vm.c      kvmmap(kpgtbl, KERNBASE, KERNBASE, (uint64)etext-KERNBASE, PTE_R | PTE_X);
uint64             40 kernel/vm.c      kvmmap(kpgtbl, (uint64)etext, (uint64)etext, PHYSTOP-(uint64)etext, PTE_R | PTE_W);
uint64             44 kernel/vm.c      kvmmap(kpgtbl, TRAMPOLINE, (uint64)trampoline, PGSIZE, PTE_R | PTE_X);
uint64             86 kernel/vm.c    walk(pagetable_t pagetable, uint64 va, int alloc)
uint64            108 kernel/vm.c    uint64
uint64            109 kernel/vm.c    walkaddr(pagetable_t pagetable, uint64 va)
uint64            112 kernel/vm.c      uint64 pa;
uint64            132 kernel/vm.c    kvmmap(pagetable_t kpgtbl, uint64 va, uint64 pa, uint64 sz, int perm)
uint64            144 kernel/vm.c    mappages(pagetable_t pagetable, uint64 va, uint64 size, uint64 pa, int perm)
uint64            146 kernel/vm.c      uint64 a, last;
uint64            178 kernel/vm.c    uvmunmap(pagetable_t pagetable, uint64 va, uint64 npages, int do_free)
uint64            180 kernel/vm.c      uint64 a;
uint64            194 kernel/vm.c          uint64 pa = PTE2PA(*pte);
uint64            226 kernel/vm.c      mappages(pagetable, 0, PGSIZE, (uint64)mem, PTE_W|PTE_R|PTE_X|PTE_U);
uint64            232 kernel/vm.c    uint64
uint64            233 kernel/vm.c    uvmalloc(pagetable_t pagetable, uint64 oldsz, uint64 newsz, int xperm)
uint64            236 kernel/vm.c      uint64 a;
uint64            249 kernel/vm.c        if(mappages(pagetable, a, PGSIZE, (uint64)mem, PTE_R|PTE_U|xperm) != 0){
uint64            262 kernel/vm.c    uint64
uint64            263 kernel/vm.c    uvmdealloc(pagetable_t pagetable, uint64 oldsz, uint64 newsz)
uint64            286 kernel/vm.c          uint64 child = PTE2PA(pte);
uint64            299 kernel/vm.c    uvmfree(pagetable_t pagetable, uint64 sz)
uint64            313 kernel/vm.c    uvmcopy(pagetable_t old, pagetable_t new, uint64 sz)
uint64            316 kernel/vm.c      uint64 pa, i;
uint64            330 kernel/vm.c        if(mappages(new, i, PGSIZE, (uint64)mem, flags) != 0){
uint64            345 kernel/vm.c    uvmclear(pagetable_t pagetable, uint64 va)
uint64            359 kernel/vm.c    copyout(pagetable_t pagetable, uint64 dstva, char *src, uint64 len)
uint64            361 kernel/vm.c      uint64 n, va0, pa0;
uint64            389 kernel/vm.c    copyin(pagetable_t pagetable, char *dst, uint64 srcva, uint64 len)
uint64            391 kernel/vm.c      uint64 n, va0, pa0;
uint64            415 kernel/vm.c    copyinstr(pagetable_t pagetable, char *dst, uint64 srcva, uint64 max)
uint64            417 kernel/vm.c      uint64 n, va0, pa0;
uint64             56 user/grind.c     uint64 iters = 0;
uint64             42 user/printf.c  printptr(int fd, uint64 x) {
uint64             46 user/printf.c    for (i = 0; i < (sizeof(uint64) * 2); i++, x <<= 4)
uint64             47 user/printf.c      putc(fd, digits[x >> (sizeof(uint64) * 8 - 4)]);
uint64             73 user/printf.c          printint(fd, va_arg(ap, uint64), 10, 1);
uint64             76 user/printf.c          printint(fd, va_arg(ap, uint64), 10, 1);
uint64             81 user/printf.c          printint(fd, va_arg(ap, uint64), 10, 0);
uint64             84 user/printf.c          printint(fd, va_arg(ap, uint64), 10, 0);
uint64             89 user/printf.c          printint(fd, va_arg(ap, uint64), 16, 0);
uint64             92 user/printf.c          printint(fd, va_arg(ap, uint64), 16, 0);
uint64             95 user/printf.c          printptr(fd, va_arg(ap, uint64));
uint64            113 user/printf.c          printint(fd, va_arg(ap, uint64), 10, 0);
uint64            117 user/printf.c          printptr(fd, va_arg(ap, uint64));
uint64             35 user/usertests.c   uint64 addrs[] = { 0x80000000LL, 0x3fffffe000, 0x3ffffff000, 0x4000000000,
uint64             39 user/usertests.c     uint64 addr = addrs[ai];
uint64             80 user/usertests.c   uint64 addrs[] = { 0LL, 0x80000000LL, 0x3fffffe000, 0x3ffffff000, 0x4000000000,
uint64             84 user/usertests.c     uint64 addr = addrs[ai];
uint64            122 user/usertests.c   uint64 addrs[] = { 0x80000000LL, 0x3fffffe000, 0x3ffffff000, 0x4000000000,
uint64            126 user/usertests.c     uint64 addr = addrs[ai];
uint64            205 user/usertests.c   uint64 top = (uint64) sbrk(0);
uint64            209 user/usertests.c   top = (uint64) sbrk(0);
uint64            251 user/usertests.c   uint64 a = (uint64) sbrk(8192);
uint64            258 user/usertests.c   if ((uint64) sbrk(-8192) ==  0xffffffffffffffffLL) {
uint64           2068 user/usertests.c   uint64 amt;
uint64           2074 user/usertests.c   amt = BIG - (uint64)a;
uint64           2151 user/usertests.c   volatile uint64 a = MAXVA;
uint64           2191 user/usertests.c       sbrk(BIG - (uint64)sbrk(0));
uint64           2273 user/usertests.c   uint64 p;
uint64           2439 user/usertests.c   uint64 addrs[] = { 0, 0x80000000LL, 0x3fffffe000, 0x3ffffff000, 0x4000000000,
uint64           2489 user/usertests.c     int sz = (uint64) sbrk(0);
uint64           2505 user/usertests.c     int sz = (uint64) sbrk(0);
uint64           2521 user/usertests.c     sbrk((10*4096 + 2048) - (uint64)sbrk(0));
uint64           2541 user/usertests.c   uint64 top = (uint64) sbrk(0);
uint64           2547 user/usertests.c   top = (uint64) sbrk(0);
uint64           2807 user/usertests.c         uint64 a = (uint64) sbrk(4096);
uint64           3025 user/usertests.c       uint64 a = (uint64) sbrk(4096);