Searched refs:host_buffers (Results 1 – 1 of 1) sorted by relevance
69 static struct kvm_ffa_buffers host_buffers; variable252 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_map()253 if (host_buffers.tx) { in do_ffa_rxtx_map()292 host_buffers.tx = tx_virt; in do_ffa_rxtx_map()293 host_buffers.rx = rx_virt; in do_ffa_rxtx_map()296 hyp_spin_unlock(&host_buffers.lock); in do_ffa_rxtx_map()323 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_unmap()324 if (!host_buffers.tx) { in do_ffa_rxtx_unmap()329 hyp_unpin_shared_mem(host_buffers.tx, host_buffers.tx + 1); in do_ffa_rxtx_unmap()330 WARN_ON(__pkvm_host_unshare_hyp(hyp_virt_to_pfn(host_buffers.tx))); in do_ffa_rxtx_unmap()[all …]