Home
last modified time | relevance | path

Searched refs:sem_queue (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Dsem.h28 struct sem_queue *sem_pending; /* pending operations to be processed */
29 struct sem_queue **sem_pending_last; /* last pending operation */
107 struct sem_queue { struct
/linux-2.6.39/ipc/
Dsem.c416 struct sem_queue *q, int error) in wake_up_sem_queue_prepare()
442 struct sem_queue *q, *t; in wake_up_sem_queue_do()
456 static void unlink_queue(struct sem_array *sma, struct sem_queue *q) in unlink_queue()
474 static int check_restart(struct sem_array *sma, struct sem_queue *q) in check_restart()
477 struct sem_queue *h; in check_restart()
516 h = list_first_entry(&curr->sem_pending, struct sem_queue, simple_list); in check_restart()
544 struct sem_queue *q; in update_queue()
559 offset = offsetof(struct sem_queue, list); in update_queue()
562 offset = offsetof(struct sem_queue, simple_list); in update_queue()
570 q = (struct sem_queue *)((char *)walk - offset); in update_queue()
[all …]