Searched refs:VFIO_ASSERT_NOT_NULL (Results 1 – 8 of 8) sorted by relevance
| /linux/tools/testing/selftests/vfio/lib/include/libvfio/ |
| H A D | assert.h | 42 #define VFIO_ASSERT_NOT_NULL(_a, ...) VFIO_ASSERT_NE(NULL, _a, ##__VA_ARGS__) macro 52 VFIO_ASSERT_NOT_NULL(__ptr, "malloc(%zu) failed", \ 61 VFIO_ASSERT_NOT_NULL(__ptr, "calloc(%zu, %zu) failed", \
|
| /linux/tools/testing/selftests/vfio/lib/ |
| H A D | vfio_pci_driver.c | 41 VFIO_ASSERT_NOT_NULL(driver->ops); in vfio_check_driver_op() 42 VFIO_ASSERT_NOT_NULL(op, "Driver has no %s()\n", op_name); in vfio_check_driver_op() 56 VFIO_ASSERT_NOT_NULL(driver->region.vaddr); in vfio_pci_driver_init()
|
| H A D | vfio_pci_device.c | 172 VFIO_ASSERT_NOT_NULL(vf_token, "vf_token is NULL"); in vfio_device_set_vf_token() 232 VFIO_ASSERT_NOT_NULL(bar->vaddr); in vfio_pci_bar_unmap() 395 VFIO_ASSERT_NOT_NULL(dir, "Failed to open directory %s\n", dir_path); in vfio_pci_get_cdev_path() 473 VFIO_ASSERT_NOT_NULL(iommu); in vfio_pci_device_alloc()
|
| H A D | iova_allocator.c | 30 VFIO_ASSERT_NOT_NULL(ranges); in iova_allocator_init()
|
| H A D | sysfs.c | 146 VFIO_ASSERT_NOT_NULL(out_driver); in sysfs_driver_get()
|
| H A D | iommu.c | 299 VFIO_ASSERT_NOT_NULL(info); in vfio_iommu_get_info() 321 VFIO_ASSERT_NOT_NULL(hdr); in vfio_iommu_iova_ranges()
|
| /linux/tools/testing/selftests/vfio/ |
| H A D | vfio_dma_mapping_test.c | 54 VFIO_ASSERT_NOT_NULL(file, "fopen(%s) failed", iommu_mapping_path); in intel_iommu_mapping_get() 244 VFIO_ASSERT_NOT_NULL(ranges); in FIXTURE_SETUP()
|
| /linux/tools/testing/selftests/vfio/lib/drivers/ioat/ |
| H A D | ioat.c | 45 VFIO_ASSERT_NOT_NULL(device->bars[0].vaddr); in ioat_probe()
|