Searched refs:staccess (Results 1 – 1 of 1) sorted by relevance
1001 struct selftest_access *staccess = data; in iommufd_test_access_unmap() local1005 mutex_lock(&staccess->lock); in iommufd_test_access_unmap()1006 list_for_each_entry_safe(item, tmp, &staccess->items, items_elm) { in iommufd_test_access_unmap()1011 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_unmap()1015 mutex_unlock(&staccess->lock); in iommufd_test_access_unmap()1023 struct selftest_access *staccess; in iommufd_test_access_item_destroy() local1025 staccess = iommufd_access_get(access_id); in iommufd_test_access_item_destroy()1026 if (IS_ERR(staccess)) in iommufd_test_access_item_destroy()1027 return PTR_ERR(staccess); in iommufd_test_access_item_destroy()1029 mutex_lock(&staccess->lock); in iommufd_test_access_item_destroy()[all …]