Searched refs:staccess (Results 1 – 1 of 1) sorted by relevance
640 struct selftest_access *staccess = data; in iommufd_test_access_unmap() local644 mutex_lock(&staccess->lock); in iommufd_test_access_unmap()645 list_for_each_entry_safe(item, tmp, &staccess->items, items_elm) { in iommufd_test_access_unmap()650 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_unmap()654 mutex_unlock(&staccess->lock); in iommufd_test_access_unmap()662 struct selftest_access *staccess; in iommufd_test_access_item_destroy() local664 staccess = iommufd_access_get(access_id); in iommufd_test_access_item_destroy()665 if (IS_ERR(staccess)) in iommufd_test_access_item_destroy()666 return PTR_ERR(staccess); in iommufd_test_access_item_destroy()668 mutex_lock(&staccess->lock); in iommufd_test_access_item_destroy()[all …]