Home
last modified time | relevance | path

Searched refs:memoryf (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/cdt/
H A Ddtdisc.c65 if(!(dt->memoryf = disc->memoryf) )
66 dt->memoryf = dtmemory;
81 if(!(dt->memoryf = disc->memoryf) )
82 dt->memoryf = dtmemory;
H A Ddtnew.c49 memoryf(Dt_t* dt, void* addr, size_t size, Dtdisc_t* disc) in memoryf() function
67 if (!dc.ndisc.memoryf) in _dtnew()
68 dc.ndisc.memoryf = memoryf; in _dtnew()
H A Ddthash.c72 if(!(htbl = (Dtlink_t**)(*dt->memoryf)(dt, 0, n*sizeof(Dtlink_t*), disc)) ) in htable()
88 (void)(*dt->memoryf)(dt, hash->htbl, 0, disc); in htable()
393 if(!(hash = (Dthash_t*)(*dt->memoryf)(dt, 0, sizeof(Dthash_t), dt->disc)) ) in hashevent()
407 (void)(*dt->memoryf)(dt, hash->htbl, 0, dt->disc); in hashevent()
408 (void)(*dt->memoryf)(dt, hash, 0, dt->disc); in hashevent()
H A Ddtopen.c135 if((h = (Dthold_t*)(dt->memoryf)(dt, NIL(Void_t*), sizeof(Dthold_t), disc)) ) in _dtmake()
154 (void)(*dt->memoryf)(dt, (Void_t*)l, 0, disc); in _dtfree()
H A Ddtlist.c351 if(!(list = (Dtlist_t*)(*dt->memoryf)(dt, 0, sizeof(Dtlist_t), dt->disc)) )
364 (void)(*dt->memoryf)(dt, (Void_t*)list, 0, dt->disc);
H A Ddttree.c646 if(!(tree = (Dttree_t*)(*dt->memoryf)(dt, 0, sizeof(Dttree_t), dt->disc)) ) in treeevent()
659 (void)(*dt->memoryf)(dt, (Void_t*)tree, 0, dt->disc); in treeevent()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/vmalloc/
H A Dvmprivate.c73 { addr = (Vmuchar_t*)(*vm->disc->memoryf)(vm,seg->addr,seg->extent,
81 { if(!(addr = (Vmuchar_t*)(*vm->disc->memoryf)(vm, NIL(Void_t*), 0, size, vm->disc)) )
198 reg Vmemory_f memoryf = vm->disc->memoryf; local
217 (*memoryf)(vm,caddr,seg->extent,seg->extent-less,vm->disc) != caddr)
241 if((*memoryf)(vm,caddr,seg->extent,0,vm->disc) == caddr)
H A Dvmclose.c76 else (*disc->memoryf)(vm,seg->addr,seg->extent,0,disc);
79 (*disc->memoryf)(vm,vmseg->addr,vmseg->extent,0,disc);
H A Dvmopen.c73 if(!meth || !disc || !disc->memoryf )
107 if(!(addr = (Vmuchar_t*)(*disc->memoryf)(vmp, NIL(Void_t*), 0, size, disc)) )
163 (void)(*disc->memoryf)(vmp, addr, size, 0, disc);
H A Dvmlast.c202 addr = (*vm->disc->memoryf)(vm, seg->addr, seg->extent,
H A Dvmmopen.c407 mmdc->disc.memoryf = mmgetmem;
H A Dvmbest.c908 if((*vm->disc->memoryf)(vm,seg->addr,seg->extent,seg->extent+s,
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dcdt.h126 Dtmemory_f memoryf;/* to allocate/free memory */ member
134 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
147 Dtmemory_f memoryf;/* for memory allocation */ member
H A Dvmalloc.h63 { Vmemory_f memoryf; /* memory manipulator */ member