Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE_MASK (Results 1 – 1 of 1) sorted by relevance

/xen/xen/common/
A Dxmalloc_tlsf.c49 #define BLOCK_SIZE_MASK (0xFFFFFFFF - PTR_MASK) macro
245 if ( (b->size & BLOCK_SIZE_MASK) > MIN_BLOCK_SIZE ) in EXTRACT_BLOCK()
257 if ( (b->size & BLOCK_SIZE_MASK) > MIN_BLOCK_SIZE ) in INSERT_BLOCK()
259 (b->size & BLOCK_SIZE_MASK) - MIN_BLOCK_SIZE); in INSERT_BLOCK()
284 MAPPING_INSERT(b->size & BLOCK_SIZE_MASK, &fl, &sl); in ADD_REGION()
287 lb = GET_NEXT_BLOCK(b->ptr.buffer, b->size & BLOCK_SIZE_MASK); in ADD_REGION()
419 tmp_size = (b->size & BLOCK_SIZE_MASK) - size; in xmem_pool_alloc()
471 MAPPING_INSERT(tmp_b->size & BLOCK_SIZE_MASK, &fl, &sl); in xmem_pool_free()
478 MAPPING_INSERT(tmp_b->size & BLOCK_SIZE_MASK, &fl, &sl); in xmem_pool_free()
486 MAPPING_INSERT(b->size & BLOCK_SIZE_MASK, &fl, &sl); in xmem_pool_free()
[all …]

Completed in 5 milliseconds