Lines Matching refs:Block_t
99 typedef struct _block_s Block_t;
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* self[1];
275 ** and sizeof(Block_t) = sizeof(Head_t)+sizeof(Body_t)
284 { Block_t* link;
285 Block_t* self;
311 Block_t* free; /* most recent free block */
312 Block_t* wild; /* wilderness block */
313 Block_t* root; /* root of free tree */
314 Block_t* tiny[S_TINY]; /* small blocks */
315 Block_t* cache[S_CACHE+1]; /* delayed free blocks */
335 Block_t* free; /* recent free blocks */
336 Block_t* last; /* Vmlast last-allocated block */
340 #define SEGBLOCK(s) ((Block_t*)(((Vmuchar_t*)(s)) + ROUND(sizeof(Seg_t),ALIGN)))
352 #define BLOCK(d) ((Block_t*)((char*)(d) - sizeof(Head_t)) )
353 #define SELF(b) (b)->body.self[SIZE(b)/sizeof(Block_t*)-1]
354 #define LAST(b) (*((Block_t**)(((char*)(b)) - sizeof(Block_t*)) ) )
355 #define NEXT(b) ((Block_t*)((b)->body.data + SIZE(b)) )
361 ((((t) = LINK(b)) ? (LEFT(t) = LEFT(b)) : NIL(Block_t*) ), \
418 #define DBBLOCK(d) ((Block_t*)((Vmuchar_t*)(d) - 3*sizeof(Head_t)) )
447 typedef Block_t* (*Vmsearch_f)_ARG_((Vmdata_t*, size_t, Block_t*));
449 { Block_t* (*vm_extend)_ARG_((Vmalloc_t*, size_t, Vmsearch_f ));
475 extern int _vmbestcheck _ARG_((Vmdata_t*, Block_t*));