Searched refs:version (Results 1 – 5 of 5) sorted by relevance
/ipc/ |
D | syscall.c | 23 int version, ret; in ksys_ipc() local 25 version = call >> 16; /* hack for backward compatibility */ in ksys_ipc() 57 switch (version) { in ksys_ipc() 82 switch (version) { in ksys_ipc() 133 int version; in compat_ksys_ipc() local 136 version = call >> 16; /* hack for backward compatibility */ in compat_ksys_ipc() 166 if (!version) { in compat_ksys_ipc() 186 if (version == 1) in compat_ksys_ipc()
|
D | shm.c | 750 static inline unsigned long copy_shmid_to_user(void __user *buf, struct shmid64_ds *in, int version) in copy_shmid_to_user() argument 752 switch (version) { in copy_shmid_to_user() 777 copy_shmid_from_user(struct shmid64_ds *out, void __user *buf, int version) in copy_shmid_from_user() argument 779 switch (version) { in copy_shmid_from_user() 802 …atic inline unsigned long copy_shminfo_to_user(void __user *buf, struct shminfo64 *in, int version) in copy_shminfo_to_user() argument 804 switch (version) { in copy_shminfo_to_user() 1140 static long ksys_shmctl(int shmid, int cmd, struct shmid_ds __user *buf, int version) in ksys_shmctl() argument 1157 if (copy_shminfo_to_user(buf, &shminfo, version)) in ksys_shmctl() 1176 if (copy_shmid_to_user(buf, &sem64, version)) in ksys_shmctl() 1181 if (copy_shmid_from_user(&sem64, buf, version)) in ksys_shmctl() [all …]
|
D | msg.c | 299 copy_msqid_to_user(void __user *buf, struct msqid64_ds *in, int version) in copy_msqid_to_user() argument 301 switch (version) { in copy_msqid_to_user() 344 copy_msqid_from_user(struct msqid64_ds *out, void __user *buf, int version) in copy_msqid_from_user() argument 346 switch (version) { in copy_msqid_from_user() 570 static long ksys_msgctl(int msqid, int cmd, struct msqid_ds __user *buf, int version) in ksys_msgctl() argument 598 if (copy_msqid_to_user(buf, &msqid64, version)) in ksys_msgctl() 602 if (copy_msqid_from_user(&msqid64, buf, version)) in ksys_msgctl() 620 int version = ipc_parse_version(&cmd); in ksys_old_msgctl() local 622 return ksys_msgctl(msqid, cmd, buf, version); in ksys_old_msgctl() 650 int version) in copy_compat_msqid_from_user() argument [all …]
|
D | sem.c | 1176 static unsigned long copy_semid_to_user(void __user *buf, struct semid64_ds *in, int version) in copy_semid_to_user() argument 1178 switch (version) { in copy_semid_to_user() 1553 copy_semid_from_user(struct semid64_ds *out, void __user *buf, int version) in copy_semid_from_user() argument 1555 switch (version) { in copy_semid_from_user() 1633 static long ksys_semctl(int semid, int semnum, int cmd, unsigned long arg, int version) in ksys_semctl() argument 1655 if (copy_semid_to_user(p, &semid64, version)) in ksys_semctl() 1677 if (copy_semid_from_user(&semid64, p, version)) in ksys_semctl() 1695 int version = ipc_parse_version(&cmd); in ksys_old_semctl() local 1697 return ksys_semctl(semid, semnum, cmd, arg, version); in ksys_old_semctl() 1720 int version) in copy_compat_semid_from_user() argument [all …]
|
D | util.h | 275 int version = *cmd & IPC_64; in compat_ipc_parse_version() local 277 return version; in compat_ipc_parse_version()
|