Lines Matching defs:Vmalloc_t
38 typedef struct _vmalloc_s Vmalloc_t;
43 typedef Void_t* (*Vmemory_f)_ARG_((Vmalloc_t*, Void_t*, size_t, size_t, Vmdisc_t*));
44 typedef int (*Vmexcept_f)_ARG_((Vmalloc_t*, int, Void_t*, Vmdisc_t*));
70 { Void_t* (*allocf)_ARG_((Vmalloc_t*,size_t,int));
71 Void_t* (*resizef)_ARG_((Vmalloc_t*,Void_t*,size_t,int,int));
72 int (*freef)_ARG_((Vmalloc_t*,Void_t*,int));
73 long (*addrf)_ARG_((Vmalloc_t*,Void_t*,int));
74 long (*sizef)_ARG_((Vmalloc_t*,Void_t*,int));
75 int (*compactf)_ARG_((Vmalloc_t*,int));
76 Void_t* (*alignf)_ARG_((Vmalloc_t*,size_t,size_t,int));
87 Vmalloc_t* next; /* linked list of regions */
141 extern Vmalloc_t _Vmheap; /* heap region - use with care! */
142 extern Vmalloc_t* Vmheap; /* = &_Vmheap - safe to use */
143 extern Vmalloc_t* Vmregion; /* malloc region */
153 extern Vmalloc_t* vmopen _ARG_(( Vmdisc_t*, Vmethod_t*, int ));
154 extern int vmclose _ARG_(( Vmalloc_t* ));
155 extern int vmclear _ARG_(( Vmalloc_t* ));
156 extern int vmcompact _ARG_(( Vmalloc_t* ));
158 extern Vmdisc_t* vmdisc _ARG_(( Vmalloc_t*, Vmdisc_t* ));
160 extern Vmalloc_t* vmmopen _ARG_(( char*, int, ssize_t ));
161 extern Void_t* vmmvalue _ARG_(( Vmalloc_t*, int, Void_t*, int ));
162 extern void vmmrelease _ARG_(( Vmalloc_t*, int ));
165 extern Void_t* vmalloc _ARG_(( Vmalloc_t*, size_t ));
166 extern Void_t* vmalign _ARG_(( Vmalloc_t*, size_t, size_t ));
167 extern Void_t* vmresize _ARG_(( Vmalloc_t*, Void_t*, size_t, int ));
168 extern Void_t* vmgetmem _ARG_(( Vmalloc_t*, Void_t*, size_t ));
169 extern int vmfree _ARG_(( Vmalloc_t*, Void_t* ));
171 extern long vmaddr _ARG_(( Vmalloc_t*, Void_t* ));
172 extern long vmsize _ARG_(( Vmalloc_t*, Void_t* ));
174 extern Vmalloc_t* vmregion _ARG_(( Void_t* ));
175 extern Void_t* vmsegment _ARG_(( Vmalloc_t*, Void_t* ));
176 extern int vmset _ARG_(( Vmalloc_t*, int, int ));
179 extern int vmdbcheck _ARG_(( Vmalloc_t* ));
182 extern int vmprofile _ARG_(( Vmalloc_t*, int ));
185 extern int vmtrbusy _ARG_((Vmalloc_t*));
187 extern int vmstat _ARG_((Vmalloc_t*, Vmstat_t*));
189 extern int vmwalk _ARG_((Vmalloc_t*,
190 int(*)(Vmalloc_t*,Void_t*,size_t,Vmdisc_t*,Void_t*), Void_t*));
191 extern char* vmstrdup _ARG_((Vmalloc_t*, const char*));
209 /* to coerce any value to a Vmalloc_t*, make ANSI happy */
210 #define _VM_(vm) ((Vmalloc_t*)(vm))