Home
last modified time | relevance | path

Searched refs:list (Results 1 – 3 of 3) sorted by relevance

/ipc/
Dsem.c113 struct list_head list; /* queue of pending operations */ member
232 list_for_each_entry_safe(q, tq, &sma->pending_alter, list) { in unmerge_queues()
236 list_add_tail(&q->list, &curr->pending_alter); in unmerge_queues()
725 list_add_tail(&q->list, pt); in wake_up_sem_queue_prepare()
743 list_for_each_entry_safe(q, t, pt, list) { in wake_up_sem_queue_do()
755 list_del(&q->list); in unlink_queue()
825 q = container_of(walk, struct sem_queue, list); in wake_const_ops()
927 q = container_of(walk, struct sem_queue, list); in update_queue()
1086 list_for_each_entry(q, l, list) { in count_semcnt()
1094 list_for_each_entry(q, &sma->pending_alter, list) { in count_semcnt()
[all …]
Dmqueue.c60 struct list_head list; member
240 INIT_LIST_HEAD(&info->e_wait_q[0].list); in mqueue_get_inode()
241 INIT_LIST_HEAD(&info->e_wait_q[1].list); in mqueue_get_inode()
545 list_for_each_entry(walk, &info->e_wait_q[sr].list, list) { in wq_add()
547 list_add_tail(&ewp->list, &walk->list); in wq_add()
551 list_add_tail(&ewp->list, &info->e_wait_q[sr].list); in wq_add()
592 list_del(&ewp->list); in wq_sleep()
607 ptr = info->e_wait_q[sr].list.prev; in wq_get_first_waiter()
608 if (ptr == &info->e_wait_q[sr].list) in wq_get_first_waiter()
610 return list_entry(ptr, struct ext_wait_queue, list); in wq_get_first_waiter()
[all …]
Dmsg.c59 struct list_head list; member
169 list_add_tail(&mss->list, &msq->q_senders); in ss_add()
174 if (mss->list.next) in ss_del()
175 list_del(&mss->list); in ss_del()
185 list_for_each_entry_safe(mss, t, h, list) { in ss_wakeup()
187 mss->list.next = NULL; in ss_wakeup()
207 list_move_tail(&mss->list, &msq->q_senders); in ss_wakeup()