Lines Matching refs:Head_t
97 typedef union _head_u Head_t;
219 Head_t* head;
273 ** sizeof(Head_t)%ALIGN == 0
275 ** and sizeof(Block_t) = sizeof(Head_t)+sizeof(Body_t)
278 { Head_t head;
352 #define BLOCK(d) ((Block_t*)((char*)(d) - sizeof(Head_t)) )
378 #define SEGWILD(b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= SEG(b)->baddr)
379 #define VMWILD(vd,b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= vd->seg->baddr)
392 ** So each block requires an extra Head_t.
394 #define PF_EXTRA sizeof(Head_t)
395 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) )
411 ** So for each allocated block, we'll need 3 extra Head_t.
415 #define DB_HEAD (2*sizeof(Head_t))
416 #define DB_TAIL (2*sizeof(Head_t))
418 #define DBBLOCK(d) ((Block_t*)((Vmuchar_t*)(d) - 3*sizeof(Head_t)) )
420 #define DBSEG(d) (((Head_t*)((Vmuchar_t*)(d) - sizeof(Head_t)))->head.seg.seg )
421 #define DBSIZE(d) (((Head_t*)((Vmuchar_t*)(d) - 2*sizeof(Head_t)))->head.size.size )
422 #define DBFILE(d) (((Head_t*)((Vmuchar_t*)(d) - 2*sizeof(Head_t)))->head.seg.file )
423 #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line )
427 #define DB2BEST(d) ((Vmuchar_t*)(d) - 2*sizeof(Head_t))
428 #define DB2DEBUG(b) ((Vmuchar_t*)(b) + 2*sizeof(Head_t))