Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_core.c2468 struct vfio_pci_core_device *cur_mem; in vfio_pci_dev_set_hot_reset() local
2476 cur_mem = list_first_entry(&dev_set->device_list, in vfio_pci_dev_set_hot_reset()
2543 list_for_each_entry(cur_mem, &dev_set->device_list, vdev.dev_set_list) { in vfio_pci_dev_set_hot_reset()
2544 if (!down_write_trylock(&cur_mem->memory_lock)) { in vfio_pci_dev_set_hot_reset()
2548 mutex_unlock(&cur_mem->vma_lock); in vfio_pci_dev_set_hot_reset()
2550 cur_mem = NULL; in vfio_pci_dev_set_hot_reset()
2568 if (cur == cur_mem) in vfio_pci_dev_set_hot_reset()