Home
last modified time | relevance | path

Searched refs:semid (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/ipc/
A Dsem.c1156 un->semid = -1; in freeary()
1658 if (semid < 0) in ksys_semctl()
1783 if (semid < 0) in compat_ksys_semctl()
1875 if (un->semid == semid) in __lookup_undo()
1919 un = lookup_undo(ulp, semid); in find_alloc_undo()
1972 new->semid = semid; in find_alloc_undo()
2000 if (nsops < 1 || semid < 0) in __do_semtimedop()
2093 if (un && un->semid == -1) in __do_semtimedop()
2352 int semid, i; in exit_sem() local
2373 semid = un->semid; in exit_sem()
[all …]
A Dutil.h281 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
/linux-6.3-rc2/arch/arm/kernel/
A Dsys_oabi-compat.c337 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument
374 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop()
377 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop()
383 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
386 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop()
407 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument
415 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
/linux-6.3-rc2/Documentation/ia64/
A Derr_inject.rst370 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-6.3-rc2/include/linux/
A Dsyscalls.h821 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
822 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
823 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
826 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
829 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
1365 long ksys_semtimedop(int semid, struct sembuf __user *tsops,
1369 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
1379 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
1382 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
A Dcompat.h802 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);

Completed in 24 milliseconds