Searched refs:g2h (Results 1 – 8 of 8) sorted by relevance
/openbmc/qemu/linux-user/hppa/ |
H A D | cpu_loop.c | 45 ret = qatomic_cmpxchg((uint32_t *)g2h(cs, addr), old, new); in hppa_lws() 64 old = *(uint8_t *)g2h(cs, old); in hppa_lws() 65 new = *(uint8_t *)g2h(cs, new); in hppa_lws() 66 ret = qatomic_cmpxchg((uint8_t *)g2h(cs, addr), old, new); in hppa_lws() 70 old = *(uint16_t *)g2h(cs, old); in hppa_lws() 71 new = *(uint16_t *)g2h(cs, new); in hppa_lws() 72 ret = qatomic_cmpxchg((uint16_t *)g2h(cs, addr), old, new); in hppa_lws() 76 old = *(uint32_t *)g2h(cs, old); in hppa_lws() 77 new = *(uint32_t *)g2h(cs, new); in hppa_lws() 78 ret = qatomic_cmpxchg((uint32_t *)g2h(cs, addr), old, new); in hppa_lws() [all …]
|
/openbmc/qemu/linux-user/ |
H A D | uaccess.c | 35 host_ptr_conv = g2h(thread_cpu, guest_addr); in unlock_user()
|
H A D | syscall.c | 7812 haddr2 = g2h(cpu, uaddr2); in do_futex() 7841 haddr2 = g2h(cpu, uaddr2); in do_futex() 7854 return do_safe_futex(g2h(cpu, uaddr), op, val, pts, haddr2, val3); in do_futex() 9230 do_sys_futex(g2h(cpu, ts->child_tidptr), in _syscall2() 9568 ret = mount(p, p2, p3, (unsigned long)arg4, g2h(cpu, arg5)); in _syscall2() 10650 return get_errno(msync(g2h(cpu, arg1), arg2, in _syscall2() 10655 return get_errno(mlock(g2h(cpu, arg1), arg2)); in _syscall2() 10659 return get_errno(munlock(g2h(cpu, arg1), arg2)); in _syscall2()
|
/openbmc/qemu/accel/tcg/ |
H A D | user-exec.c | 829 *phost = (flags & TLB_INVALID_MASK) ? NULL : g2h(env_cpu(env), addr); in probe_access_flags() 842 return size ? g2h(env_cpu(env), addr) : NULL; in probe_access() 965 ret = g2h(cpu, addr); in cpu_mmu_lookup() 1252 ret = g2h(cpu, addr); in atomic_mmu_lookup()
|
/openbmc/qemu/include/exec/ |
H A D | cpu_ldst.h | 91 static inline void *g2h(CPUState *cs, abi_ptr x) in g2h() function 375 return g2h(env_cpu(env), addr); in tlb_vaddr_to_host()
|
/openbmc/qemu/linux-user/ppc/ |
H A D | signal.c | 373 v_regs = g2h(env_cpu(env), v_addr); in restore_user_regs() 545 (struct target_func_ptr *)g2h(env_cpu(env), ka->_sa_handler); in setup_rt_frame()
|
/openbmc/qemu/linux-user/arm/ |
H A D | cpu_loop.c | 103 return g2h(env_cpu(env), addr); in atomic_mmu_lookup()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ct.c | 625 bool g2h = g2h_has_room(ct, g2h_dw); in has_room_nb() local 629 if (unlikely(!h2g || !g2h)) { in has_room_nb() 634 if (!g2h) in has_room_nb()
|