Home
last modified time | relevance | path

Searched refs:memory_lock (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c45 down_read(&vdev->memory_lock); \
47 up_read(&vdev->memory_lock); \
55 up_read(&vdev->memory_lock); \
73 down_read(&vdev->memory_lock); \
75 up_read(&vdev->memory_lock); \
83 up_read(&vdev->memory_lock); \
399 if (!down_read_trylock(&vdev->memory_lock)) in vfio_pci_ioeventfd_handler()
402 up_read(&vdev->memory_lock); in vfio_pci_ioeventfd_handler()
410 up_read(&vdev->memory_lock); in vfio_pci_ioeventfd_handler()
H A Dvfio_pci_core.c291 up_write(&vdev->memory_lock); in vfio_pci_runtime_pm_entry()
298 up_write(&vdev->memory_lock); in vfio_pci_runtime_pm_entry()
375 down_write(&vdev->memory_lock); in vfio_pci_runtime_pm_exit()
377 up_write(&vdev->memory_lock); in vfio_pci_runtime_pm_exit()
407 down_write(&vdev->memory_lock); in vfio_pci_core_runtime_suspend()
417 up_write(&vdev->memory_lock); in vfio_pci_core_runtime_suspend()
440 down_write(&vdev->memory_lock); in vfio_pci_core_runtime_resume()
445 up_write(&vdev->memory_lock); in vfio_pci_core_runtime_resume()
1244 up_write(&vdev->memory_lock); in vfio_pci_ioctl_reset()
1621 down_write(&vdev->memory_lock); in vfio_pci_zap_and_down_write_memory_lock()
[all …]
/linux/include/linux/
H A Dvfio_pci_core.h96 struct rw_semaphore memory_lock; member