/kernel/linux/linux-5.10/mm/ |
D | balloon_compaction.c | 47 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_enqueue() 53 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_list_enqueue() 83 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_list_dequeue() 108 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_list_dequeue() 151 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_enqueue() 153 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_enqueue() 193 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_dequeue() 197 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_dequeue() 212 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in balloon_page_isolate() 215 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in balloon_page_isolate() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
D | vkms_gem.c | 27 mutex_init(&obj->pages_lock); in __vkms_gem_create() 40 mutex_destroy(&gem->pages_lock); in vkms_gem_free_object() 60 mutex_lock(&obj->pages_lock); in vkms_gem_fault() 66 mutex_unlock(&obj->pages_lock); in vkms_gem_fault() 172 mutex_lock(&vkms_obj->pages_lock); in vkms_gem_vunmap() 176 mutex_unlock(&vkms_obj->pages_lock); in vkms_gem_vunmap() 189 mutex_unlock(&vkms_obj->pages_lock); in vkms_gem_vunmap() 197 mutex_lock(&vkms_obj->pages_lock); in vkms_gem_vmap() 221 mutex_unlock(&vkms_obj->pages_lock); in vkms_gem_vmap()
|
D | vkms_drv.h | 93 struct mutex pages_lock; /* Page lock used in page fault handler */ member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_gem_shmem_helper.c | 69 mutex_init(&shmem->pages_lock); in __drm_gem_shmem_create() 141 mutex_destroy(&shmem->pages_lock); in drm_gem_shmem_free_object() 183 ret = mutex_lock_interruptible(&shmem->pages_lock); in drm_gem_shmem_get_pages() 187 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_get_pages() 217 mutex_lock(&shmem->pages_lock); in drm_gem_shmem_put_pages() 219 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_put_pages() 408 mutex_lock(&shmem->pages_lock); in drm_gem_shmem_madvise() 415 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_madvise() 456 if (!mutex_trylock(&shmem->pages_lock)) in drm_gem_shmem_purge() 459 mutex_unlock(&shmem->pages_lock); in drm_gem_shmem_purge() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vgem/ |
D | vgem_drv.c | 63 mutex_destroy(&vgem_obj->pages_lock); in vgem_gem_free_object() 88 mutex_lock(&obj->pages_lock); in vgem_gem_fault() 94 mutex_unlock(&obj->pages_lock); in vgem_gem_fault() 176 mutex_init(&obj->pages_lock); in __vgem_gem_create() 267 mutex_lock(&bo->pages_lock); in vgem_pin_pages() 274 mutex_unlock(&bo->pages_lock); in vgem_pin_pages() 280 mutex_unlock(&bo->pages_lock); in vgem_pin_pages() 287 mutex_lock(&bo->pages_lock); in vgem_unpin_pages() 292 mutex_unlock(&bo->pages_lock); in vgem_unpin_pages()
|
D | vgem_drv.h | 48 struct mutex pages_lock; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/ |
D | panfrost_gem_shrinker.c | 51 if (!mutex_trylock(&shmem->pages_lock)) in panfrost_gem_purge() 58 mutex_unlock(&shmem->pages_lock); in panfrost_gem_purge()
|
D | panfrost_mmu.c | 422 mutex_lock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr() 428 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr() 438 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr() 448 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr() 459 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr() 465 mutex_unlock(&bo->base.pages_lock); in panfrost_mmu_map_fault_addr()
|
/kernel/linux/linux-5.10/include/linux/ |
D | balloon_compaction.h | 56 spinlock_t pages_lock; /* Protection to pages list */ member 75 spin_lock_init(&balloon->pages_lock); in balloon_devinfo_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/ |
D | lima_gem.c | 36 mutex_lock(&bo->base.pages_lock); in lima_heap_alloc() 44 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc() 58 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc() 64 mutex_unlock(&bo->base.pages_lock); in lima_heap_alloc()
|
/kernel/linux/linux-5.10/drivers/misc/ |
D | vmw_balloon.c | 1016 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_enqueue_page_list() 1025 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_enqueue_page_list() 1062 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_dequeue_page_list() 1073 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_dequeue_page_list() 1846 spin_lock_irqsave(&b->b_dev_info.pages_lock, flags); in vmballoon_migratepage() 1863 spin_unlock_irqrestore(&b->b_dev_info.pages_lock, flags); in vmballoon_migratepage()
|
/kernel/linux/linux-5.10/include/drm/ |
D | drm_gem_shmem_helper.h | 32 struct mutex pages_lock; member
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_balloon.c | 785 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage() 789 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage() 795 spin_lock_irqsave(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage() 797 spin_unlock_irqrestore(&vb_dev_info->pages_lock, flags); in virtballoon_migratepage()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/ |
D | cmm.c | 551 spin_lock_irqsave(&b_dev_info->pages_lock, flags); in cmm_migratepage() 555 spin_unlock_irqrestore(&b_dev_info->pages_lock, flags); in cmm_migratepage()
|