Lines Matching refs:code_gen_buffer_size
546 tcg_ctx.code_gen_buffer_size = tb_size; in size_code_gen_buffer()
556 map_exec(static_code_gen_buffer, tcg_ctx.code_gen_buffer_size); in alloc_code_gen_buffer()
579 if (tcg_ctx.code_gen_buffer_size > 800u * 1024 * 1024) { in alloc_code_gen_buffer()
580 tcg_ctx.code_gen_buffer_size = 800u * 1024 * 1024; in alloc_code_gen_buffer()
588 buf = mmap((void *)start, tcg_ctx.code_gen_buffer_size, in alloc_code_gen_buffer()
595 void *buf = g_malloc(tcg_ctx.code_gen_buffer_size); in alloc_code_gen_buffer()
598 map_exec(buf, tcg_ctx.code_gen_buffer_size); in alloc_code_gen_buffer()
606 tcg_ctx.code_gen_buffer_size = size_code_gen_buffer(tb_size); in code_gen_alloc()
613 qemu_madvise(tcg_ctx.code_gen_buffer, tcg_ctx.code_gen_buffer_size, in code_gen_alloc()
622 tcg_ctx.code_gen_buffer_size - 1024; in code_gen_alloc()
623 tcg_ctx.code_gen_buffer_size -= 1024; in code_gen_alloc()
625 tcg_ctx.code_gen_buffer_max_size = tcg_ctx.code_gen_buffer_size - in code_gen_alloc()
627 tcg_ctx.code_gen_max_blocks = tcg_ctx.code_gen_buffer_size / in code_gen_alloc()
738 > tcg_ctx.code_gen_buffer_size) { in tb_flush()