Home
last modified time | relevance | path

Searched refs:suspend_lock (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/md/
H A Ddm.c2295 mutex_destroy(&md->suspend_lock); in cleanup_mapped_device()
2337 mutex_init(&md->suspend_lock); in alloc_dev()
2474 lockdep_assert_held(&md->suspend_lock); in __bind()
2534 old_map = rcu_dereference_protected(md->map, lockdep_is_held(&md->suspend_lock)); in __bind()
2750 * Take suspend_lock so that presuspend and postsuspend methods in __dm_destroy()
2753 mutex_lock(&md->suspend_lock); in __dm_destroy()
2763 mutex_unlock(&md->suspend_lock); in __dm_destroy()
2895 mutex_lock(&md->suspend_lock); in dm_swap_table()
2937 mutex_unlock(&md->suspend_lock); in lock_fs()
2982 lockdep_assert_held(&md->suspend_lock); in __dm_suspend()
[all...]
H A Dmd-cluster.c74 spinlock_t suspend_lock; member
327 spin_lock_irq(&cinfo->suspend_lock); in recover_bitmaps()
331 spin_unlock_irq(&cinfo->suspend_lock); in recover_bitmaps()
445 spin_lock_irq(&cinfo->suspend_lock); in remove_suspend_info()
448 spin_unlock_irq(&cinfo->suspend_lock); in remove_suspend_info()
506 spin_lock_irq(&cinfo->suspend_lock); in process_suspend_info()
510 spin_unlock_irq(&cinfo->suspend_lock); in process_suspend_info()
894 spin_lock_init(&cinfo->suspend_lock); in join()
1370 spin_lock_irq(&cinfo->suspend_lock); in resync_info_get()
1373 spin_unlock_irq(&cinfo->suspend_lock); in resync_info_get()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_submit.c2474 * primary so the GPU is actually preempted. Hold @suspend_lock so that in guc_exec_queue_resume()
2480 scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) { in guc_exec_queue_resume()
2643 * last member that suspended it resumes. @suspend_lock keeps the in xe_guc_submit_reset_wait()
2646 scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) { in xe_guc_submit_reset_wait()
2659 scoped_guard(spinlock, &q->multi_queue.group->suspend_lock) { in xe_guc_submit_stop()
2675 * No suspend_wait() here (and we can't - suspend_lock is a in guc_exec_queue_revert_pending_state_change()