Lines Matching refs:vm
26 Void_t* memory(Vmalloc_t* vm, Void_t* caddr,
29 Void_t* memory(vm, caddr, oldsize, newsize, disc)
30 Vmalloc_t* vm;
52 Vmalloc_t* vm;
55 if(!(vm = vmopen(&Disc,Vmbest,0)) )
59 { addr[i] = vmalloc(vm,15);
65 if(vmfree(vm,addr[i]) < 0)
68 if(!(addr[0] = vmalloc(vm,30)) )
72 addr[i] = vmalloc(vm,15);
74 if(vmresize(vm,addr[0],16,1) != addr[0])
79 printf("size[%d]=%d\n",i,vmsize(vm,addr[i]));
80 printf("vmextent=%d\n",vmsize(vm,NIL(Void_t*)));