Lines Matching defs:vm
25 Void_t* memory(Vmalloc_t* vm, Void_t* caddr,
28 Void_t* memory(vm, caddr, oldsize, newsize, disc)
29 Vmalloc_t* vm;
51 Vmalloc_t* vm;
54 if(!(vm = vmopen(&Disc,Vmpool,0)) )
58 { addr[i] = vmalloc(vm,15);
64 if(vmfree(vm,addr[i]) < 0)
68 addr[i] = vmalloc(vm,15);
70 if(vmresize(vm,addr[0],16,1) != NIL(Void_t*))
73 vmfree(vm,addr[0]);
74 if(vmsize(vm,addr[0]) >= 0)
77 if(vmsize(vm,addr[9]) != 15)
82 printf("size[%d]=%d\n",i,vmsize(vm,addr[i]));
83 printf("vmextent=%d\n",vmsize(vm,NIL(Void_t*)));