Lines Matching refs:version
1193 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument
1195 switch (version) { in copy_semid_to_user()
1570 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument
1572 switch (version) { in copy_semid_from_user()
1650 static long ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version) in ksys_semctl() argument
1672 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl()
1694 if (copy_semid_from_user(&semid64, p, version)) in ksys_semctl()
1712 int version = ipc_parse_version(&cmd); in ksys_old_semctl() local
1714 return ksys_semctl(semid, semnum, cmd, arg, version); in ksys_old_semctl()
1737 int version) in copy_compat_semid_from_user() argument
1740 if (version == IPC_64) { in copy_compat_semid_from_user()
1750 int version) in copy_compat_semid_to_user() argument
1752 if (version == IPC_64) { in copy_compat_semid_to_user()
1773 static long compat_ksys_semctl(int semid, int semnum, int cmd, int arg, int version) in compat_ksys_semctl() argument
1795 if (copy_compat_semid_to_user(p, &semid64, version)) in compat_ksys_semctl()
1808 if (copy_compat_semid_from_user(&semid64, p, version)) in compat_ksys_semctl()
1826 int version = compat_ipc_parse_version(&cmd); in compat_ksys_old_semctl() local
1828 return compat_ksys_semctl(semid, semnum, cmd, arg, version); in compat_ksys_old_semctl()