Lines Matching refs:wake_q
787 struct wake_q_head *wake_q) in wake_up_sem_queue_prepare() argument
796 wake_q_add_safe(wake_q, sleeper); in wake_up_sem_queue_prepare()
855 struct wake_q_head *wake_q) in wake_const_ops() argument
874 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops()
894 int nsops, struct wake_q_head *wake_q) in do_smart_wakeup_zero() argument
907 semop_completed |= wake_const_ops(sma, num, wake_q); in do_smart_wakeup_zero()
918 semop_completed |= wake_const_ops(sma, i, wake_q); in do_smart_wakeup_zero()
927 semop_completed |= wake_const_ops(sma, -1, wake_q); in do_smart_wakeup_zero()
949 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue() argument
986 do_smart_wakeup_zero(sma, q->sops, q->nsops, wake_q); in update_queue()
990 wake_up_sem_queue_prepare(q, error, wake_q); in update_queue()
1030 int otime, struct wake_q_head *wake_q) in do_smart_update() argument
1034 otime |= do_smart_wakeup_zero(sma, sops, nsops, wake_q); in do_smart_update()
1038 otime |= update_queue(sma, -1, wake_q); in do_smart_update()
1046 otime |= update_queue(sma, i, wake_q); in do_smart_update()
1060 sops[i].sem_num, wake_q); in do_smart_update()
1149 DEFINE_WAKE_Q(wake_q); in freeary()
1165 wake_up_sem_queue_prepare(q, -EIDRM, &wake_q); in freeary()
1170 wake_up_sem_queue_prepare(q, -EIDRM, &wake_q); in freeary()
1176 wake_up_sem_queue_prepare(q, -EIDRM, &wake_q); in freeary()
1180 wake_up_sem_queue_prepare(q, -EIDRM, &wake_q); in freeary()
1190 wake_up_q(&wake_q); in freeary()
1350 DEFINE_WAKE_Q(wake_q); in semctl_setval()
1398 do_smart_update(sma, NULL, 0, 0, &wake_q); in semctl_setval()
1401 wake_up_q(&wake_q); in semctl_setval()
1413 DEFINE_WAKE_Q(wake_q); in semctl_main()
1525 do_smart_update(sma, NULL, 0, 0, &wake_q); in semctl_main()
1563 wake_up_q(&wake_q); in semctl_main()
2103 DEFINE_WAKE_Q(wake_q); in __do_semtimedop()
2110 do_smart_update(sma, sops, nsops, 1, &wake_q); in __do_semtimedop()
2116 wake_up_q(&wake_q); in __do_semtimedop()
2351 DEFINE_WAKE_Q(wake_q); in exit_sem()
2438 do_smart_update(sma, NULL, 0, 1, &wake_q); in exit_sem()
2441 wake_up_q(&wake_q); in exit_sem()