Lines Matching refs:wait_list
73 list_empty(&(sem)->wait_list) ? "" : "not ")) \
319 INIT_LIST_HEAD(&sem->wait_list); in __init_rwsem()
342 list_first_entry(&sem->wait_list, struct rwsem_waiter, list)
369 list_add_tail(&waiter->list, &sem->wait_list); in rwsem_add_waiter()
384 if (likely(!list_empty(&sem->wait_list))) in rwsem_del_waiter()
501 list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) { in rwsem_mark_wake()
519 if (list_empty(&sem->wait_list)) { in rwsem_mark_wake()
600 if (list_is_singular(&sem->wait_list)) in rwsem_try_write_lock()
971 if (!list_empty(&sem->wait_list)) in rwsem_down_read_slowpath()
986 if (list_empty(&sem->wait_list)) { in rwsem_down_read_slowpath()
1166 if (!list_empty(&sem->wait_list)) in rwsem_down_write_slowpath()
1185 if (!list_empty(&sem->wait_list)) in rwsem_wake()
1206 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()