Lines Matching refs:wait_list
111 list_empty(&(sem)->wait_list) ? "" : "not ")) \
151 * be the first one in the wait_list to be eligible for setting the handoff
338 INIT_LIST_HEAD(&sem->wait_list);
359 list_first_entry(&sem->wait_list, struct rwsem_waiter, list)
501 list_for_each_entry_safe(waiter, tmp, &sem->wait_list, list) {
517 if (list_empty(&sem->wait_list)) {
587 if (list_is_singular(&sem->wait_list))
1023 if (!list_empty(&sem->wait_list))
1041 if (list_empty(&sem->wait_list)) {
1059 list_add_tail(&waiter.list, &sem->wait_list);
1109 if (list_empty(&sem->wait_list)) {
1170 wstate = list_empty(&sem->wait_list) ? WRITER_FIRST : WRITER_NOT_FIRST;
1172 list_add_tail(&waiter.list, &sem->wait_list);
1283 if (list_empty(&sem->wait_list))
1305 if (!list_empty(&sem->wait_list))
1326 if (!list_empty(&sem->wait_list))