Searched refs:memory_lock (Results 1 – 4 of 4) sorted by relevance
45 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()
291 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 …]
591 down_write(&vdev->memory_lock); in vfio_basic_config_write()612 up_write(&vdev->memory_lock); in vfio_basic_config_write()626 up_write(&vdev->memory_lock); in vfio_basic_config_write()709 down_write(&vdev->memory_lock); in vfio_lock_and_set_power_state()712 up_write(&vdev->memory_lock); in vfio_lock_and_set_power_state()900 up_write(&vdev->memory_lock); in vfio_exp_config_write()982 up_write(&vdev->memory_lock); in vfio_af_config_write()
96 struct rw_semaphore memory_lock; member