Lines Matching refs:block_header
221 struct block_header { struct
227 struct block_header header; argument
234 ((struct block_header*)(((sljit_u8*)base) + offset))
237 #define MEM_START(base) ((void*)(((sljit_u8*)base) + sizeof(struct block_header)))
238 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7u) & ~(sljit_uw)7)
271 struct block_header *header; in sljit_malloc_exec()
272 struct block_header *next_header; in sljit_malloc_exec()
277 if (size < (64 - sizeof(struct block_header))) in sljit_malloc_exec()
278 size = (64 - sizeof(struct block_header)); in sljit_malloc_exec()
296 header = (struct block_header*)free_block; in sljit_malloc_exec()
307 chunk_size = (size + sizeof(struct block_header) + CHUNK_SIZE - 1) & CHUNK_MASK; in sljit_malloc_exec()
308 header = (struct block_header*)alloc_chunk(chunk_size); in sljit_malloc_exec()
314 chunk_size -= sizeof(struct block_header); in sljit_malloc_exec()
343 struct block_header *header; in sljit_free_exec()
347 header = AS_BLOCK_HEADER(ptr, -(sljit_sw)sizeof(struct block_header)); in sljit_free_exec()
380 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_exec()
403 free_chunk(free_block, free_block->size + sizeof(struct block_header)); in sljit_free_unused_memory_exec()