Searched refs:Vmdisc_t (Results 1 – 12 of 12) sorted by relevance
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmdisc.c | 37 Vmdisc_t* vmdisc(Vmalloc_t* vm, Vmdisc_t* disc) in vmdisc() 39 Vmdisc_t* vmdisc(vm, disc) in vmdisc() 41 Vmdisc_t* disc; 44 Vmdisc_t* old = vm->disc; 49 return NIL(Vmdisc_t*);
|
H A D | vmdcheap.c | 37 Vmdisc_t* disc) in heapmem() 44 Vmdisc_t* disc; /* discipline structure */ 56 static Vmdisc_t _Vmdcheap = { heapmem, NIL(Vmexcept_f), 0 }; 57 __DEFINE__(Vmdisc_t*,Vmdcheap,&_Vmdcheap);
|
H A D | vmmopen.c | 99 { Vmdisc_t disc; /* Vmalloc discipline */ 301 size_t csize, size_t nsize, Vmdisc_t* disc) in mmgetmem() 308 Vmdisc_t* disc; 335 static int mmexcept(Vmalloc_t* vm, int type, Void_t* data, Vmdisc_t* disc) in mmexcept() 341 Vmdisc_t* disc;
|
H A D | vmopen.c | 56 Vmalloc_t* vmopen(Vmdisc_t* disc, Vmethod_t* meth, int mode) in vmopen() 59 Vmdisc_t* disc; /* discipline to get segments */ in vmopen()
|
H A D | vmbest.c | 1221 { Vmdisc_t disc; 1296 static Void_t* getmemory(Vmalloc_t* vm, Void_t* caddr, size_t csize, size_t nsize, Vmdisc_t* disc) in getmemory() 1337 static Vmdisc_t _Vmdcsystem = { getmemory, NIL(Vmexcept_f), 0, sizeof(Vmdisc_t) }; 1380 (Vmdisc_t*)(&_Vmdcsystem), /* disc */ 1388 __DEFINE__(Vmdisc_t*, Vmdcsystem, (Vmdisc_t*)(&_Vmdcsystem) ); 1389 __DEFINE__(Vmdisc_t*, Vmdcsbrk, (Vmdisc_t*)(&_Vmdcsystem) );
|
H A D | vmwalk.c | 36 int vmwalk(Vmalloc_t* vm, int(*segf)(Vmalloc_t*, Void_t*, size_t, Vmdisc_t*, Void_t*), Void_t* hand… in vmwalk() argument
|
H A D | vmclose.c | 44 Vmdisc_t* disc = vm->disc;
|
H A D | malloc.c | 400 { Vmdisc_t disc; 404 static int regexcept(Vmalloc_t* vm, int type, Void_t* data, Vmdisc_t* disc) in regexcept()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/ |
H A D | vmalloc.h | 40 typedef struct _vmdisc_s Vmdisc_t; typedef 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*)); 85 Vmdisc_t* disc; /* discipline to get space */ 137 extern Vmdisc_t* Vmdcsystem; /* get memory from the OS */ 138 extern Vmdisc_t* Vmdcheap; /* get memory from Vmheap */ 139 extern Vmdisc_t* Vmdcsbrk; /* like Vmdcsystem - legacy use */ 153 extern Vmalloc_t* vmopen _ARG_(( Vmdisc_t*, Vmethod_t*, int )); 158 extern Vmdisc_t* vmdisc _ARG_(( Vmalloc_t*, Vmdisc_t* )); 190 int(*)(Vmalloc_t*,Void_t*,size_t,Vmdisc_t*,Void_t*), Void_t*));
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | memfatal.c | 48 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) in nomalloc() 75 Vmdisc_t* disc; in memfatal()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | vmstate.c | 137 visit(Vmalloc_t* vm, void* addr, size_t size, Vmdisc_t* disc, void* handle) in visit()
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | fault.c | 52 static int malloc_done(Vmalloc_t* vm, int type, Void_t* val, Vmdisc_t* dp) in malloc_done() 162 Vmdisc_t* dp = vmdisc(Vmregion,0); in sh_fault()
|