pa 151 kernel/exec.c uint64 pa; pa 154 kernel/exec.c pa = walkaddr(pagetable, va + i); pa 155 kernel/exec.c if(pa == 0) pa 161 kernel/exec.c if(readi(ip, 0, (uint64)pa, offset+i, n) != n) pa 47 kernel/kalloc.c kfree(void *pa) pa 51 kernel/kalloc.c if(((uint64)pa % PGSIZE) != 0 || (char*)pa < end || (uint64)pa >= PHYSTOP) pa 55 kernel/kalloc.c memset(pa, 1, PGSIZE); pa 57 kernel/kalloc.c r = (struct run*)pa; pa 38 kernel/proc.c char *pa = kalloc(); pa 39 kernel/proc.c if(pa == 0) pa 42 kernel/proc.c kvmmap(kpgtbl, va, (uint64)pa, PGSIZE, PTE_R | PTE_W); pa 367 kernel/riscv.h #define PA2PTE(pa) ((((uint64)pa) >> 12) << 10) pa 112 kernel/vm.c uint64 pa; pa 124 kernel/vm.c pa = PTE2PA(*pte); pa 125 kernel/vm.c return pa; pa 132 kernel/vm.c kvmmap(pagetable_t kpgtbl, uint64 va, uint64 pa, uint64 sz, int perm) pa 134 kernel/vm.c if(mappages(kpgtbl, va, sz, pa, perm) != 0) pa 144 kernel/vm.c mappages(pagetable_t pagetable, uint64 va, uint64 size, uint64 pa, int perm) pa 165 kernel/vm.c *pte = PA2PTE(pa) | perm | PTE_V; pa 169 kernel/vm.c pa += PGSIZE; pa 194 kernel/vm.c uint64 pa = PTE2PA(*pte); pa 195 kernel/vm.c kfree((void*)pa); pa 316 kernel/vm.c uint64 pa, i; pa 325 kernel/vm.c pa = PTE2PA(*pte); pa 329 kernel/vm.c memmove(mem, (char*)pa, PGSIZE);