Lines Matching refs:block_header
187 struct block_header { struct
193 struct block_header header; argument
200 ((struct block_header*)(((sljit_u8*)base) + offset))
203 #define MEM_START(base) ((void*)(((sljit_u8*)base) + sizeof(struct block_header)))
204 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7)
237 struct block_header *header; in sljit_malloc_exec()
238 struct block_header *next_header; in sljit_malloc_exec()
243 if (size < (64 - sizeof(struct block_header))) in sljit_malloc_exec()
244 size = (64 - sizeof(struct block_header)); in sljit_malloc_exec()
261 header = (struct block_header*)free_block; in sljit_malloc_exec()
272 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
273 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec()
279 chunk_size -= sizeof(struct block_header); in sljit_malloc_exec()
308 struct block_header *header; in sljit_free_exec()
312 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec()
344 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_exec()
365 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_unused_memory_exec()