Lines Matching refs:buf_rw
578 void *buf_rw = NULL, *buf_rx = MAP_FAILED; in alloc_code_gen_buffer_splitwx_memfd() local
581 buf_rw = qemu_memfd_alloc("tcg-jit", size, 0, &fd, errp); in alloc_code_gen_buffer_splitwx_memfd()
582 if (buf_rw == NULL) { in alloc_code_gen_buffer_splitwx_memfd()
594 region.start_aligned = buf_rw; in alloc_code_gen_buffer_splitwx_memfd()
596 tcg_splitwx_diff = buf_rx - buf_rw; in alloc_code_gen_buffer_splitwx_memfd()
602 if (buf_rw) { in alloc_code_gen_buffer_splitwx_memfd()
603 munmap(buf_rw, size); in alloc_code_gen_buffer_splitwx_memfd()
630 mach_vm_address_t buf_rw, buf_rx; in alloc_code_gen_buffer_splitwx_vmremap() local
639 buf_rw = (mach_vm_address_t)region.start_aligned; in alloc_code_gen_buffer_splitwx_vmremap()
647 buf_rw, in alloc_code_gen_buffer_splitwx_vmremap()
655 munmap((void *)buf_rw, size); in alloc_code_gen_buffer_splitwx_vmremap()
662 munmap((void *)buf_rw, size); in alloc_code_gen_buffer_splitwx_vmremap()
666 tcg_splitwx_diff = buf_rx - buf_rw; in alloc_code_gen_buffer_splitwx_vmremap()