sz 15 exec.c uint argc, sz, sp, ustack[3+MAXARG+1]; sz 42 exec.c sz = 0; sz 52 exec.c if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0) sz 65 exec.c sz = PGROUNDUP(sz); sz 66 exec.c if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0) sz 68 exec.c clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); sz 69 exec.c sp = sz; sz 99 exec.c curproc->sz = sz; sz 90 mmu.h #define PGROUNDUP(sz) (((sz)+PGSIZE-1) & ~(PGSIZE-1)) sz 132 proc.c p->sz = PGSIZE; sz 161 proc.c uint sz; sz 164 proc.c sz = curproc->sz; sz 166 proc.c if((sz = allocuvm(curproc->pgdir, sz, sz + n)) == 0) sz 169 proc.c if((sz = deallocuvm(curproc->pgdir, sz, sz + n)) == 0) sz 172 proc.c curproc->sz = sz; sz 193 proc.c if((np->pgdir = copyuvm(curproc->pgdir, curproc->sz)) == 0){ sz 199 proc.c np->sz = curproc->sz; sz 39 proc.h uint sz; // Size of process memory (bytes) sz 22 syscall.c if(addr >= curproc->sz || addr+4 > curproc->sz) sz 37 syscall.c if(addr >= curproc->sz) sz 40 syscall.c ep = (char*)curproc->sz; sz 66 syscall.c if(size < 0 || (uint)i >= curproc->sz || (uint)i+size > curproc->sz) sz 53 sysproc.c addr = myproc()->sz; sz 1121 usertests.c int fd, sz; sz 1126 usertests.c for(sz = 499; sz < 12*512; sz += 471){ sz 1134 usertests.c int cc = write(fd, buf, sz); sz 1135 usertests.c if(cc != sz){ sz 1136 usertests.c printf(1, "write(%d) ret %d\n", sz, cc); sz 183 vm.c inituvm(pde_t *pgdir, char *init, uint sz) sz 187 vm.c if(sz >= PGSIZE) sz 192 vm.c memmove(mem, init, sz); sz 198 vm.c loaduvm(pde_t *pgdir, char *addr, struct inode *ip, uint offset, uint sz) sz 205 vm.c for(i = 0; i < sz; i += PGSIZE){ sz 209 vm.c if(sz - i < PGSIZE) sz 210 vm.c n = sz - i; sz 316 vm.c copyuvm(pde_t *pgdir, uint sz) sz 325 vm.c for(i = 0; i < sz; i += PGSIZE){