Lines Matching refs:wait_list
74 list_empty(&(sem)->wait_list) ? "" : "not ")) \
325 INIT_LIST_HEAD(&sem->wait_list); in __init_rwsem()
346 list_first_entry(&sem->wait_list, struct rwsem_waiter, list)
373 list_add_tail(&waiter->list, &sem->wait_list); in rwsem_add_waiter()
390 if (likely(!list_empty(&sem->wait_list))) in rwsem_del_waiter()
510 list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) { in rwsem_mark_wake()
528 if (list_empty(&sem->wait_list)) { in rwsem_mark_wake()
643 if (list_is_singular(&sem->wait_list)) in rwsem_try_write_lock()
1025 if (!list_empty(&sem->wait_list)) in rwsem_down_read_slowpath()
1041 if (list_empty(&sem->wait_list)) { in rwsem_down_read_slowpath()
1210 if (!list_empty(&sem->wait_list)) in rwsem_wake()
1231 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()