Searched refs:vfio_lock_acct (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/vfio/ |
H A D | vfio_iommu_type1.c | 425 static int vfio_lock_acct(struct vfio_dma *dma, long npage, bool async) in vfio_lock_acct() function 702 ret = vfio_lock_acct(dma, lock_acct, false); in vfio_pin_pages_remote() 740 vfio_lock_acct(dma, locked - unlocked, true); in vfio_unpin_pages_remote() 763 ret = vfio_lock_acct(dma, 1, false); in vfio_pin_page_external() 791 vfio_lock_acct(dma, -unlocked, true); in vfio_unpin_page_external() 874 vfio_lock_acct(dma, -1, true); in vfio_iommu_type1_pin_pages() 1115 vfio_lock_acct(dma, -unlocked, true); in vfio_unmap_unpin() 2378 vfio_lock_acct(dma, locked - unlocked, true); in vfio_iommu_unmap_unpin_reaccount()
|