Lines Matching refs:Head_t
104 typedef union _head_u Head_t;
256 Head_t* head;
308 ** sizeof(Head_t)%ALIGN == 0
310 ** and sizeof(Block_t) = sizeof(Head_t)+sizeof(Body_t)
313 { Head_t head;
388 #define BLOCK(d) ((Block_t*)((char*)(d) - sizeof(Head_t)) )
414 #define SEGWILD(b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= SEG(b)->baddr)
415 #define VMWILD(vd,b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= vd->seg->baddr)
428 ** So each block requires an extra Head_t.
430 #define PF_EXTRA sizeof(Head_t)
431 #define PFDATA(d) ((Head_t*)((Vmuchar_t*)(d)+(SIZE(BLOCK(d))&~BITS)-sizeof(Head_t)) )
447 ** So for each allocated block, we'll need 3 extra Head_t.
451 #define DB_HEAD (2*sizeof(Head_t))
452 #define DB_TAIL (2*sizeof(Head_t))
454 #define DBBLOCK(d) ((Block_t*)((Vmuchar_t*)(d) - 3*sizeof(Head_t)) )
456 #define DBSEG(d) (((Head_t*)((Vmuchar_t*)(d) - sizeof(Head_t)))->head.seg.seg )
457 #define DBSIZE(d) (((Head_t*)((Vmuchar_t*)(d) - 2*sizeof(Head_t)))->head.size.size )
458 #define DBFILE(d) (((Head_t*)((Vmuchar_t*)(d) - 2*sizeof(Head_t)))->head.seg.file )
459 #define DBLN(d) (((Head_t*)((Vmuchar_t*)DBBLOCK(d)+DBBSIZE(d)))->head.size.line )
463 #define DB2BEST(d) ((Vmuchar_t*)(d) - 2*sizeof(Head_t))
464 #define DB2DEBUG(b) ((Vmuchar_t*)(b) + 2*sizeof(Head_t))