Lines Matching refs:buf_rw
577 void *buf_rw = NULL, *buf_rx = MAP_FAILED; in alloc_code_gen_buffer_splitwx_memfd() local
580 buf_rw = qemu_memfd_alloc("tcg-jit", size, 0, &fd, errp); in alloc_code_gen_buffer_splitwx_memfd()
581 if (buf_rw == NULL) { in alloc_code_gen_buffer_splitwx_memfd()
593 region.start_aligned = buf_rw; in alloc_code_gen_buffer_splitwx_memfd()
595 tcg_splitwx_diff = buf_rx - buf_rw; in alloc_code_gen_buffer_splitwx_memfd()
601 if (buf_rw) { in alloc_code_gen_buffer_splitwx_memfd()
602 munmap(buf_rw, size); in alloc_code_gen_buffer_splitwx_memfd()
629 mach_vm_address_t buf_rw, buf_rx; in alloc_code_gen_buffer_splitwx_vmremap() local
638 buf_rw = (mach_vm_address_t)region.start_aligned; in alloc_code_gen_buffer_splitwx_vmremap()
646 buf_rw, in alloc_code_gen_buffer_splitwx_vmremap()
654 munmap((void *)buf_rw, size); in alloc_code_gen_buffer_splitwx_vmremap()
661 munmap((void *)buf_rw, size); in alloc_code_gen_buffer_splitwx_vmremap()
665 tcg_splitwx_diff = buf_rx - buf_rw; in alloc_code_gen_buffer_splitwx_vmremap()