/Linux-v6.1/ipc/ |
D | sem.c | 154 int semid; /* semaphore set identifier */ member 1156 un->semid = -1; in freeary() 1234 static int semctl_stat(struct ipc_namespace *ns, int semid, in semctl_stat() argument 1245 sma = sem_obtain_object(ns, semid); in semctl_stat() 1251 sma = sem_obtain_object_check(ns, semid); in semctl_stat() 1308 static int semctl_info(struct ipc_namespace *ns, int semid, in semctl_info() argument 1343 static int semctl_setval(struct ipc_namespace *ns, int semid, int semnum, in semctl_setval() argument 1356 sma = sem_obtain_object_check(ns, semid); in semctl_setval() 1405 static int semctl_main(struct ipc_namespace *ns, int semid, int semnum, in semctl_main() argument 1416 sma = sem_obtain_object_check(ns, semid); in semctl_main() [all …]
|
D | util.h | 283 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|
/Linux-v6.1/arch/arm/kernel/ |
D | sys_oabi-compat.c | 336 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 373 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop() 376 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop() 382 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument 385 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop() 406 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 414 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
|
/Linux-v6.1/Documentation/ia64/ |
D | err_inject.rst | 370 int semid[NR_CPUS]; 385 if (semid[cpu]!=0) 393 if ((semid[cpu] = semget(key[cpu], 1, IPC_CREAT | IPC_EXCL)) == -1) { 400 vbprintf("semid[%d]=0x%lx, key[%d]=%lx\n",cpu,(u64)semid[cpu],cpu, 404 if (semctl(semid[cpu], 0, SETVAL, arg) == -1) { 418 semop(semid[cpu], &lock, 1); 429 semop(semid[cpu], &unlock, 1); 436 semctl(semid[cpu], 0, IPC_RMID);
|
/Linux-v6.1/include/linux/ |
D | syscalls.h | 819 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg); 820 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 821 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 824 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 827 asmlinkage long sys_semop(int semid, struct sembuf __user *sops, 1363 long ksys_semtimedop(int semid, struct sembuf __user *tsops, 1367 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 1377 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, 1380 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
|
D | compat.h | 804 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
|