Home
last modified time | relevance | path

Searched refs:host_buffers (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm64/kvm/hyp/nvhe/
H A Dffa.c69 static struct kvm_ffa_buffers host_buffers; variable
210 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_map()
211 if (host_buffers.tx) { in do_ffa_rxtx_map()
250 host_buffers.tx = tx_virt; in do_ffa_rxtx_map()
251 host_buffers.rx = rx_virt; in do_ffa_rxtx_map()
254 hyp_spin_unlock(&host_buffers.lock); in do_ffa_rxtx_map()
281 hyp_spin_lock(&host_buffers.lock); in do_ffa_rxtx_unmap()
282 if (!host_buffers.tx) { in do_ffa_rxtx_unmap()
287 hyp_unpin_shared_mem(host_buffers.tx, host_buffers.tx + 1); in do_ffa_rxtx_unmap()
288 WARN_ON(__pkvm_host_unshare_hyp(hyp_virt_to_pfn(host_buffers.tx))); in do_ffa_rxtx_unmap()
[all …]