mem 1739 usertests.c mem(); mem 184 vm.c char *mem; mem 188 vm.c mem = kalloc(); mem 189 vm.c memset(mem, 0, PGSIZE); mem 190 vm.c mappages(pgdir, 0, PGSIZE, v2p(mem), PTE_W|PTE_U); mem 191 vm.c memmove(mem, init, sz); mem 223 vm.c char *mem; mem 233 vm.c mem = kalloc(); mem 234 vm.c if(mem == 0){ mem 239 vm.c memset(mem, 0, PGSIZE); mem 240 vm.c mappages(pgdir, (char*)a, PGSIZE, v2p(mem), PTE_W|PTE_U); mem 315 vm.c char *mem; mem 326 vm.c if((mem = kalloc()) == 0) mem 328 vm.c memmove(mem, (char*)p2v(pa), PGSIZE); mem 329 vm.c if(mappages(d, (void*)i, PGSIZE, v2p(mem), flags) < 0)