Searched refs:Block_t (Results 1 - 10 of 10) sorted by relevance

/ast/src/lib/libast/vmalloc/
H A Dvmclear.c42 Block_t *tp;
48 vd->free = vd->wild = NIL(Block_t*);
52 { vd->root = NIL(Block_t*);
54 TINY(vd)[s] = NIL(Block_t*);
56 CACHE(vd)[s] = NIL(Block_t*);
H A Dvmbest.c50 static int vmintree(Block_t* node, Block_t* b)
53 Block_t* node;
54 Block_t* b;
56 { Block_t* t;
69 static int vmonlist(Block_t* list, Block_t* b)
72 Block_t* list;
73 Block_t* b;
84 static int vmisfree(Vmdata_t* vd, Block_t*
[all...]
H A Dvmhdr.h99 typedef struct _block_s Block_t; typedef in typeref:struct:_block_s
205 ** of Block_t will always be 0%(BITS+1) as noted above.
221 Block_t* block;
241 Block_t* link; /* possible link list usage */
247 Block_t* link; /* possible link list usage */
259 { Block_t* link; /* next in link list */
260 Block_t* left; /* left child in free tree */
261 Block_t* right; /* right child in free tree */
262 Block_t** self; /* self pointer when free */
269 Block_t* sel
[all...]
H A Dvmlast.c44 Block_t *tp, *next;
73 { next = (Block_t*)((Vmuchar_t*)tp+size);
78 else seg->free = NIL(Block_t*);
101 Block_t *fp;
121 vd->free = NIL(Block_t*);
122 fp = (Block_t*)data;
126 seg->last = NIL(Block_t*);
145 Block_t *tp;
194 seg->free = NIL(Block_t*);
230 { tp = (Block_t*)dat
[all...]
H A Dvmprivate.c40 static Block_t* _vmextend(reg Vmalloc_t* vm, size_t size, Vmsearch_f searchf )
42 static Block_t* _vmextend(vm, size, searchf )
50 reg Block_t *bp, *tp, *np;
60 s = size + sizeof(Seg_t) + sizeof(Block_t) + sizeof(Head_t) + 2*ALIGN;
62 return NIL(Block_t*);
64 return NIL(Block_t*);
88 return NIL(Block_t*);
106 vd->wild = NIL(Block_t*);
114 seg->free = NIL(Block_t*);
139 seg->free = NIL(Block_t*);
[all...]
H A Dvmpool.c50 reg Block_t *tp, *next;
74 for(tp = NIL(Block_t*), seg = vd->seg; seg; seg = seg->next)
88 next = (Block_t*)((Vmuchar_t*)tp+size);
94 next = (Block_t*)((Vmuchar_t*)next + size);
96 seg->free = NIL(Block_t*);
122 Block_t *bp, *tp;
140 tp = (Block_t*)(laddr + (((Vmuchar_t*)addr-laddr)/size)*size );
167 Block_t *bp;
178 bp = (Block_t*)data;
252 Block_t *f
[all...]
H A Dvmopen.c52 Block_t block[16]; /* space for a few blocks */
68 Block_t *bp, *np;
118 vd->free = vd->wild = NIL(Block_t*);
122 vd->root = NIL(Block_t*);
124 TINY(vd)[k] = NIL(Block_t*);
126 CACHE(vd)[k] = NIL(Block_t*);
138 seg->free = NIL(Block_t*);
H A Dvmstat.c45 Block_t *b, *endb;
110 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
H A Dvmdebug.c272 reg Block_t *b, *endb;
280 b = endb = NIL(Block_t*);
283 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
313 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
331 Block_t *b, *endb;
341 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
352 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );
567 reg Block_t *b, *endb;
574 { if(_vmbestcheck(vd, NIL(Block_t*)) < 0)
584 endb = (Block_t*)(se
[all...]
H A Dvmtrace.c260 { Block_t *b, *endb;
279 b = (Block_t*)((Vmuchar_t*)DATA(b) + (SIZE(b)&~BITS) );

Completed in 20 milliseconds