Lines Matching refs:block_header
127 struct block_header { struct
133 struct block_header header; argument
140 ((struct block_header*)(((sljit_ub*)base) + offset))
143 #define MEM_START(base) ((void*)(((sljit_ub*)base) + sizeof(struct block_header)))
144 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7)
177 struct block_header *header; in sljit_malloc_exec()
178 struct block_header *next_header; in sljit_malloc_exec()
201 header = (struct block_header*)free_block; in sljit_malloc_exec()
212 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
213 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec()
219 chunk_size -= sizeof(struct block_header); in sljit_malloc_exec()
248 struct block_header *header; in sljit_free_exec()
252 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec()
284 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_exec()
305 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_unused_memory_exec()