Searched refs:semid (Results 1 – 6 of 6) sorted by relevance
/linux/ipc/ |
A D | sem.c | 1157 un->semid = -1; in freeary() 1660 if (semid < 0) in ksys_semctl() 1785 if (semid < 0) in compat_ksys_semctl() 1877 if (un->semid == semid) in __lookup_undo() 1921 un = lookup_undo(ulp, semid); in find_alloc_undo() 1973 new->semid = semid; in find_alloc_undo() 2000 if (nsops < 1 || semid < 0) in __do_semtimedop() 2094 if (un && un->semid == -1) in __do_semtimedop() 2354 int semid, i; in exit_sem() local 2375 semid = un->semid; in exit_sem() [all …]
|
A D | util.h | 283 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|
/linux/arch/arm/kernel/ |
A 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/Documentation/ia64/ |
A 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/include/linux/ |
A D | syscalls.h | 823 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg); 824 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 825 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 828 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 831 asmlinkage long sys_semop(int semid, struct sembuf __user *sops, 1364 long ksys_semtimedop(int semid, struct sembuf __user *tsops, 1368 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 1378 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, 1381 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
|
A D | compat.h | 772 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
|
Completed in 16 milliseconds