Home
last modified time | relevance | path

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

/linux/ipc/
H A Dsem.c154 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
1705 SYSCALL_DEFINE4(semctl,int,semid,int,semnum,int,cmd,unsigned long,arg) SYSCALL_DEFINE4() argument
1711 ksys_old_semctl(int semid,int semnum,int cmd,unsigned long arg) ksys_old_semctl() argument
1718 SYSCALL_DEFINE4(old_semctl,int,semid,int,semnum,int,cmd,unsigned long,arg) SYSCALL_DEFINE4() argument
1774 compat_ksys_semctl(int semid,int semnum,int cmd,int arg,int version) compat_ksys_semctl() argument
1819 COMPAT_SYSCALL_DEFINE4(semctl,int,semid,int,semnum,int,cmd,int,arg) COMPAT_SYSCALL_DEFINE4() argument
1825 compat_ksys_old_semctl(int semid,int semnum,int cmd,int arg) compat_ksys_old_semctl() argument
1832 COMPAT_SYSCALL_DEFINE4(old_semctl,int,semid,int,semnum,int,cmd,int,arg) COMPAT_SYSCALL_DEFINE4() 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
2268 SYSCALL_DEFINE4(semtimedop,int,semid,struct sembuf __user *,tsops,unsigned int,nsops,const struct __kernel_timespec __user *,timeout) SYSCALL_DEFINE4() argument
2275 compat_ksys_semtimedop(int semid,struct sembuf __user * tsems,unsigned int nsops,const struct old_timespec32 __user * timeout) compat_ksys_semtimedop() argument
2288 SYSCALL_DEFINE4(semtimedop_time32,int,semid,struct sembuf __user *,tsems,unsigned int,nsops,const struct old_timespec32 __user *,timeout) SYSCALL_DEFINE4() argument
2296 SYSCALL_DEFINE3(semop,int,semid,struct sembuf __user *,tsops,unsigned,nsops) SYSCALL_DEFINE3() argument
2350 int semid, i; exit_sem() local
[all...]
H A Dutil.h282 long compat_ksys_old_semctl(int semid, int semnum, int cmd, int arg);
/linux/tools/testing/selftests/mm/
H A Drmap.c55 int semid; member
130 semctl(data->semid, 0, IPC_RMID); in propagate_children()
133 semop(data->semid, &sem_wait, 1); in propagate_children()
176 data->semid = semget(IPC_PRIVATE, 1, 0666 | IPC_CREAT); in FIXTURE_SETUP()
177 ASSERT_NE(data->semid, -1); in FIXTURE_SETUP()
178 ASSERT_NE(semctl(data->semid, 0, SETVAL, 0), -1); in FIXTURE_SETUP()
205 semctl(data->semid, 0, IPC_RMID); in FIXTURE_TEARDOWN()
206 data->semid = -1; in FIXTURE_TEARDOWN()
/linux/arch/arm/kernel/
H 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/arch/arm/include/asm/
H A Dsyscalls.h32 asmlinkage long sys_oabi_semtimedop(int semid,
36 asmlinkage long sys_oabi_semop(int semid, struct oabi_sembuf __user *tsops,
/linux/include/linux/
H A Dsyscalls.h761 asmlinkage long sys_semctl(int semid, int semnum, int cmd, unsigned long arg);
762 asmlinkage long sys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
763 asmlinkage long sys_semtimedop(int semid, struct sembuf __user *sops,
766 asmlinkage long sys_semtimedop_time32(int semid, struct sembuf __user *sops,
769 asmlinkage long sys_semop(int semid, struct sembuf __user *sops,
1306 long ksys_semtimedop(int semid, struct sembuf __user *tsops,
1310 long ksys_old_semctl(int semid, int semnum, int cmd, unsigned long arg);
1320 long compat_ksys_semtimedop(int semid, struct sembuf __user *tsems,
1323 long __do_semtimedop(int semid, struct sembuf *tsems, unsigned int nsops,
H A Dcompat.h752 asmlinkage long compat_sys_semctl(int semid, int semnum, int cmd, int arg);