Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dvmalloc.h143 extern Vmalloc_t* Vmregion; /* malloc region */
254 #define malloc(s) (_VMFL_(Vmregion), _ast_malloc((size_t)(s)) )
255 #define realloc(d,s) (_VMFL_(Vmregion), _ast_realloc((Void_t*)(d),(size_t)(s)) )
256 #define calloc(n,s) (_VMFL_(Vmregion), _ast_calloc((size_t)n, (size_t)(s)) )
257 #define free(d) (_VMFL_(Vmregion), _ast_free((Void_t*)(d)) )
258 #define memalign(a,s) (_VMFL_(Vmregion), _ast_memalign((size_t)(a),(size_t)(s)) )
259 #define valloc(s) (_VMFL_(Vmregion), _ast_valloc((size_t)(s) )
267 #define malloc(s) (_VMFL_(Vmregion), malloc((size_t)(s)) )
268 #define realloc(d,s) (_VMFL_(Vmregion), realloc((Void_t*)(d),(size_t)(s)) )
269 #define calloc(n,s) (_VMFL_(Vmregion), calloc((size_t)n, (size_t)(s)) )
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dmalloc.c240 Vmregion->meth.meth == VM_MTDEBUG) \
241 vmdbcheck(Vmregion); \
257 VMFLF(Vmregion,file,line,func); in vmflinit()
263 Vmregion->file = file; in vmflinit()
264 Vmregion->line = line; in vmflinit()
265 Vmregion->func = func; in vmflinit()
301 if(vmstat(Vmregion, st) < 0) /* add up all stats */ in _mallocstat()
336 if(CAUTIOUS || Vmregion->meth.meth != VM_MTBEST ) in regionof()
338 if(vmaddr(Vmregion,addr) == 0 ) in regionof()
339 return Vmregion; in regionof()
[all …]
H A Dvmstat.c50 return (vm ? vm : Vmregion)->data->lock;
H A Dvmdebug.c704 vmstat(vm ? vm : Vmregion, &st);
H A Dvmbest.c1386 __DEFINE__(Vmalloc_t*, Vmregion, &_Vmheap);
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dmemfatal.c78 if (disc = vmdisc(Vmregion, NiL)) in memfatal()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Dvmalloc.h55 extern Vmalloc_t* Vmregion;
H A Dvmalloc.c31 Vmalloc_t* Vmregion; variable
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dpplib.h847 #define free(p) vmfree(Vmregion,(void*)p)
849 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x)
851 #define oldof(p,t,n,x) vmoldof(Vmregion,p,t,n,x)
853 #define strdup(s) vmstrdup(Vmregion,s)
H A DRELEASE106 02-01-24 pplib.h: use vmalloc(Vmregion) if _std_malloc
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/include/
H A Djobs.h141 #define vmbusy() vmlocked(Vmregion)
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dfault.c162 Vmdisc_t* dp = vmdisc(Vmregion,0); in sh_fault()
/illumos-gate/usr/src/cmd/ast/libast/
H A Dmapfile-vers1041 Vmregion {