Lines Matching refs:Vmregion
97 ** abort if Vmregion==Vmdebug then VM_DBABORT is set,
101 ** check if Vmregion==Vmbest then the region is checked every op
105 ** method=m sets Vmregion=m if not defined, m (Vm prefix optional)
108 ** period=n sets Vmregion=Vmdebug if not defined, if
109 ** Vmregion==Vmdebug the region is checked every n ops
110 ** profile=f sets Vmregion=Vmprofile if not set, if
111 ** Vmregion==Vmprofile then profile info printed to file f
112 ** start=n sets Vmregion=Vmdebug if not defined, if
113 ** Vmregion==Vmdebug region checking starts after n ops
115 ** warn=f sets Vmregion=Vmdebug if not defined, if
116 ** Vmregion==Vmdebug then warnings printed to file f
117 ** watch=a sets Vmregion=Vmdebug if not defined, if
118 ** Vmregion==Vmdebug then address a is watched
240 Vmregion->meth.meth == VM_MTDEBUG) \
241 vmdbcheck(Vmregion); \
257 VMFLF(Vmregion,file,line,func);
263 Vmregion->file = file;
264 Vmregion->line = line;
265 Vmregion->func = func;
301 if(vmstat(Vmregion, st) < 0) /* add up all stats */
336 if(CAUTIOUS || Vmregion->meth.meth != VM_MTBEST )
338 if(vmaddr(Vmregion,addr) == 0 )
339 return Vmregion;
348 if(Vmregion->data == vd )
349 return Vmregion;
427 Vmregion->data->lock = 1;
428 return Vmregion;
430 else if(asocasint(&Vmregion->data->lock, 0, 1) == 0 )
431 { /* Vmregion is open, so use it */
434 return Vmregion;
470 else Region[p] = Vmregion; /* better than nothing */
474 vm = Region[pos] ? Region[pos] : Vmregion;
545 { if(vm == Vmregion && vm != Vmheap) /* no multiple region usage here */
554 else if(Regmax > 0 && Vmregion == Vmheap && (addr = malloc(size)) )
596 if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free))
752 VMFLF(Vmregion,file,line,func); /* save info before freeing frames */
765 Vmregion->file = file; /* restore file/line info before allocation */
766 Vmregion->line = line;
767 Vmregion->func = func;
769 f = (Alloca_t*)(*Vmregion->meth.allocf)(Vmregion, size+sizeof(Alloca_t)-1, 0);
955 if(vmstat(Vmregion,&sb) >= 0)
977 if(vmstat(Vmregion,&sb) >= 0)
1254 if(Vmregion->meth.meth == VM_MTPROFILE)
1255 vmprofile(Vmregion,_Vmpffd);
1412 Vmregion = vm;
1422 vmset(Vmregion, VM_TRACE, 1);
1426 else if (Vmregion != Vmheap || asometh(0, 0)->type == ASO_SIGNAL)