Home
last modified time | relevance | path

Searched refs:_Vmassert (Results 1 – 13 of 13) sorted by relevance

/dports/shells/ast-ksh/ast-ksh93v/src/lib/libast/vmalloc/
H A Dvmdcsystem.c62 if(_Vmassert & VM_verbose) debug_printf(2,"vmalloc: getmemory=%s\n",XTR(getmem)); \
108 if ((a) && (_Vmassert & VM_usage)) \
211 { if(_Vmchkmem && (_Vmassert & VM_check_seg)) /* mmap must use MAP_FIXED (eg, solaris) */ in safebrkmem()
287 if((_Vmassert & VM_safe) && (addr = safebrkmem(vm, caddr, csize, nsize, disc))) in getmemory()
293 if((_Vmassert & VM_anon) && (addr = mmapanonmem(vm, caddr, csize, nsize, disc))) in getmemory()
299 if((_Vmassert & VM_break) && (addr = sbrkmem(vm, caddr, csize, nsize, disc))) in getmemory()
311 if((_Vmassert & VM_native) && (addr = mallocmem(vm, caddr, csize, nsize, disc))) in getmemory()
365 vm_assert = _Vmassert; in _vmheapinit()
366 _Vmassert &= ~(VM_usage); in _vmheapinit()
368 _Vmassert = vm_assert; in _vmheapinit()
[all …]
H A Dmalloc.c408 _Vmassert |= b; in _vmoptions()
410 _Vmassert &= ~b; in _vmoptions()
415 _Vmassert |= VM_debug; in _vmoptions()
465 _Vmassert |= b; in _vmoptions()
467 _Vmassert &= ~b; in _vmoptions()
472 _Vmassert |= VM_keep; in _vmoptions()
543 _Vmassert |= VM_usage; in _vmoptions()
547 _Vmassert |= VM_verbose; in _vmoptions()
584 _Vmassert |= VM_GETMEMORY; in _vmoptions()
1304 _Vmassert |= VM_keep;
[all …]
H A Dvmbest.c167 if(_Vmassert & VM_check_reg) in chktree()
209 if(!local && (_Vmassert & VM_check_reg) ) in chkregion()
239 { int save = _Vmassert; _Vmassert |= VM_check_reg; in bestfree()
241 _Vmassert = save; in bestfree()
351 …if(_Vmassert & VM_debug) debug_printf(2, "%s:%d: PACK(%p) WILD(%p)=%zd\n", __FILE__, __LINE__, pac… in bestpackextend()
353 …if((_Vmassert & VM_debug) && (Vmuchar_t*)wild > ((Vmuchar_t*)ENDB(pblk) - sizeof(Head_t))) /* heis… in bestpackextend()
355 …if(_Vmassert & VM_debug) debug_printf(2, "%s:%d: PACK(%p) WILD(%p)=%zd\n", __FILE__, __LINE__, pac… in bestpackextend()
368 if(_Vmassert & 1) in bestpackextend()
595 …{ if(_Vmassert & VM_debug) debug_printf(2, "%s:%d: PACK(%p) WILD(%p)=%zd orphaned wild\n", __FILE_… in bestpackalloc()
638 if((_Vmassert & 2) && pack->wild) in bestpackalloc()
[all …]
H A Dvmopen.c133 if (_Vmassert & 0x10)
135 else if (!(_Vmassert & 0x20))
H A Dvmhdr.h157 #define ABORT() ((_Vmassert & VM_abort) )
158 #define PAUSE() ((_Vmassert & VM_pause) )
421 #define _Vmassert (_Vmextern.vm_assert) macro
H A Dvmmaddress.c71 if (!(_Vmassert & VM_check_seg)) in _vmchkmem()
H A Dvmsegment.c272 …{ if(_Vmassert & VM_debug) debug_printf(2, "%s:%d: VM_SEGEXTEND: %s\n", __FILE__, __LINE__, "we ha… in _vmsegalloc()
275 …if(_Vmassert & VM_debug) debug_printf(2, "%s:%d: %s\n", __FILE__, __LINE__, "we have met the enemy… in _vmsegalloc()
/dports/shells/ksh93/ast-93u/src/lib/libast/vmalloc/
H A Dmalloc.c592 if(!data || (_Vmassert & VM_keep))
596 if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free))
1319 _Vmassert |= VM_abort; in _vmoptions()
1322 _Vmassert |= VM_break; in _vmoptions()
1325 _Vmassert |= VM_check; in _vmoptions()
1328 _Vmassert |= VM_free; in _vmoptions()
1331 _Vmassert |= VM_keep; in _vmoptions()
1353 _Vmassert |= VM_mmap; in _vmoptions()
1468 r = !!(_Vmassert & VM_keep);
1470 _Vmassert |= VM_keep;
[all …]
H A Dvmhdr.h142 #define ABORT() (_Vmassert & VM_abort)
143 #define CHECK() (_Vmassert & VM_check)
470 #define _Vmassert (_Vmextern.vm_assert) macro
H A Dvmbest.c782 { _Vmassert |= VM_check;
785 _Vmassert &= ~VM_check;
1308 if((_Vmassert & VM_break) && (addr = sbrkmem(caddr, csize, nsize)) ) in getmemory()
1310 …if(((_Vmassert & VM_break) || !(_Vmassert & VM_mmap) && !asoinit(0, 0, 0)) && (addr = sbrkmem(cadd… in getmemory()
1323 if(!(_Vmassert & VM_break) && (addr = sbrkmem(caddr, csize, nsize)) ) in getmemory()
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libast/vmalloc/
H A Dmalloc.c592 if(!data || (_Vmassert & VM_keep))
596 if(vm == Vmregion && Vmregion != Vmheap || (_Vmassert & VM_free))
1319 _Vmassert |= VM_abort; in _vmoptions()
1322 _Vmassert |= VM_break; in _vmoptions()
1325 _Vmassert |= VM_check; in _vmoptions()
1328 _Vmassert |= VM_free; in _vmoptions()
1331 _Vmassert |= VM_keep; in _vmoptions()
1353 _Vmassert |= VM_mmap; in _vmoptions()
1468 r = !!(_Vmassert & VM_keep);
1470 _Vmassert |= VM_keep;
[all …]
H A Dvmhdr.h142 #define ABORT() (_Vmassert & VM_abort)
143 #define CHECK() (_Vmassert & VM_check)
470 #define _Vmassert (_Vmextern.vm_assert) macro
H A Dvmbest.c782 { _Vmassert |= VM_check;
785 _Vmassert &= ~VM_check;
1308 if((_Vmassert & VM_break) && (addr = sbrkmem(caddr, csize, nsize)) ) in getmemory()
1310 …if(((_Vmassert & VM_break) || !(_Vmassert & VM_mmap) && !asoinit(0, 0, 0)) && (addr = sbrkmem(cadd… in getmemory()
1323 if(!(_Vmassert & VM_break) && (addr = sbrkmem(caddr, csize, nsize)) ) in getmemory()