Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_gem.c265 down_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
272 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
280 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
285 up_read(&rdev->exclusive_lock); in radeon_gem_create_ioctl()
324 down_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
367 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
374 up_read(&rdev->exclusive_lock); in radeon_gem_userptr_ioctl()
393 down_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
398 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
406 up_read(&rdev->exclusive_lock); in radeon_gem_set_domain_ioctl()
Dradeon_fence.c286 if (!down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_check_lockup()
316 up_read(&rdev->exclusive_lock); in radeon_fence_check_lockup()
373 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_is_signaled()
375 up_read(&rdev->exclusive_lock); in radeon_fence_is_signaled()
400 if (down_read_trylock(&rdev->exclusive_lock)) { in radeon_fence_enable_signaling()
409 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()
413 up_read(&rdev->exclusive_lock); in radeon_fence_enable_signaling()
1015 down_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()
1019 up_read(&rdev->exclusive_lock); in radeon_debugfs_gpu_reset()
Dradeon_cs.c666 down_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
668 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
672 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
688 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
702 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
719 up_read(&rdev->exclusive_lock); in radeon_cs_ioctl()
Dradeon_device.c1326 init_rwsem(&rdev->exclusive_lock); in radeon_device_init()
1790 down_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1793 up_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1865 downgrade_write(&rdev->exclusive_lock); in radeon_gpu_reset()
1885 up_read(&rdev->exclusive_lock); in radeon_gpu_reset()
Dradeon_display.c425 down_read(&rdev->exclusive_lock); in radeon_flip_work_func()
433 up_read(&rdev->exclusive_lock); in radeon_flip_work_func()
437 down_read(&rdev->exclusive_lock); in radeon_flip_work_func()
481 up_read(&rdev->exclusive_lock); in radeon_flip_work_func()
Dradeon.h2318 struct rw_semaphore exclusive_lock; member