Searched refs:cur_mem (Results 1 – 1 of 1) sorted by relevance
2488 struct vfio_pci_core_device *cur_mem; in vfio_pci_dev_set_hot_reset() local2496 cur_mem = list_first_entry(&dev_set->device_list, in vfio_pci_dev_set_hot_reset()2563 list_for_each_entry(cur_mem, &dev_set->device_list, vdev.dev_set_list) { in vfio_pci_dev_set_hot_reset()2564 if (!down_write_trylock(&cur_mem->memory_lock)) { in vfio_pci_dev_set_hot_reset()2568 mutex_unlock(&cur_mem->vma_lock); in vfio_pci_dev_set_hot_reset()2570 cur_mem = NULL; in vfio_pci_dev_set_hot_reset()2588 if (cur == cur_mem) in vfio_pci_dev_set_hot_reset()