PGSIZE 59 exec.c if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0) PGSIZE 61 exec.c clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); PGSIZE 50 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 105 main.c __attribute__((__aligned__(PGSIZE))) PGSIZE 129 mmu.h #define PGROUNDUP(sz) (((sz)+PGSIZE-1) & ~(PGSIZE-1)) PGSIZE 130 mmu.h #define PGROUNDDOWN(a) (((a)) & ~(PGSIZE-1)) PGSIZE 89 proc.c p->sz = PGSIZE; PGSIZE 96 proc.c p->tf->esp = PGSIZE; PGSIZE 58 vm.c memset(pgtab, 0, PGSIZE); PGSIZE 86 vm.c a += PGSIZE; PGSIZE 87 vm.c pa += PGSIZE; PGSIZE 136 vm.c memset(pgdir, 0, PGSIZE); PGSIZE 186 vm.c if(sz >= PGSIZE) PGSIZE 189 vm.c memset(mem, 0, PGSIZE); PGSIZE 190 vm.c mappages(pgdir, 0, PGSIZE, v2p(mem), PTE_W|PTE_U); PGSIZE 202 vm.c if((uint) addr % PGSIZE != 0) PGSIZE 204 vm.c for(i = 0; i < sz; i += PGSIZE){ PGSIZE 208 vm.c if(sz - i < PGSIZE) PGSIZE 211 vm.c n = PGSIZE; PGSIZE 232 vm.c for(; a < newsz; a += PGSIZE){ PGSIZE 239 vm.c memset(mem, 0, PGSIZE); PGSIZE 240 vm.c mappages(pgdir, (char*)a, PGSIZE, v2p(mem), PTE_W|PTE_U); PGSIZE 259 vm.c for(; a < oldsz; a += PGSIZE){ PGSIZE 262 vm.c a += (NPTENTRIES - 1) * PGSIZE; PGSIZE 319 vm.c for(i = 0; i < sz; i += PGSIZE){ PGSIZE 328 vm.c memmove(mem, (char*)p2v(pa), PGSIZE); PGSIZE 329 vm.c if(mappages(d, (void*)i, PGSIZE, v2p(mem), flags) < 0) PGSIZE 369 vm.c n = PGSIZE - (va - va0); PGSIZE 375 vm.c va = va0 + PGSIZE;