Home
last modified time | relevance | path

Searched refs:mm_lock (Results 1 – 25 of 33) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/v3d/
Dv3d_bo.c43 spin_lock(&v3d->mm_lock); in v3d_free_object()
45 spin_unlock(&v3d->mm_lock); in v3d_free_object()
103 spin_lock(&v3d->mm_lock); in v3d_bo_create_finish()
111 spin_unlock(&v3d->mm_lock); in v3d_bo_create_finish()
Dv3d_drv.h101 spinlock_t mm_lock; member
/linux-6.1.9/arch/x86/kernel/cpu/sgx/
Ddriver.c31 spin_lock_init(&encl->mm_lock); in sgx_open()
56 spin_lock(&encl->mm_lock); in sgx_release()
66 spin_unlock(&encl->mm_lock); in sgx_release()
Dencl.h69 spinlock_t mm_lock; member
Dencl.c763 spin_lock(&encl_mm->encl->mm_lock); in sgx_mmu_notifier_release()
770 spin_unlock(&encl_mm->encl->mm_lock); in sgx_mmu_notifier_release()
850 spin_lock(&encl->mm_lock); in sgx_encl_mm_add()
855 spin_unlock(&encl->mm_lock); in sgx_encl_mm_add()
/linux-6.1.9/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c80 spin_lock(&mapping->mmu->mm_lock); in panfrost_gem_teardown_mapping()
83 spin_unlock(&mapping->mmu->mm_lock); in panfrost_gem_teardown_mapping()
145 spin_lock(&mapping->mmu->mm_lock); in panfrost_gem_open()
148 spin_unlock(&mapping->mmu->mm_lock); in panfrost_gem_open()
Dpanfrost_device.h131 spinlock_t mm_lock; member
Dpanfrost_mmu.c419 spin_lock(&mmu->mm_lock); in addr_to_mapping()
431 spin_unlock(&mmu->mm_lock); in addr_to_mapping()
615 spin_lock_init(&mmu->mm_lock); in panfrost_mmu_ctx_create()
/linux-6.1.9/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c27 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
31 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
54 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_map()
56 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_map()
68 mutex_lock(&private->mm_lock); in rockchip_gem_iommu_unmap()
72 mutex_unlock(&private->mm_lock); in rockchip_gem_iommu_unmap()
Drockchip_drm_drv.h51 struct mutex mm_lock; member
Drockchip_drm_drv.c120 mutex_init(&private->mm_lock); in rockchip_drm_init_iommu()
/linux-6.1.9/drivers/gpu/drm/tegra/
Dgem.c235 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_map()
254 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
261 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_map()
271 mutex_lock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
274 mutex_unlock(&tegra->mm_lock); in tegra_bo_iommu_unmap()
Ddrm.c862 mutex_lock(&tegra->mm_lock); in tegra_debugfs_iova()
864 mutex_unlock(&tegra->mm_lock); in tegra_debugfs_iova()
1228 mutex_init(&tegra->mm_lock); in host1x_drm_probe()
1276 mutex_destroy(&tegra->mm_lock); in host1x_drm_probe()
1319 mutex_destroy(&tegra->mm_lock); in host1x_drm_remove()
Ddrm.h44 struct mutex mm_lock; member
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hvs.c460 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
463 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_hvs_atomic_check()
812 spin_lock_init(&hvs->mm_lock); in vc4_hvs_bind()
Dvc4_plane.c208 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
210 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_destroy_state()
605 spin_lock_irqsave(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
611 spin_unlock_irqrestore(&vc4->hvs->mm_lock, irqflags); in vc4_plane_allocate_lbm()
Dvc4_crtc.c1068 spin_lock_irqsave(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
1070 spin_unlock_irqrestore(&vc4->hvs->mm_lock, flags); in vc4_crtc_destroy_state()
Dvc4_drv.h335 spinlock_t mm_lock; member
/linux-6.1.9/drivers/video/fbdev/core/
Dfbmem.c1357 mutex_lock(&info->mm_lock); in fb_mmap()
1368 mutex_unlock(&info->mm_lock); in fb_mmap()
1377 mutex_unlock(&info->mm_lock); in fb_mmap()
1391 mutex_unlock(&info->mm_lock); in fb_mmap()
1399 mutex_unlock(&info->mm_lock); in fb_mmap()
1547 mutex_init(&fb_info->mm_lock); in do_register_framebuffer()
/linux-6.1.9/drivers/video/fbdev/
Dplatinumfb.c141 mutex_lock(&info->mm_lock); in platinumfb_set_par()
143 mutex_unlock(&info->mm_lock); in platinumfb_set_par()
Dmx3fb.c1348 mutex_lock(&fbi->mm_lock); in mx3fb_map_video_memory()
1352 mutex_unlock(&fbi->mm_lock); in mx3fb_map_video_memory()
1382 mutex_lock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
1385 mutex_unlock(&fbi->mm_lock); in mx3fb_unmap_video_memory()
Dfsl-diu-fb.c878 mutex_lock(&info->mm_lock); in map_video_memory()
882 mutex_unlock(&info->mm_lock); in map_video_memory()
893 mutex_lock(&info->mm_lock); in unmap_video_memory()
897 mutex_unlock(&info->mm_lock); in unmap_video_memory()
Dsm501fb.c487 mutex_lock(&info->mm_lock); in sm501fb_set_par_common()
490 mutex_unlock(&info->mm_lock); in sm501fb_set_par_common()
1911 mutex_init(&info->fb[head]->mm_lock); in sm501fb_start_one()
/linux-6.1.9/drivers/block/
Dublk_drv.c155 spinlock_t mm_lock; member
929 spin_lock(&ub->mm_lock); in ublk_ch_mmap()
934 spin_unlock(&ub->mm_lock); in ublk_ch_mmap()
1651 spin_lock_init(&ub->mm_lock); in ublk_ctrl_add_dev()
/linux-6.1.9/drivers/video/fbdev/omap/
Domapfb_main.c378 mutex_lock(&fbi->mm_lock); in set_fb_fix()
381 mutex_unlock(&fbi->mm_lock); in set_fb_fix()
870 mutex_lock(&fbi->mm_lock); in omapfb_setup_mem()
873 mutex_unlock(&fbi->mm_lock); in omapfb_setup_mem()

12