PGSIZE 54 exec.c if(ph.vaddr % PGSIZE != 0) PGSIZE 66 exec.c if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0) PGSIZE 68 exec.c clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); PGSIZE 51 kalloc.c for(; p + PGSIZE <= (char*)vend; p += PGSIZE) PGSIZE 64 kalloc.c if((uint)v % PGSIZE || v < end || V2P(v) >= PHYSTOP) PGSIZE 68 kalloc.c memset(v, 1, PGSIZE); PGSIZE 102 main.c __attribute__((__aligned__(PGSIZE))) PGSIZE 90 mmu.h #define PGROUNDUP(sz) (((sz)+PGSIZE-1) & ~(PGSIZE-1)) PGSIZE 91 mmu.h #define PGROUNDDOWN(a) (((a)) & ~(PGSIZE-1)) PGSIZE 132 proc.c p->sz = PGSIZE; PGSIZE 139 proc.c p->tf->esp = PGSIZE; PGSIZE 48 vm.c memset(pgtab, 0, PGSIZE); PGSIZE 76 vm.c a += PGSIZE; PGSIZE 77 vm.c pa += PGSIZE; PGSIZE 126 vm.c memset(pgdir, 0, PGSIZE); PGSIZE 187 vm.c if(sz >= PGSIZE) PGSIZE 190 vm.c memset(mem, 0, PGSIZE); PGSIZE 191 vm.c mappages(pgdir, 0, PGSIZE, V2P(mem), PTE_W|PTE_U); PGSIZE 203 vm.c if((uint) addr % PGSIZE != 0) PGSIZE 205 vm.c for(i = 0; i < sz; i += PGSIZE){ PGSIZE 209 vm.c if(sz - i < PGSIZE) PGSIZE 212 vm.c n = PGSIZE; PGSIZE 233 vm.c for(; a < newsz; a += PGSIZE){ PGSIZE 240 vm.c memset(mem, 0, PGSIZE); PGSIZE 241 vm.c if(mappages(pgdir, (char*)a, PGSIZE, V2P(mem), PTE_W|PTE_U) < 0){ PGSIZE 265 vm.c for(; a < oldsz; a += PGSIZE){ PGSIZE 268 vm.c a = PGADDR(PDX(a) + 1, 0, 0) - PGSIZE; PGSIZE 325 vm.c for(i = 0; i < sz; i += PGSIZE){ PGSIZE 334 vm.c memmove(mem, (char*)P2V(pa), PGSIZE); PGSIZE 335 vm.c if(mappages(d, (void*)i, PGSIZE, V2P(mem), flags) < 0) { PGSIZE 377 vm.c n = PGSIZE - (va - va0); PGSIZE 383 vm.c va = va0 + PGSIZE;