Lines Matching full:first
20 int ksys_ipc(unsigned int call, int first, unsigned long second, in ksys_ipc() argument
30 return ksys_semtimedop(first, (struct sembuf __user *)ptr, in ksys_ipc()
34 return ksys_semtimedop(first, ptr, second, in ksys_ipc()
37 return compat_ksys_semtimedop(first, ptr, second, in ksys_ipc()
43 return ksys_semget(first, second, third); in ksys_ipc()
50 return ksys_old_semctl(first, second, third, arg); in ksys_ipc()
54 return ksys_msgsnd(first, (struct msgbuf __user *) ptr, in ksys_ipc()
67 return ksys_msgrcv(first, tmp.msgp, second, in ksys_ipc()
71 return ksys_msgrcv(first, in ksys_ipc()
76 return ksys_msgget((key_t) first, second); in ksys_ipc()
78 return ksys_old_msgctl(first, second, in ksys_ipc()
85 ret = do_shmat(first, (char __user *)ptr, in ksys_ipc()
101 return ksys_shmget(first, second, third); in ksys_ipc()
103 return ksys_old_shmctl(first, second, in ksys_ipc()
110 SYSCALL_DEFINE6(ipc, unsigned int, call, int, first, unsigned long, second, in SYSCALL_DEFINE6() argument
113 return ksys_ipc(call, first, second, third, ptr, fifth); in SYSCALL_DEFINE6()
130 int compat_ksys_ipc(u32 call, int first, int second, in compat_ksys_ipc() argument
142 return ksys_semtimedop(first, compat_ptr(ptr), second, NULL); in compat_ksys_ipc()
146 return compat_ksys_semtimedop(first, compat_ptr(ptr), second, in compat_ksys_ipc()
149 return ksys_semget(first, second, third); in compat_ksys_ipc()
155 return compat_ksys_old_semctl(first, second, third, pad); in compat_ksys_ipc()
158 return compat_ksys_msgsnd(first, ptr, second, third); in compat_ksys_ipc()
163 if (first < 0 || second < 0) in compat_ksys_ipc()
172 return compat_ksys_msgrcv(first, ipck.msgp, second, in compat_ksys_ipc()
175 return compat_ksys_msgrcv(first, ptr, second, fifth, third); in compat_ksys_ipc()
178 return ksys_msgget(first, second); in compat_ksys_ipc()
180 return compat_ksys_old_msgctl(first, second, compat_ptr(ptr)); in compat_ksys_ipc()
188 err = do_shmat(first, compat_ptr(ptr), second, &raddr, in compat_ksys_ipc()
197 return ksys_shmget(first, (unsigned int)second, third); in compat_ksys_ipc()
199 return compat_ksys_old_shmctl(first, second, compat_ptr(ptr)); in compat_ksys_ipc()
205 COMPAT_SYSCALL_DEFINE6(ipc, u32, call, int, first, int, second, in COMPAT_SYSCALL_DEFINE6() argument
208 return compat_ksys_ipc(call, first, second, third, ptr, fifth); in COMPAT_SYSCALL_DEFINE6()