Searched refs:MIN_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance
45 #define MIN_BLOCK_SIZE (sizeof(struct free_ptr)) macro46 #define BHDR_OVERHEAD (sizeof(struct bhdr) - MIN_BLOCK_SIZE)245 if ( (b->size & BLOCK_SIZE_MASK) > MIN_BLOCK_SIZE ) in EXTRACT_BLOCK()246 ASSERT(!memchr_inv(b->ptr.buffer + MIN_BLOCK_SIZE, POISON_BYTE, in EXTRACT_BLOCK()247 (b->size & BLOCK_SIZE_MASK) - MIN_BLOCK_SIZE)); in EXTRACT_BLOCK()257 if ( (b->size & BLOCK_SIZE_MASK) > MIN_BLOCK_SIZE ) in INSERT_BLOCK()258 memset(b->ptr.buffer + MIN_BLOCK_SIZE, POISON_BYTE, in INSERT_BLOCK()259 (b->size & BLOCK_SIZE_MASK) - MIN_BLOCK_SIZE); in INSERT_BLOCK()381 if ( size < MIN_BLOCK_SIZE ) in xmem_pool_alloc()382 size = MIN_BLOCK_SIZE; in xmem_pool_alloc()[all …]
Completed in 3 milliseconds