Lines Matching refs:vd
45 reg Vmdata_t* vd = vm->data; local
48 SETINUSE(vd, inuse);
49 if(!(vd->mode&VM_TRUST) )
50 { if(ISLOCK(vd,0))
51 { CLRINUSE(vd, inuse);
54 SETLOCK(vd,0);
57 vd->free = vd->wild = NIL(Block_t*);
58 vd->pool = 0;
60 if(vd->mode&(VM_MTBEST|VM_MTDEBUG|VM_MTPROFILE) )
61 { vd->root = NIL(Block_t*);
63 TINY(vd)[s] = NIL(Block_t*); local
65 CACHE(vd)[s] = NIL(Block_t*); local
68 for(seg = vd->seg; seg; seg = next)
76 if((vd->mode&(VM_MTLAST|VM_MTPOOL)) )
80 LINK(tp) = CACHE(vd)[C_INDEX(SIZE(tp))];
81 CACHE(vd)[C_INDEX(SIZE(tp))] = tp; local
89 CLRLOCK(vd,0);
90 CLRINUSE(vd, inuse);