/kernel/linux/linux-6.6/ipc/ |
H A D | sem.c | 154 int semid; /* semaphore set identifier */ member 272 " key semid perms nsems uid gid cuid cgid otime ctime\n", in sem_init() 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, in argument 1601 semctl_down(struct ipc_namespace *ns, int semid, int cmd, struct semid64_ds *semid64) semctl_down() argument 1651 ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version) ksys_semctl() argument 1711 ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg) ksys_old_semctl() argument 1774 compat_ksys_semctl(int semid, int semnum, int cmd, int arg, int version) compat_ksys_semctl() argument 1825 compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg) compat_ksys_old_semctl() argument 1869 __lookup_undo(struct sem_undo_list *ulp, int semid) __lookup_undo() argument 1881 lookup_undo(struct sem_undo_list *ulp, int semid) lookup_undo() argument 1906 find_alloc_undo(struct ipc_namespace *ns, int semid) find_alloc_undo() argument 1983 __do_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct timespec64 *timeout, struct ipc_namespace *ns) __do_semtimedop() argument 2222 do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout) do_semtimedop() argument 2256 ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout) ksys_semtimedop() argument 2275 compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops, const struct old_timespec32 __user *timeout) compat_ksys_semtimedop() argument 2350 int semid, i; exit_sem() local [all...] |
H A D | util.h | 281 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|
/kernel/linux/linux-5.10/ipc/ |
H A D | sem.c | 154 int semid; /* semaphore set identifier */ member 270 " key semid perms nsems uid gid cuid cgid otime ctime\n", in sem_init() 1154 un->semid = -1; in freeary() 1232 static int semctl_stat(struct ipc_namespace *ns, int semid, in semctl_stat() argument 1243 sma = sem_obtain_object(ns, semid); in semctl_stat() 1249 sma = sem_obtain_object_check(ns, semid); in semctl_stat() 1306 static int semctl_info(struct ipc_namespace *ns, int semid, in semctl_info() argument 1341 static int semctl_setval(struct ipc_namespace *ns, int semid, int semnum, in semctl_setval() argument 1354 sma = sem_obtain_object_check(ns, semid); in semctl_setval() 1403 static int semctl_main(struct ipc_namespace *ns, int semid, in argument 1600 semctl_down(struct ipc_namespace *ns, int semid, int cmd, struct semid64_ds *semid64) semctl_down() argument 1650 ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version) ksys_semctl() argument 1710 ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg) ksys_old_semctl() argument 1773 compat_ksys_semctl(int semid, int semnum, int cmd, int arg, int version) compat_ksys_semctl() argument 1824 compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg) compat_ksys_old_semctl() argument 1868 __lookup_undo(struct sem_undo_list *ulp, int semid) __lookup_undo() argument 1880 lookup_undo(struct sem_undo_list *ulp, int semid) lookup_undo() argument 1905 find_alloc_undo(struct ipc_namespace *ns, int semid) find_alloc_undo() argument 1983 do_semtimedop(int semid, struct sembuf __user *tsops, unsigned nsops, const struct timespec64 *timeout) do_semtimedop() argument 2237 ksys_semtimedop(int semid, struct sembuf __user *tsops, unsigned int nsops, const struct __kernel_timespec __user *timeout) ksys_semtimedop() argument 2256 compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, unsigned int nsops, const struct old_timespec32 __user *timeout) compat_ksys_semtimedop() argument 2331 int semid, i; exit_sem() local [all...] |
H A D | util.h | 280 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
|
/kernel/uniproton/src/core/ipc/include/ |
H A D | prt_sem_external.h | 28 #define GET_SEM(semid) (((struct TagSemCb *)g_allSem) + (semid)) 29 #define GET_SEM_TSK(semid) (((SEM_TSK_S *)g_semTsk) + (semid))
|
/kernel/liteos_m/testsuites/sample/kernel/sem/ |
H A D | It_los_sem_004.c | 36 #define GET_SEM(semid) (((LosSemCB *)g_allSem) + (semid))
|
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 339 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 376 err = __do_semtimedop(semid, sops, nsops, &ts, ns); in sys_oabi_semtimedop() 379 err = __do_semtimedop(semid, sops, nsops, NULL, ns); in sys_oabi_semtimedop() 385 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument 388 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop() 409 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 417 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument
|
/kernel/linux/linux-6.6/arch/arm/include/asm/ |
H A D | syscalls.h | 32 asmlinkage long sys_oabi_semtimedop(int semid, 36 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops,
|
/kernel/liteos_m/kernel/include/ |
H A D | los_sem.h | 341 #define GET_SEM(semid) (((LosSemCB *)g_allSem) + (semid))
|
/kernel/linux/linux-5.10/arch/arm/kernel/ |
H A D | sys_oabi-compat.c | 324 asmlinkage long sys_oabi_semtimedop(int semid, in sys_oabi_semtimedop() argument 360 err = sys_semtimedop_time32(semid, sops, nsops, timeout); in sys_oabi_semtimedop() 367 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops, in sys_oabi_semop() argument 370 return sys_oabi_semtimedop(semid, tsops, nsops, NULL); in sys_oabi_semop()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | syscalls.h | 716 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg); 717 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 718 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 721 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 724 asmlinkage long sys_semop(int semid, struct sembuf __user *sops, 1249 long ksys_semtimedop(int semid, struct sembuf __user *tsops, 1253 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 1263 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems, 1266 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
|
H A D | compat.h | 749 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 809 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg); 810 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 811 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops, 814 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops, 817 asmlinkage long sys_semop(int semid, struct sembuf __user *sops, 1353 long ksys_semtimedop(int semid, struct sembuf __user *tsops, 1357 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg); 1367 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
|
H A D | compat.h | 710 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);
|