Home
last modified time | relevance | path

Searched refs:semnum (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/ipc/
Dsem.c854 static int wake_const_ops(struct sem_array *sma, int semnum, in wake_const_ops() argument
861 if (semnum == -1) in wake_const_ops()
864 pending_list = &sma->sems[semnum].pending_const; in wake_const_ops()
949 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue() argument
955 if (semnum == -1) in update_queue()
958 pending_list = &sma->sems[semnum].pending_alter; in update_queue()
971 if (semnum != -1 && sma->sems[semnum].semval == 0) in update_queue()
1072 static int check_qop(struct sem_array *sma, int semnum, struct sem_queue *q, in check_qop() argument
1088 if (sop->sem_num != semnum) in check_qop()
1106 static int count_semcnt(struct sem_array *sma, ushort semnum, in count_semcnt() argument
[all …]
Dutil.h281 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
/Linux-v6.6/include/linux/
Dsyscalls.h715 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
716 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
1252 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
Dcompat.h749 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);