Searched refs:host_buffers (Results 1 – 1 of 1) sorted by relevance
69 static struct kvm_ffa_buffers host_buffers; variable199 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_map()200 if (host_buffers.tx) { in do_ffa_rxtx_map()239 host_buffers.tx = tx_virt; in do_ffa_rxtx_map()240 host_buffers.rx = rx_virt; in do_ffa_rxtx_map()243 hyp_spin_unlock(&host_buffers.lock); in do_ffa_rxtx_map()270 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_unmap()271 if (!host_buffers.tx) { in do_ffa_rxtx_unmap()276 hyp_unpin_shared_mem(host_buffers.tx, host_buffers.tx + 1); in do_ffa_rxtx_unmap()277 WARN_ON(__pkvm_host_unshare_hyp(hyp_virt_to_pfn(host_buffers.tx))); in do_ffa_rxtx_unmap()[all …]