Searched refs:Vmregion (Results 1 - 17 of 17) sorted by relevance

/ast/src/cmd/tests/vmalloc/
H A Dtrandom.c65 if(!(huge = vmalloc(Vmregion, hugesz)) )
75 vmfree(Vmregion, o->obj);
78 if(!(o->obj = vmresize(Vmregion,o->obj,o->size,VM_RSMOVE)) )
86 { if(vmstat(Vmregion, &sb) < 0)
91 if(vmcompact(Vmregion) < 0 )
93 if(vmstat(Vmregion, &sb) < 0)
102 if(!(huge = vmresize(Vmregion, huge, hugesz, VM_RSMOVE)) )
108 if(!(o->obj = vmalloc(Vmregion, o->size)) )
114 if(vmdbcheck(Vmregion) < 0)
117 if(vmstat(Vmregion,
[all...]
/ast/src/lib/libast/include/
H A Dvmalloc.h55 int n_region; /* #parallel regions (Vmregion) */
143 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), reallo
[all...]
/ast/src/lib/libast/vmalloc/
H A Dmalloc.c97 ** 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
[all...]
H A Dvmstat.c50 return (vm ? vm : Vmregion)->data->lock;
H A Dvmdebug.c694 /* print statistics of region vm. If vm is NULL, use Vmregion */
704 vmstat(vm ? vm : Vmregion, &st);
H A Dvmbest.c1385 __DEFINE__(Vmalloc_t*, Vmregion, &_Vmheap);
/ast/src/lib/libast/astsa/
H A Dvmalloc.h55 extern Vmalloc_t* Vmregion;
H A Dvmalloc.c31 Vmalloc_t* Vmregion; variable
/ast/src/lib/libast/disc/
H A Dmemfatal.c78 if (disc = vmdisc(Vmregion, NiL))
/ast/src/cmd/ksh93/include/
H A Djobs.h141 #define vmbusy() vmlocked(Vmregion)
/ast/src/lib/libvcodex/
H A Dvcbuffer.c40 /**/DEBUG_DECLARE(Vmstat_t, statb); DEBUG_ASSERT(vmstat(Vmregion, &statb) >= 0);
/ast/src/lib/libpp/
H A Dpplib.h857 #define free(p) vmfree(Vmregion,(void*)p)
859 #define newof(p,t,n,x) vmnewof(Vmregion,p,t,n,x)
861 #define oldof(p,t,n,x) vmoldof(Vmregion,p,t,n,x)
863 #define strdup(s) vmstrdup(Vmregion,s)
/ast/src/cmd/dsslib/ip_t/
H A Ditlie.h258 vm = Vmregion;
H A Dip_t.c159 vm = Vmregion;
197 vm = Vmregion;
574 vm = Vmregion;
612 vm = Vmregion;
/ast/src/cmd/ksh93/sh/
H A Dfault.c162 Vmdisc_t* dp = vmdisc(Vmregion,0);
/ast/src/cmd/kshlib/dss/
H A Ddss.c890 if((*tp->type->internalf)(tp->cx, tp->type, NiL, NiL, &cop, val, size, Vmregion, &Dssdisc) <0)
/ast/src/lib/libdss/
H A Dcxopen.c328 vm = Vmregion;

Completed in 150 milliseconds