Lines Matching refs:wait_list
75 list_empty(&(sem)->wait_list) ? "" : "not ")) \
324 INIT_LIST_HEAD(&sem->wait_list); in __init_rwsem()
345 list_first_entry(&sem->wait_list, struct rwsem_waiter, list)
372 list_add_tail(&waiter->list, &sem->wait_list); in rwsem_add_waiter()
389 if (likely(!list_empty(&sem->wait_list))) in rwsem_del_waiter()
509 list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) { in rwsem_mark_wake()
527 if (list_empty(&sem->wait_list)) { in rwsem_mark_wake()
642 if (list_is_singular(&sem->wait_list)) in rwsem_try_write_lock()
1022 if (!list_empty(&sem->wait_list)) in rwsem_down_read_slowpath()
1038 if (list_empty(&sem->wait_list)) { in rwsem_down_read_slowpath()
1221 if (!list_empty(&sem->wait_list)) in rwsem_wake()
1242 if (!list_empty(&sem->wait_list)) in rwsem_downgrade_wake()