mem               220 kernel/vm.c      char *mem;
mem               224 kernel/vm.c      mem = kalloc();
mem               225 kernel/vm.c      memset(mem, 0, PGSIZE);
mem               226 kernel/vm.c      mappages(pagetable, 0, PGSIZE, (uint64)mem, PTE_W|PTE_R|PTE_X|PTE_U);
mem               227 kernel/vm.c      memmove(mem, src, sz);
mem               235 kernel/vm.c      char *mem;
mem               243 kernel/vm.c        mem = kalloc();
mem               244 kernel/vm.c        if(mem == 0){
mem               248 kernel/vm.c        memset(mem, 0, PGSIZE);
mem               249 kernel/vm.c        if(mappages(pagetable, a, PGSIZE, (uint64)mem, PTE_R|PTE_U|xperm) != 0){
mem               250 kernel/vm.c          kfree(mem);
mem               318 kernel/vm.c      char *mem;
mem               327 kernel/vm.c        if((mem = kalloc()) == 0)
mem               329 kernel/vm.c        memmove(mem, (char*)pa, PGSIZE);
mem               330 kernel/vm.c        if(mappages(new, i, PGSIZE, (uint64)mem, flags) != 0){
mem               331 kernel/vm.c          kfree(mem);
mem              2620 user/usertests.c   {mem, "mem"},