Lines Matching refs:test_mem
42 bool test_mem, u##size val, void __iomem *io) \
44 if (test_mem) { \
54 if (test_mem) \
70 bool test_mem, u##size *val, void __iomem *io) \
72 if (test_mem) { \
82 if (test_mem) \
98 bool iswrite, bool test_mem, \
109 ret = vfio_pci_core_iowrite##size(vdev, test_mem, \
114 ret = vfio_pci_core_ioread##size(vdev, test_mem, \
140 ssize_t vfio_pci_core_do_io_rw(struct vfio_pci_core_device *vdev, bool test_mem, in vfio_pci_core_do_io_rw() argument
160 ret = vfio_pci_iordwr64(vdev, iswrite, test_mem, in vfio_pci_core_do_io_rw()
168 ret = vfio_pci_iordwr32(vdev, iswrite, test_mem, in vfio_pci_core_do_io_rw()
174 ret = vfio_pci_iordwr16(vdev, iswrite, test_mem, in vfio_pci_core_do_io_rw()
180 ret = vfio_pci_iordwr8(vdev, iswrite, test_mem, in vfio_pci_core_do_io_rw()
369 bool test_mem) in vfio_pci_ioeventfd_do_write() argument
373 vfio_pci_core_iowrite8(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
377 vfio_pci_core_iowrite16(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
381 vfio_pci_core_iowrite32(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
386 vfio_pci_core_iowrite64(ioeventfd->vdev, test_mem, in vfio_pci_ioeventfd_do_write()
398 if (ioeventfd->test_mem) { in vfio_pci_ioeventfd_handler()
409 if (ioeventfd->test_mem) in vfio_pci_ioeventfd_handler()
419 vfio_pci_ioeventfd_do_write(ioeventfd, ioeventfd->test_mem); in vfio_pci_ioeventfd_thread()
492 ioeventfd->test_mem = vdev->pdev->resource[bar].flags & IORESOURCE_MEM; in vfio_pci_ioeventfd()