Lines Matching refs:vd
53 reg Vmdata_t *vd = vm->data; local
58 if(size != vd->pool)
59 { if(vd->pool <= 0)
60 vd->pool = size;
66 if((tp = vd->free) ) /* there is a ready free block */
67 { vd->free = SEGLINK(tp);
74 for(tp = NIL(Block_t*), seg = vd->seg; seg; seg = seg->next)
80 if((tp = (*_Vmextend)(vm,ROUND(size,vd->incr),NIL(Vmsearch_f))) )
92 SEGLINK(next) = vd->free;
93 vd->free = next;
105 if(!local && (vd->mode&VM_TRACE) && _Vmtrace && tp)
106 (*_Vmtrace)(vm,NIL(Vmuchar_t*),(Vmuchar_t*)tp,vd->pool,0);
127 Vmdata_t* vd = vm->data; local
132 for(seg = vd->seg; seg; seg = seg->next)
139 size = ROUND(vd->pool,ALIGN);
144 for(bp = vd->free; bp; bp = SEGLINK(bp))
168 Vmdata_t *vd = vm->data; local
172 if(vd->pool <= 0)
180 SEGLINK(bp) = vd->free;
181 vd->free = bp;
183 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
184 (*_Vmtrace)(vm, (Vmuchar_t*)data, NIL(Vmuchar_t*), vd->pool, 0);
202 Vmdata_t *vd = vm->data; local
216 if(size != vd->pool)
223 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)
254 Vmdata_t *vd = vm->data; local
258 for(seg = vd->seg; seg; seg = next)
273 if(!local && (vd->mode&VM_TRACE) && _Vmtrace)