Searched refs:block_header_t (Results 1 – 3 of 3) sorted by relevance
39 #define block_start_offset (offsetof(block_header_t, size) + sizeof(size_t))41 typedef struct block_header_t struct44 struct block_header_t* prev_phys_block; argument50 struct block_header_t* next_free; argument51 struct block_header_t* prev_free; argument52 } block_header_t; typedef54 static inline __attribute__((__always_inline__)) size_t block_size(const block_header_t* block) in block_size()59 static inline __attribute__((__always_inline__)) int block_is_free(const block_header_t* block) in block_is_free()64 static inline __attribute__((__always_inline__)) int block_is_prev_free(const block_header_t* block) in block_is_prev_free()69 static inline __attribute__((always_inline)) block_header_t* block_from_ptr(const void* ptr) in block_from_ptr()[all …]
109 …line)) NOCLONE_ATTR static void assert_valid_block(const heap_t *heap, const block_header_t *block) in assert_valid_block()174 block_header_t* block = offset_to_block(pool, -(int)block_header_overhead); in multi_heap_get_first_block()183 block_header_t* next = block_next(block); in multi_heap_get_next_block()
33 typedef const struct block_header_t *multi_heap_block_handle_t;