Lines Matching refs:first
238 static long do_compat_semctl(int first, int second, int third, u32 pad) in do_compat_semctl() argument
267 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
274 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
300 err = sys_semctl(first, second, third, fourth); in do_compat_semctl()
329 COMPAT_SYSCALL_DEFINE6(ipc, u32, call, int, first, int, second, in COMPAT_SYSCALL_DEFINE6() argument
341 return sys_semtimedop(first, compat_ptr(ptr), second, NULL); in COMPAT_SYSCALL_DEFINE6()
343 return compat_sys_semtimedop(first, compat_ptr(ptr), second, in COMPAT_SYSCALL_DEFINE6()
346 return sys_semget(first, second, third); in COMPAT_SYSCALL_DEFINE6()
352 return do_compat_semctl(first, second, third, pad); in COMPAT_SYSCALL_DEFINE6()
358 if (first < 0 || second < 0) in COMPAT_SYSCALL_DEFINE6()
364 return do_msgsnd(first, type, up->mtext, second, third); in COMPAT_SYSCALL_DEFINE6()
369 if (first < 0 || second < 0) in COMPAT_SYSCALL_DEFINE6()
381 return do_msgrcv(first, uptr, second, (s32)fifth, third, in COMPAT_SYSCALL_DEFINE6()
385 return sys_msgget(first, second); in COMPAT_SYSCALL_DEFINE6()
387 return compat_sys_msgctl(first, second, compat_ptr(ptr)); in COMPAT_SYSCALL_DEFINE6()
395 err = do_shmat(first, compat_ptr(ptr), second, &raddr, in COMPAT_SYSCALL_DEFINE6()
404 return sys_shmget(first, (unsigned)second, third); in COMPAT_SYSCALL_DEFINE6()
406 return compat_sys_shmctl(first, second, compat_ptr(ptr)); in COMPAT_SYSCALL_DEFINE6()
498 COMPAT_SYSCALL_DEFINE3(msgctl, int, first, int, second, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
511 err = sys_msgctl(first, second, uptr); in COMPAT_SYSCALL_DEFINE3()
526 err = sys_msgctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()
532 err = sys_msgctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()
668 COMPAT_SYSCALL_DEFINE3(shmctl, int, first, int, second, void __user *, uptr) in COMPAT_SYSCALL_DEFINE3() argument
682 err = sys_shmctl(first, second, uptr); in COMPAT_SYSCALL_DEFINE3()
687 err = sys_shmctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()
713 err = sys_shmctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()
719 err = sys_shmctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()
734 err = sys_shmctl(first, second, p); in COMPAT_SYSCALL_DEFINE3()