Searched refs:locks (Results 1 – 3 of 3) sorted by relevance
/kernel/locking/ |
D | test-ww_mutex.c | 384 struct ww_mutex *locks; member 422 struct ww_mutex *locks = stress->locks; in stress_inorder_work() local 441 err = ww_mutex_lock(&locks[order[n]], &ctx); in stress_inorder_work() 449 ww_mutex_unlock(&locks[order[contended]]); in stress_inorder_work() 452 ww_mutex_unlock(&locks[order[n]]); in stress_inorder_work() 455 ww_mutex_lock_slow(&locks[order[contended]], &ctx); in stress_inorder_work() 479 LIST_HEAD(locks); in stress_reorder_work() 494 ll->lock = &stress->locks[order[n]]; in stress_reorder_work() 495 list_add(&ll->link, &locks); in stress_reorder_work() 503 list_for_each_entry(ll, &locks, link) { in stress_reorder_work() [all …]
|
D | locktorture.c | 406 } locks[3], *ll, *ln; in torture_ww_mutex_lock() local 409 locks[0].lock = &torture_ww_mutex_0; in torture_ww_mutex_lock() 410 list_add(&locks[0].link, &list); in torture_ww_mutex_lock() 412 locks[1].lock = &torture_ww_mutex_1; in torture_ww_mutex_lock() 413 list_add(&locks[1].link, &list); in torture_ww_mutex_lock() 415 locks[2].lock = &torture_ww_mutex_2; in torture_ww_mutex_lock() 416 list_add(&locks[2].link, &list); in torture_ww_mutex_lock()
|
/kernel/rcu/ |
D | Kconfig | 195 structure's locks.
|