Lines Matching refs:block_header
134 struct block_header { struct
140 struct block_header header; argument
147 ((struct block_header*)(((sljit_u8*)base) + offset))
150 #define MEM_START(base) ((void*)(((sljit_u8*)base) + sizeof(struct block_header)))
151 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7)
184 struct block_header *header; in sljit_malloc_exec()
185 struct block_header *next_header; in sljit_malloc_exec()
190 if (size < (64 - sizeof(struct block_header))) in sljit_malloc_exec()
191 size = (64 - sizeof(struct block_header)); in sljit_malloc_exec()
208 header = (struct block_header*)free_block; in sljit_malloc_exec()
219 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
220 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec()
226 chunk_size -= sizeof(struct block_header); in sljit_malloc_exec()
255 struct block_header *header; in sljit_free_exec()
259 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec()
291 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_exec()
312 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_unused_memory_exec()