Home
last modified time | relevance | path

Searched refs:exclusive_lock (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/md/
Ddm-bio-prison-v2.c157 if ((*cell)->exclusive_lock) { in __get()
197 if (cell->exclusive_lock){ in __put()
234 if (cell->exclusive_lock) in __lock()
237 cell->exclusive_lock = true; in __lock()
248 cell->exclusive_lock = true; in __lock()
296 if (!cell->exclusive_lock) in __promote()
321 BUG_ON(!cell->exclusive_lock); in __unlock()
327 cell->exclusive_lock = false; in __unlock()
Ddm-bio-prison-v2.h46 bool exclusive_lock; member
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_fence.c278 if (!down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_check_lockup()
308 up_read(&rdev->exclusive_lock); in radeon_fence_check_lockup()
365 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_is_signaled()
367 up_read(&rdev->exclusive_lock); in radeon_fence_is_signaled()
392 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_enable_signaling()
401 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()
405 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()
991 down_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()
995 up_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()
Dradeon_gem.c339 down_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
346 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
354 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
359 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
398 down_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
441 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
448 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
467 down_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
472 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
480 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
Dradeon_cs.c671 down_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
673 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
677 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
693 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
707 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
724 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
Dradeon_device.c1316 init_rwsem(&rdev->exclusive_lock); in radeon_device_init()
1773 down_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1776 up_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1848 downgrade_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1868 up_read(&rdev->exclusive_lock); in radeon_gpu_reset()
Dradeon_display.c419 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()
Dradeon.h2347 struct rw_semaphore exclusive_lock; member