Lines Matching defs:vd
52 reg Vmdata_t* vd = vm->data;
56 if(vd->incr <= 0) /* this is just _Vmheap on the first call */
57 vd->incr = _Vmpagesize*sizeof(Void_t*);
63 if((size = ROUND(s,vd->incr)) < s)
67 if(size > 2*vd->incr && vm->disc->round < vd->incr)
68 vd->incr *= 2;
70 if(!(seg = vd->seg) ) /* there is no current segment */
96 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE) )
105 if(bp == vd->wild)
106 vd->wild = NIL(Block_t*);
107 else REMOVE(vd,bp,INDEX(SIZE(bp)),tp,(*searchf));
135 seg->vmdt = vd;
149 sp = vd->seg;
150 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE))
157 else vd->seg = seg;
168 if((tp = vd->wild) && (seg = SEG(tp)) != vd->seg)
171 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE) )
173 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))];
174 CACHE(vd)[C_INDEX(SIZE(tp))] = tp;
178 vd->wild = NIL(Block_t*);
197 reg Vmdata_t* vd = vm->data;
211 less = (less/vd->incr)*vd->incr;
213 less = less <= (ssize_t)vd->incr ? 0 : less - vd->incr;
230 if(seg == vd->seg)
231 { vd->seg = seg->next;
235 { for(last = vd->seg; last->next != seg; last = last->next)
250 { seg->next = vd->seg;
251 vd->seg = seg;