Searched refs:semnum (Results 1 – 2 of 2) sorted by relevance
/ipc/ |
D | sem.c | 835 static int wake_const_ops(struct sem_array *sma, int semnum, in wake_const_ops() argument 842 if (semnum == -1) in wake_const_ops() 845 pending_list = &sma->sems[semnum].pending_const; in wake_const_ops() 930 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue() argument 936 if (semnum == -1) in update_queue() 939 pending_list = &sma->sems[semnum].pending_alter; in update_queue() 952 if (semnum != -1 && sma->sems[semnum].semval == 0) in update_queue() 1053 static int check_qop(struct sem_array *sma, int semnum, struct sem_queue *q, in check_qop() argument 1069 if (sop->sem_num != semnum) in check_qop() 1087 static int count_semcnt(struct sem_array *sma, ushort semnum, in count_semcnt() argument [all …]
|
D | util.h | 280 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|