src/memory/source/tlsf.cc
static void control_construct(control_t* control) {
    int i, j;

    control->block_null.next_free = &control->block_null;
    control->block_null.prev_free = &control->block_null;

    control->fl_bitmap = 0;
    for (i = 0; i < FL_INDEX_COUNT; ++i) {
        control->sl_bitmap[i] = 0;
        for (j = 0; j < SL_INDEX_COUNT; ++j) {
            control->blocks[i][j] = &control->block_null;
        }
    }
}
/* Clear structure and point all empty lists at the null block. */
Clear structure and point all empty lists at the null block.
Clear structure and point all empty lists at the null block .
static void control_construct(control_t* control) {
    int i, j;
    control->block_null.next_free = &control->block_null;
    control->block_null.prev_free = &control->block_null;
    control->fl_bitmap = 0;
    for (i = 0; i < FL_INDEX_COUNT; ++i) {
        control->sl_bitmap[i] = 0;
        for (j = 0; j < SL_INDEX_COUNT; ++j) {
            control->blocks[i][j] = &control->block_null;
        }
    }
}
static void control_construct ( control_t * control ) { int i , j ; control -> block_null . next_free = & control -> block_null ; control -> block_null . prev_free = & control -> block_null ; control -> fl_bitmap = 0 ; for ( i = 0 ; i < FL_INDEX_COUNT ; ++ i ) { control -> sl_bitmap [ i ] = 0 ; for ( j = 0 ; j < SL_INDEX_COUNT ; ++ j ) { control -> blocks [ i ] [ j ] = & control -> block_null ; } } }
Clear structure and point all empty lists at the null block.
Clear structure and point all empty lists at the null block .