Home
last modified time | relevance | path

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

/drivers/gpu/drm/via/
Dvia_dmablit.c106 unsigned char *cur_mem; in via_map_blit_for_device() local
124 cur_mem = mem_addr; in via_map_blit_for_device()
128 remaining_len = min(PAGE_SIZE-VIA_PGOFF(cur_mem), line_len); in via_map_blit_for_device()
134 vsg->pages[VIA_PFN(cur_mem) - in via_map_blit_for_device()
136 VIA_PGOFF(cur_mem), remaining_len, in via_map_blit_for_device()
152 cur_mem += remaining_len; in via_map_blit_for_device()
/drivers/vfio/pci/
Dvfio_pci_core.c2080 struct vfio_pci_core_device *cur_mem; in vfio_pci_dev_set_hot_reset() local
2088 cur_mem = list_first_entry(&dev_set->device_list, in vfio_pci_dev_set_hot_reset()
2119 list_for_each_entry(cur_mem, &dev_set->device_list, vdev.dev_set_list) { in vfio_pci_dev_set_hot_reset()
2120 if (!down_write_trylock(&cur_mem->memory_lock)) { in vfio_pci_dev_set_hot_reset()
2124 mutex_unlock(&cur_mem->vma_lock); in vfio_pci_dev_set_hot_reset()
2126 cur_mem = NULL; in vfio_pci_dev_set_hot_reset()
2144 if (cur == cur_mem) in vfio_pci_dev_set_hot_reset()