Searched refs:BLOCK_HDR_SIZE (Results 1 – 2 of 2) sorted by relevance
477 #define BLOCK_HDR_SIZE ROUND8( sizeof(size_t) ) macro481 N += BLOCK_HDR_SIZE; in lsmPosixOsMalloc()484 return m + BLOCK_HDR_SIZE; in lsmPosixOsMalloc()489 free( ((unsigned char *)p) - BLOCK_HDR_SIZE ); in lsmPosixOsFree()502 m -= BLOCK_HDR_SIZE; in lsmPosixOsRealloc()509 re = realloc( m, N + BLOCK_HDR_SIZE ); in lsmPosixOsRealloc()513 return m + BLOCK_HDR_SIZE; in lsmPosixOsRealloc()522 return *((size_t*)(m-BLOCK_HDR_SIZE)); in lsmPosixOsMSize()524 #undef BLOCK_HDR_SIZE
92 #define BLOCK_HDR_SIZE (ROUND8( sizeof(TmBlockHdr) )) macro112 nReq = BLOCK_HDR_SIZE + nByte + 4; in tmMalloc()139 pUser = &((u8 *)pNew)[BLOCK_HDR_SIZE]; in tmMalloc()186 pHdr = (TmBlockHdr *)(pUser - BLOCK_HDR_SIZE); in tmFree()221 pHdr = (TmBlockHdr *)(pUser - BLOCK_HDR_SIZE); in tmRealloc()