Lines Matching refs:wait_list
74 list_empty(&(sem)->wait_list) ? "" : "not ")) \
328 INIT_LIST_HEAD(&sem->wait_list); in __init_rwsem()
349 list_first_entry(&sem->wait_list, struct rwsem_waiter, list)
376 list_add_tail(&waiter->list, &sem->wait_list); in rwsem_add_waiter()
393 if (likely(!list_empty(&sem->wait_list))) in rwsem_del_waiter()
513 list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) { in rwsem_mark_wake()
531 if (list_empty(&sem->wait_list)) { in rwsem_mark_wake()
648 if (list_is_singular(&sem->wait_list)) in rwsem_try_write_lock()
1034 if (!list_empty(&sem->wait_list)) in rwsem_down_read_slowpath()
1050 if (list_empty(&sem->wait_list)) { in rwsem_down_read_slowpath()
1222 if (!list_empty(&sem->wait_list)) in rwsem_wake()
1243 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()