Home
last modified time | relevance | path

Searched refs:wake_q (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/locking/
H A Drwsem.c399 struct wake_q_head *wake_q) in rwsem_mark_wake() argument
422 wake_q_add(wake_q, waiter->task); in rwsem_mark_wake()
548 wake_q_add_safe(wake_q, tsk); in rwsem_mark_wake()
994 DEFINE_WAKE_Q(wake_q); in rwsem_down_read_slowpath()
1024 &wake_q); in rwsem_down_read_slowpath()
1026 wake_up_q(&wake_q); in rwsem_down_read_slowpath()
1084 rwsem_mark_wake(sem, RWSEM_WAKE_ANY, &wake_q); in rwsem_down_read_slowpath()
1088 wake_up_q(&wake_q); in rwsem_down_read_slowpath()
1153 DEFINE_WAKE_Q(wake_q); in rwsem_down_write_slowpath()
1207 : RWSEM_WAKE_ANY, &wake_q); in rwsem_down_write_slowpath()
[all …]
H A Drtmutex.c1016 static void mark_wakeup_next_waiter(struct wake_q_head *wake_q, in mark_wakeup_next_waiter() argument
1056 wake_q_add(wake_q, waiter->task); in mark_wakeup_next_waiter()
1340 struct wake_q_head *wake_q) in rt_mutex_slowunlock() argument
1394 mark_wakeup_next_waiter(wake_q, lock); in rt_mutex_slowunlock()
1446 void rt_mutex_postunlock(struct wake_q_head *wake_q) in rt_mutex_postunlock() argument
1448 wake_up_q(wake_q); in rt_mutex_postunlock()
1459 DEFINE_WAKE_Q(wake_q); in rt_mutex_fastunlock()
1464 if (slowfn(lock, &wake_q)) in rt_mutex_fastunlock()
1465 rt_mutex_postunlock(&wake_q); in rt_mutex_fastunlock()
1622 struct wake_q_head *wake_q) in __rt_mutex_futex_unlock() argument
[all …]
H A Drtmutex_common.h157 extern void rt_mutex_postunlock(struct wake_q_head *wake_q);
H A Dmutex.c1244 DEFINE_WAKE_Q(wake_q); in __mutex_unlock_slowpath()
1291 wake_q_add(&wake_q, next); in __mutex_unlock_slowpath()
1300 wake_up_q(&wake_q); in __mutex_unlock_slowpath()
/OK3568_Linux_fs/kernel/ipc/
H A Dsem.c785 struct wake_q_head *wake_q) in wake_up_sem_queue_prepare() argument
794 wake_q_add_safe(wake_q, sleeper); in wake_up_sem_queue_prepare()
853 struct wake_q_head *wake_q) in wake_const_ops() argument
872 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops()
892 int nsops, struct wake_q_head *wake_q) in do_smart_wakeup_zero() argument
905 semop_completed |= wake_const_ops(sma, num, wake_q); in do_smart_wakeup_zero()
916 semop_completed |= wake_const_ops(sma, i, wake_q); in do_smart_wakeup_zero()
925 semop_completed |= wake_const_ops(sma, -1, wake_q); in do_smart_wakeup_zero()
947 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue() argument
984 do_smart_wakeup_zero(sma, q->sops, q->nsops, wake_q); in update_queue()
[all …]
H A Dmsg.c212 struct wake_q_head *wake_q, bool kill) in ss_wakeup() argument
244 wake_q_add(wake_q, mss->tsk); in ss_wakeup()
249 struct wake_q_head *wake_q) in expunge_all() argument
260 wake_q_add_safe(wake_q, r_tsk); in expunge_all()
278 DEFINE_WAKE_Q(wake_q); in freeque()
280 expunge_all(msq, -EIDRM, &wake_q); in freeque()
281 ss_wakeup(msq, &wake_q, true); in freeque()
284 wake_up_q(&wake_q); in freeque()
431 DEFINE_WAKE_Q(wake_q); in msgctl_down()
451 expunge_all(msq, -EAGAIN, &wake_q); in msgctl_down()
[all …]
H A Dmqueue.c1016 static inline void __pipelined_op(struct wake_q_head *wake_q, in __pipelined_op() argument
1027 wake_q_add_safe(wake_q, task); in __pipelined_op()
1033 static inline void pipelined_send(struct wake_q_head *wake_q, in pipelined_send() argument
1039 __pipelined_op(wake_q, info, receiver); in pipelined_send()
1044 static inline void pipelined_receive(struct wake_q_head *wake_q, in pipelined_receive() argument
1057 __pipelined_op(wake_q, info, sender); in pipelined_receive()
1073 DEFINE_WAKE_Q(wake_q); in do_mq_timedsend()
1157 pipelined_send(&wake_q, info, msg_ptr, receiver); in do_mq_timedsend()
1170 wake_up_q(&wake_q); in do_mq_timedsend()
1256 DEFINE_WAKE_Q(wake_q); in do_mq_timedreceive()
[all …]
/OK3568_Linux_fs/kernel/kernel/
H A Dfutex.c1468 static void mark_wake_futex(struct wake_q_head *wake_q, struct futex_q *q) in mark_wake_futex() argument
1490 wake_q_add_safe(wake_q, p); in mark_wake_futex()
1501 DEFINE_WAKE_Q(wake_q); in wake_futex_pi()
1551 postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wake_q); in wake_futex_pi()
1558 rt_mutex_postunlock(&wake_q); in wake_futex_pi()
1598 DEFINE_WAKE_Q(wake_q); in futex_wake()
1628 mark_wake_futex(&wake_q, this); in futex_wake()
1635 wake_up_q(&wake_q); in futex_wake()
1698 DEFINE_WAKE_Q(wake_q); in futex_wake_op()
1748 mark_wake_futex(&wake_q, this); in futex_wake_op()
[all …]
H A Dfork.c963 tsk->wake_q.next = NULL; in dup_task_struct()
/OK3568_Linux_fs/kernel/include/linux/
H A Dsched.h1025 struct wake_q_node wake_q; member
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dcore.c532 struct wake_q_node *node = &task->wake_q; in __wake_q_add()
603 task = container_of(node, struct task_struct, wake_q); in wake_up_q()
607 task->wake_q.next = NULL; in wake_up_q()