std1.0.0-beta-7 SafeC docs

std :: alloc::tlsf

Struct std::TlsfBlock

#include <std/alloc/tlsf.h> source

struct TlsfBlock {
    unsigned long size;
    ?&TlsfBlock prev_phys;
    ?&TlsfBlock next_free;
    ?&TlsfBlock prev_free;
}

Fields

§unsigned long sizesource

block size (excluding header), low bit = free flag

§?&TlsfBlock prev_physsource

previous physical block (for coalescing)

§?&TlsfBlock next_freesource

next free block in this size class

§?&TlsfBlock prev_freesource

prev free block in this size class