Home
last modified time | relevance | path

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

12

/titanic_51/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
55 * open a dictionary using disc->memoryf if set or vm otherwise
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.c61 dtdisc(&pdt,disc,0); /* note that this sets pdt.memoryf */
135 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()
/titanic_51/usr/src/lib/libast/common/cdt/
H A Ddtdisc.c67 if(!(dt->memoryf = disc->memoryf) )
68 dt->memoryf = dtmemory;
83 if(!(dt->memoryf = disc->memoryf) )
84 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 Ddtclose.c56 (*dt->memoryf)(dt,(Void_t*)dt->data->htab,0,disc);
57 (*dt->memoryf)(dt,(Void_t*)dt->data,0,disc);
63 (*dt->memoryf)(dt, (Void_t*)dt, 0, disc);
H A Ddtopen.c71 if(!disc->memoryf)
75 if(!(dt = (*disc->memoryf)(0, 0, sizeof(Dt_t), disc)) )
88 if(!(data = (Dtdata_t*)(dt->memoryf)(dt,NIL(Void_t*),sizeof(Dtdata_t),disc)) )
H A Ddthash.c75 if(!(s = (Dtlink_t**)(*dt->memoryf)(dt,olds,n*sizeof(Dtlink_t*),dt->disc)) )
142 (*dt->memoryf)(dt,(Void_t*)t,0,disc);
245 { r = (Dtlink_t*)(*dt->memoryf)
266 (*disc->memoryf)(dt,(Void_t*)r,0,disc);
327 (*dt->memoryf)(dt,(Void_t*)r,0,disc);
351 (*dt->memoryf)(dt,(Void_t*)t,0,disc);
H A Ddtlist.c69 (*dt->memoryf)(dt,(Void_t*)r,0,disc);
86 { r = (Dtlink_t*)(*dt->memoryf)
171 (*dt->memoryf)(dt,(Void_t*)r,0,disc);
H A Ddttree.c67 (*dt->memoryf)(dt,(Void_t*)root,0,disc);
291 (*dt->memoryf)(dt,(Void_t*)root,0,disc);
311 (*dt->memoryf)(dt,(Void_t*)me,0,disc);
347 { root = (Dtlink_t*)(*dt->memoryf)
H A Ddtmethod.c57 (*dt->memoryf)(dt,(Void_t*)dt->data->htab,0,disc);
/titanic_51/usr/src/lib/libast/common/vmalloc/
H A Dvmprivate.c52 reg Vmemory_f memoryf = vm->disc->memoryf; local
87 addr = (Vmuchar_t*)(*memoryf)(vm,seg->addr,seg->extent,
99 { if((addr = (Vmuchar_t*)(*memoryf)(vm,NIL(Void_t*),0,size,vm->disc)) )
223 reg Vmemory_f memoryf = vm->disc->memoryf; local
242 (*memoryf)(vm,caddr,seg->extent,seg->extent-less,vm->disc) != caddr)
266 if((*memoryf)(vm,caddr,seg->extent,0,vm->disc) == caddr)
H A Dvmdisc.c47 { if(disc->memoryf != old->memoryf)
H A Dvmopen.c62 reg Vmemory_f memoryf; local
65 if(!meth || !disc || !(memoryf = disc->memoryf) )
109 if(!(addr = (Vmuchar_t*)(*memoryf)(vm,NIL(Void_t*),0,s,disc)) )
H A Dvmclose.c77 else (*vm->disc->memoryf)(vm,seg->addr,seg->extent,0,vm->disc);
80 (*vm->disc->memoryf)(vm,vmseg->addr,vmseg->extent,0,vm->disc);
/titanic_51/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 )
91 { if(addr) /* vm itself is in memory from disc->memoryf */
97 size = -1; /* to tell that addr was not from 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);
/titanic_51/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
/titanic_51/usr/src/lib/libast/common/include/
H A Dcdt.h98 Dtmemory_f memoryf;/* to allocate/free memory */ member
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
119 Dtmemory_f memoryf;/* function to alloc/free memory */ member
/titanic_51/usr/src/lib/libast/i386/include/ast/
H A Dcdt.h98 Dtmemory_f memoryf;/* to allocate/free memory */ member
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
119 Dtmemory_f memoryf;/* function to alloc/free memory */ member
/titanic_51/usr/src/lib/libast/amd64/include/ast/
H A Dcdt.h98 Dtmemory_f memoryf;/* to allocate/free memory */ member
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
119 Dtmemory_f memoryf;/* function to alloc/free memory */ member
/titanic_51/usr/src/lib/libast/sparcv9/include/ast/
H A Dcdt.h98 Dtmemory_f memoryf;/* to allocate/free memory */ member
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
119 Dtmemory_f memoryf;/* function to alloc/free memory */ member
/titanic_51/usr/src/lib/libast/sparc/include/ast/
H A Dcdt.h98 Dtmemory_f memoryf;/* to allocate/free memory */ member
106 (dc)->memoryf = (memf), (dc)->eventf = (evf) )
119 Dtmemory_f memoryf;/* function to alloc/free memory */ member

12