Searched refs:exclusive_lock (Results 1 – 8 of 8) sorted by relevance
158 if ((*cell)->exclusive_lock) { in __get()198 if (cell->exclusive_lock) { in __put()235 if (cell->exclusive_lock) in __lock()238 cell->exclusive_lock = true; in __lock()249 cell->exclusive_lock = true; in __lock()297 if (!cell->exclusive_lock) in __promote()322 BUG_ON(!cell->exclusive_lock); in __unlock()327 cell->exclusive_lock = false; in __unlock()
47 bool exclusive_lock; member
278 if (!down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_check_lockup()307 up_read(&rdev->exclusive_lock); in radeon_fence_check_lockup()363 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_is_signaled()365 up_read(&rdev->exclusive_lock); in radeon_fence_is_signaled()389 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_enable_signaling()398 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()402 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()982 down_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()986 up_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()
321 down_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()328 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()336 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()341 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()380 down_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()423 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()430 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()448 down_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()453 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()460 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
675 down_read(&rdev->exclusive_lock); in radeon_cs_ioctl()677 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()681 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()697 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()711 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()728 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
1315 init_rwsem(&rdev->exclusive_lock); in radeon_device_init()1774 down_write(&rdev->exclusive_lock); in radeon_gpu_reset()1777 up_write(&rdev->exclusive_lock); in radeon_gpu_reset()1845 downgrade_write(&rdev->exclusive_lock); in radeon_gpu_reset()1865 up_read(&rdev->exclusive_lock); in radeon_gpu_reset()
419 down_read(&rdev->exclusive_lock); in radeon_flip_work_func()427 up_read(&rdev->exclusive_lock); in radeon_flip_work_func()431 down_read(&rdev->exclusive_lock); in radeon_flip_work_func()475 up_read(&rdev->exclusive_lock); in radeon_flip_work_func()
2306 struct rw_semaphore exclusive_lock; member