Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vfio/pci/
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()
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 …]
Dvfio_pci_config.c591 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()
/linux-6.12.1/include/linux/
Dvfio_pci_core.h96 struct rw_semaphore memory_lock; member