Lines Matching refs:head
22 * The DEFINE_WAKE_Q macro declares and initializes the list head.
51 static inline void wake_q_init(struct wake_q_head *head)
53 head->first = WAKE_Q_TAIL;
54 head->lastp = &head->first;
57 static inline bool wake_q_empty(struct wake_q_head *head)
59 return head->first == WAKE_Q_TAIL;
62 extern void wake_q_add(struct wake_q_head *head, struct task_struct *task);
63 extern void wake_q_add_safe(struct wake_q_head *head, struct task_struct *task);
64 extern void wake_up_q(struct wake_q_head *head);