Lines Matching refs:sem_queue
416 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()
657 struct sem_queue * q; in count_semncnt()
676 struct sem_queue * q; in count_semzcnt()
705 struct sem_queue *q, *tq; in freeary()
1276 static int get_queue_result(struct sem_queue *q) in get_queue_result()
1299 struct sem_queue queue; in SYSCALL_DEFINE4()