sz 15 exec.c uint argc, sz, sp, ustack[3+MAXARG+1]; sz 39 exec.c sz = 0; sz 47 exec.c if((sz = allocuvm(pgdir, sz, ph.vaddr + ph.memsz)) == 0) sz 58 exec.c sz = PGROUNDUP(sz); sz 59 exec.c if((sz = allocuvm(pgdir, sz, sz + 2*PGSIZE)) == 0) sz 61 exec.c clearpteu(pgdir, (char*)(sz - 2*PGSIZE)); sz 62 exec.c sp = sz; sz 92 exec.c proc->sz = sz; sz 129 mmu.h #define PGROUNDUP(sz) (((sz)+PGSIZE-1) & ~(PGSIZE-1)) sz 89 proc.c p->sz = PGSIZE; sz 110 proc.c uint sz; sz 112 proc.c sz = proc->sz; sz 114 proc.c if((sz = allocuvm(proc->pgdir, sz, sz + n)) == 0) sz 117 proc.c if((sz = deallocuvm(proc->pgdir, sz, sz + n)) == 0) sz 120 proc.c proc->sz = sz; sz 139 proc.c if((np->pgdir = copyuvm(proc->pgdir, proc->sz)) == 0){ sz 145 proc.c np->sz = proc->sz; sz 56 proc.h uint sz; // Size of process memory (bytes) sz 20 syscall.c if(addr >= proc->sz || addr+4 > proc->sz) sz 34 syscall.c if(addr >= proc->sz) sz 37 syscall.c ep = (char*)proc->sz; sz 61 syscall.c if((uint)i >= proc->sz || (uint)i+size > proc->sz) sz 53 sysproc.c addr = proc->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 182 vm.c inituvm(pde_t *pgdir, char *init, uint sz) sz 186 vm.c if(sz >= PGSIZE) sz 191 vm.c memmove(mem, init, sz); sz 197 vm.c loaduvm(pde_t *pgdir, char *addr, struct inode *ip, uint offset, uint sz) sz 204 vm.c for(i = 0; i < sz; i += PGSIZE){ sz 208 vm.c if(sz - i < PGSIZE) sz 209 vm.c n = sz - i; sz 310 vm.c copyuvm(pde_t *pgdir, uint sz) sz 319 vm.c for(i = 0; i < sz; i += PGSIZE){