Searched refs:staccess (Results 1 – 1 of 1) sorted by relevance
1374 struct selftest_access *staccess = data; in iommufd_test_access_unmap() local1378 mutex_lock(&staccess->lock); in iommufd_test_access_unmap()1379 list_for_each_entry_safe(item, tmp, &staccess->items, items_elm) { in iommufd_test_access_unmap()1384 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_unmap()1388 mutex_unlock(&staccess->lock); in iommufd_test_access_unmap()1396 struct selftest_access *staccess; in iommufd_test_access_item_destroy() local1398 staccess = iommufd_access_get(access_id); in iommufd_test_access_item_destroy()1399 if (IS_ERR(staccess)) in iommufd_test_access_item_destroy()1400 return PTR_ERR(staccess); in iommufd_test_access_item_destroy()1402 mutex_lock(&staccess->lock); in iommufd_test_access_item_destroy()[all …]