Home | History | Annotate | Download | only in m_syswrap

Lines Matching refs:ARG1

693 // Always use with low-numbered arg first (e.g. LOHI64(ARG1,ARG2) )
727 PRINT("ioctl ( %ld, 0x%lx )",ARG1,ARG2);
732 PRINT("ioctl ( %ld, 0x%lx, %#lx )",ARG1,ARG2,ARG3);
1071 PRINT("fcntl ( %ld, %ld )", ARG1,ARG2);
1080 PRINT("fcntl[ARG3=='arg'] ( %ld, %ld, %ld )", ARG1,ARG2,ARG3);
1089 PRINT("fcntl[ARG3=='lock'] ( %ld, %ld, %#lx )", ARG1,ARG2,ARG3);
1106 PRINT("fcntl ( %ld, %s )", ARG1, name_for_fcntl(ARG1));
1112 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1133 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1141 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1157 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1167 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1177 PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1187 PRINT("fcntl ( %ld, %s, %#lx '%s')", ARG1, name_for_fcntl(ARG2), ARG3,
1196 PRINT("fcntl ( %ld, %s )", ARG1, name_for_fcntl(ARG2));
1215 PRINT("fcntl ( %ld, %ld [??] )", ARG1, ARG2);
1274 PRINT("futimes ( %ld, %#lx )", ARG1,ARG2);
1276 if (!ML_(fd_allowed)(ARG1, "futimes", tid, False)) {
1286 PRINT("semget ( %ld, %ld, %ld )",ARG1,ARG2,ARG3);
1293 PRINT("semop ( %ld, %#lx, %lu )",ARG1,ARG2,ARG3);
1296 ML_(generic_PRE_sys_semop)(tid, ARG1,ARG2,ARG3);
1304 PRINT("semctl ( %ld, %ld, %ld, %#lx )",ARG1,ARG2,ARG3,ARG4);
1310 PRINT("semctl ( %ld, %ld, %ld, %#lx )",ARG1,ARG2,ARG3,ARG4);
1315 PRINT("semctl ( %ld, %ld, %ld, %#lx )",ARG1,ARG2,ARG3,ARG4);
1320 PRINT("semctl ( %ld, %ld, %ld )",ARG1,ARG2,ARG3);
1325 ML_(generic_PRE_sys_semctl)(tid, ARG1,ARG2,ARG3,ARG4);
1329 ML_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4);
1337 ARG1,(char*)ARG1,ARG2,ARG3,ARG4);
1343 PRINT("sem_open ( %#lx(%s), %ld )",ARG1,(char*)ARG1,ARG2);
1347 PRE_MEM_RASCIIZ( "sem_open(name)", ARG1 );
1355 PRINT("sem_close( %#lx )", ARG1);
1361 PRINT("sem_unlink( %#lx(%s) )", ARG1,(char*)ARG1);
1363 PRE_MEM_RASCIIZ( "sem_unlink(name)", ARG1 );
1368 PRINT("sem_post( %#lx )", ARG1);
1375 PRINT("sem_destroy( %#lx )", ARG1);
1377 PRE_MEM_READ("sem_destroy(sem)", ARG1, sizeof(vki_sem_t));
1382 PRINT("sem_init( %#lx, %ld, %ld )", ARG1, ARG2, ARG3);
1385 PRE_MEM_WRITE("sem_init(sem)", ARG1, sizeof(vki_sem_t));
1390 POST_MEM_WRITE(ARG1, sizeof(vki_sem_t));
1395 PRINT("sem_wait( %#lx )", ARG1);
1402 PRINT("sem_trywait( %#lx )", ARG1);
1427 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
1456 PRINT("bsdthread_register( %#lx, %#lx, %lu )", ARG1, ARG2, ARG3);
1460 pthread_starter = ARG1;
1463 ARG1 = (Word)&pthread_hijack_asm;
1492 PRINT("workq_ops( %ld(%s), %#lx, %ld )", ARG1, workqop_name(ARG1), ARG2,
1497 switch (ARG1) {
1524 VG_(printf)("UNKNOWN workq_ops option %ld\n", ARG1);
1538 PRINT("__mac_syscall( %#lx, %ld, %#lx )", ARG1, ARG2, ARG3);
1554 PRINT("darwin exit( %ld )", ARG1);
1569 VG_(threads)[t].os_state.exitcode = ARG1;
1582 PRINT("sigaction ( %ld, %#lx, %#lx )", ARG1,ARG2,ARG3);
1601 VG_(do_sys_sigaction)(ARG1, (const vki_sigaction_toK_t *)ARG2,
1615 PRINT("__pthread_kill ( %ld, %ld )", ARG1, ARG2);
1640 PRINT("__pthread_canceled ( %ld )", ARG1);
1641 PRE_REG_READ1(long, "__pthread_canceled", void*, arg1);
1648 PRINT("__pthread_markcancel ( %#lx )", ARG1);
1649 PRE_REG_READ1(long, "__pthread_markcancel", void*, arg1);
1657 PRINT("__disable_threadsignal(%ld, %ld, %ld)", ARG1, ARG2, ARG3);
1677 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
1681 int,"code", int,"arg1", int,"arg2",
1689 PRINT("seteuid(%ld)", ARG1);
1696 PRINT("setegid(%ld)", ARG1);
1702 PRINT("settid(%ld, %ld)", ARG1, ARG2);
1711 PRINT("watchevent(%#lx, %#lx)", ARG1, ARG2);
1715 PRE_MEM_READ("watchevent(event)", ARG1, sizeof(vki_eventreq));
1723 PRINT("waitevent(%#lx, %#lx)", ARG1, ARG2);
1726 PRE_MEM_WRITE("waitevent(event)", ARG1, sizeof(vki_eventreq));
1738 POST_MEM_WRITE(ARG1, sizeof(vki_eventreq));
1743 PRINT("modwatch(%#lx, %#lx)", ARG1, ARG2);
1747 PRE_MEM_READ("modwatch(event)", ARG1, sizeof(vki_eventreq));
1754 ARG1, (char *)ARG1, ARG2, (char *)ARG2, ARG3, ARG4, ARG5, ARG6);
1759 PRE_MEM_RASCIIZ("getxattr(path)", ARG1);
1773 ARG1, ARG2, (char *)ARG2, ARG3, ARG4, ARG5, ARG6);
1791 ARG1, (char *)ARG1, ARG2, (char*)ARG2, ARG3, ARG4, ARG5, ARG6 );
1796 PRE_MEM_RASCIIZ( "setxattr(path)", ARG1 );
1805 ARG1, ARG2, (char*)ARG2, ARG3, ARG4, ARG5, ARG6 );
1818 ARG1, (HChar*)ARG1, ARG2, (HChar*)ARG2, ARG3 );
1821 PRE_MEM_RASCIIZ( "removexattr(path)", ARG1 );
1829 ARG1, ARG2, (HChar*)ARG2, ARG3 );
1839 ARG1, (char *)ARG1, ARG2, ARG3, ARG4 );
1844 PRE_MEM_RASCIIZ( "listxattr(path)", ARG1 );
1859 ARG1, ARG2, ARG3, ARG4 );
1877 PRINT("shmat ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
1880 arg2tmp = ML_(generic_PRE_sys_shmat)(tid, ARG1,ARG2,ARG3);
1888 ML_(generic_POST_sys_shmat)(tid, RES,ARG1,ARG2,ARG3);
1893 PRINT("shmctl ( %ld, %ld, %#lx )",ARG1,ARG2,ARG3);
1896 ML_(generic_PRE_sys_shmctl)(tid, ARG1,ARG2,ARG3);
1900 ML_(generic_POST_sys_shmctl)(tid, RES,ARG1,ARG2,ARG3);
1905 PRINT("shmdt ( %#lx )",ARG1);
1907 if (!ML_(generic_PRE_sys_shmdt)(tid, ARG1))
1912 ML_(generic_POST_sys_shmdt)(tid, RES,ARG1);
1917 PRINT("shmget ( %ld, %ld, %ld )",ARG1,ARG2,ARG3);
1923 PRINT("shm_open(%#lx(%s), %ld, %ld)", ARG1, (char *)ARG1, ARG2, ARG3);
1927 PRE_MEM_RASCIIZ( "shm_open(filename)", ARG1 );
1939 ML_(record_fd_open_with_given_name)(tid, RES, (Char*)ARG1);
1946 PRINT("shm_unlink ( %#lx(%s) )", ARG1,(char*)ARG1);
1948 PRE_MEM_RASCIIZ( "shm_unlink(pathname)", ARG1 );
1962 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
1965 PRE_MEM_RASCIIZ( "stat_extended(file_name)", ARG1 );
1983 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
1986 PRE_MEM_RASCIIZ( "lstat_extended(file_name)", ARG1 );
2004 ARG1, ARG2, ARG3, ARG4);
2024 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
2027 PRE_MEM_RASCIIZ( "stat64_extended(file_name)", ARG1 );
2045 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
2048 PRE_MEM_RASCIIZ( "lstat64_extended(file_name)", ARG1 );
2066 ARG1, ARG2, ARG3, ARG4);
2088 ARG1, ARG2, ARG3, ARG4, ARG5);
2109 ARG1, ARG1 ? (HChar*)ARG1 : "(null)", ARG2, ARG3, ARG4, ARG5);
2116 PRE_MEM_RASCIIZ("chmod_extended(path)", ARG1);
2131 ARG1, ARG1 ? (HChar*)ARG1 : "(null)",
2140 PRE_MEM_RASCIIZ("open_extended(path)", ARG1);
2175 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
2181 PRE_MEM_READ("access_extended(entries)", ARG1, ARG2 );
2194 struct vki_accessx_descriptor* entries = (struct vki_accessx_descriptor*)ARG1;
2235 PRINT("chflags ( %#lx(%s), %lu )", ARG1, (char *)ARG1, ARG2);
2237 PRE_MEM_RASCIIZ("chflags(path)", ARG1);
2244 PRINT("fchflags ( %ld, %lu )", ARG1, ARG2);
2252 PRINT("stat64 ( %#lx(%s), %#lx )", ARG1, (char *)ARG1, ARG2);
2254 PRE_MEM_RASCIIZ("stat64(path)", ARG1);
2264 PRINT("lstat64 ( %#lx(%s), %#lx )", ARG1, (char *)ARG1, ARG2);
2266 PRE_MEM_RASCIIZ("lstat64(path)", ARG1);
2276 PRINT("fstat64 ( %ld, %#lx )", ARG1,ARG2);
2287 PRINT("getfsstat(%#lx, %ld, %ld)", ARG1, ARG2, ARG3);
2290 if (ARG1) {
2292 PRE_MEM_WRITE("getfsstat(buf)", ARG1, ARG2);
2297 if (ARG1) {
2299 POST_MEM_WRITE(ARG1, RES * sizeof(struct vki_statfs));
2305 PRINT("getfsstat64(%#lx, %ld, %ld)", ARG1, ARG2, ARG3);
2308 if (ARG1) {
2310 PRE_MEM_WRITE("getfsstat64(buf)", ARG1, ARG2);
2315 if (ARG1) {
2317 POST_MEM_WRITE(ARG1, RES * sizeof(struct vki_statfs64));
2328 ARG1,(Char*)ARG1, ARG2,(Char*)ARG2, ARG3, ARG4);
2332 PRE_MEM_RASCIIZ( "mount(type)", ARG1);
2515 ARG1, (char *)ARG1
2519 PRE_MEM_RASCIIZ("getattrlist(path)", ARG1);
2543 ARG1, (char *)ARG1, ARG2, ARG3, ARG4, ARG5);
2547 PRE_MEM_RASCIIZ("setattrlist(path)", ARG1);
2556 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
2600 ARG1, ARG2, ARG3,
2609 ARG1, ARG2, ARG3,
2617 PRE_MEM_WRITE("fsgetpath(buf)", ARG1, ARG2);
2622 POST_MEM_WRITE(ARG1, RES);
2639 ARG1, (char*)ARG1, ARG2, (char*)ARG2, ARG3);
2642 PRE_MEM_RASCIIZ( "exchangedata(path1)", ARG1 );
2649 ARG1, (char *)ARG1, ARG2, ARG3, ARG4);
2654 PRE_MEM_RASCIIZ( "fsctl(path)", ARG1 );
2707 PRINT("initgroups(%s, %#lx, %lu)", (char *)ARG1, ARG2, ARG3);
2710 PRE_MEM_READ("gidset", ARG2, ARG1 * sizeof(vki_gid_t));
2775 ARG1, ARG2, ARG2 ? (HChar*)ARG2 : "(null)", ARG3, ARG4, ARG5 );
2781 PRE_MEM_WRITE("posix_spawn(pid)", ARG1, sizeof(vki_pid_t) );
2793 ARG1, ARG2, ARG2 ? (HChar*)ARG2 : "(null)", ARG3, ARG4, ARG5 );
2958 if (ARG1 != 0) {
2959 POST_MEM_WRITE( ARG1, sizeof(vki_pid_t) );
2966 PRINT("socket ( %ld, %ld, %ld )",ARG1,ARG2,ARG3);
2982 ARG1,ARG2,ARG3,ARG4,ARG5);
2986 ML_(generic_PRE_sys_setsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
2995 ARG1,ARG2,ARG3,ARG4,ARG5);
3028 PRINT("connect ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
3031 ML_(generic_PRE_sys_connect)(tid, ARG1,ARG2,ARG3);
3038 PRINT("accept ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
3041 ML_(generic_PRE_sys_accept)(tid, ARG1,ARG2,ARG3);
3049 ARG1,ARG2,ARG3);
3058 ARG1,(char *)ARG2,ARG3,ARG4,ARG5,ARG6);
3063 ML_(generic_PRE_sys_sendto)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3070 ARG1, ARG2, LOHI64(ARG3, ARG4), ARG5, ARG6, ARG7);
3080 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
3107 ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3111 ML_(generic_PRE_sys_recvfrom)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3118 ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3125 PRINT("sendmsg ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
3135 PRINT("recvmsg ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
3149 PRINT("shutdown ( %ld, %ld )",ARG1,ARG2);
3156 PRINT("bind ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
3159 ML_(generic_PRE_sys_bind)(tid, ARG1,ARG2,ARG3);
3165 PRINT("listen ( %ld, %ld )",ARG1,ARG2);
3172 PRINT("getsockname ( %ld, %#lx, %#lx )",ARG1,ARG2,ARG3);
3175 ML_(generic_PRE_sys_getsockname)(tid, ARG1,ARG2,ARG3);
3182 ARG1,ARG2,ARG3);
3188 PRINT("getpeername ( %ld, %#lx, %#lx )",ARG1,ARG2,ARG3);
3191 ML_(generic_PRE_sys_getpeername)(tid, ARG1,ARG2,ARG3);
3198 ARG1,ARG2,ARG3);
3204 PRINT("socketpair ( %ld, %ld, %ld, %#lx )",ARG1,ARG2,ARG3,ARG4);
3207 ML_(generic_PRE_sys_socketpair)(tid, ARG1,ARG2,ARG3,ARG4);
3214 ARG1,ARG2,ARG3,ARG4);
3220 PRINT("gethostuuid ( %#lx, %#lx )", ARG1, ARG2);
3225 PRE_MEM_WRITE("uuid_buf", ARG1, 16);
3234 POST_MEM_WRITE(ARG1, 16);
3267 PRINT("getlogin ( %#lx, %ld )", ARG1, ARG2);
3271 PRE_MEM_WRITE("getlogin(namebuf)", ARG1, ARG2);
3276 POST_MEM_WRITE(ARG1, ARG2);
3282 PRINT("ptrace ( %ld, %ld, %#lx, %ld )", ARG1, ARG2, ARG3, ARG4);
3314 PRINT("lseek ( %ld, %ld, %ld )", ARG1,ARG2,ARG3);
3323 PRINT("pathconf(%#lx(%s), %ld)", ARG1,(char *)ARG1,ARG2);
3325 PRE_MEM_RASCIIZ("pathconf(path)", ARG1);
3331 PRINT("fpathconf(%ld, %ld)", ARG1,ARG2);
3334 if (!ML_(fd_allowed)(ARG1, "fpathconf", tid, False))
3341 PRINT("getdirentries(%ld, %#lx, %ld, %#lx)", ARG1, ARG2, ARG3, ARG4);
3358 PRINT("getdirentries64(%ld, %#lx, %lu, %#lx)", ARG1, ARG2, ARG3, ARG4);
3374 PRINT("statfs64 ( %#lx(%s), %#lx )",ARG1,(char *)ARG1,ARG2);
3376 PRE_MEM_RASCIIZ( "statfs64(path)", ARG1 );
3387 PRINT("fstatfs64 ( %ld, %#lx )",ARG1,ARG2);
3399 PRINT("csops ( %ld, %#lx, %#lx, %lu )", ARG1, ARG2, ARG3, ARG4);
3408 if (!ARG1 || VG_(getpid)() == ARG1) {
3424 PRINT("auditon ( %ld, %#lx, %ld )", ARG1, ARG2, ARG3);
3428 switch (ARG1) {
3479 VG_(message)(Vg_UserMsg, "UNKNOWN auditon cmd %ld", ARG1);
3485 switch (ARG1) {
3546 ARG1, ARG2, ARG3, ARG4, ARG5, LOHI64(ARG6, ARG7) );
3552 // r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5,
3556 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 );
3560 // r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 );
3581 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 );
3587 PRE_MEM_READ("sysctl(name)", ARG1, ARG2); // reads name[0..namelen-1]
3603 int *name = (int *)ARG1;
3618 if (ARG1 && ARG2 == 2 &&
3619 ((int *)ARG1)[0] == VKI_CTL_KERN &&
3621 ((int *)ARG1)[1] == VKI_KERN_USRSTACK32
3623 ((int *)ARG1)[1] == VKI_KERN_USRSTACK64
3675 PRINT( "sigpending ( %#lx )", ARG1 );
3677 PRE_MEM_WRITE( "sigpending(set)", ARG1, sizeof(vki_sigset_t));
3681 POST_MEM_WRITE( ARG1, sizeof(vki_sigset_t) ) ;
3687 UWord arg1;
3688 PRINT("sigprocmask ( %ld, %#lx, %#lx )", ARG1, ARG2, ARG3);
3696 /* Massage ARG1 ('how'). If ARG2 (the new mask) is NULL then the
3706 arg1 = ARG1;
3708 && ARG1 != VKI_SIG_BLOCK
3709 && ARG1 != VKI_SIG_UNBLOCK && ARG1 != VKI_SIG_SETMASK) {
3710 arg1 = VKI_SIG_SETMASK;
3713 VG_(do_sys_sigprocmask) ( tid, arg1, (vki_sigset_t*)ARG2,
3737 PRINT("sigsuspend ( mask=0x%08lx )", ARG1 );
3761 (Int)ARG1, (Int)ARG2, (UInt)ARG3, LOHI64(ARG4,ARG5), ARG6, (Int)ARG7);
3770 (Int)ARG1, (Int)ARG2, (UInt)ARG3, (ULong)ARG4, ARG5, (Int)ARG6);
3813 struct vki_aiocb* aiocbp = (struct vki_aiocb*)ARG1;
3816 PRINT( "aio_return ( %#lx )", ARG1 );
3830 struct vki_aiocb* aiocbp = (struct vki_aiocb*)ARG1;
3840 PRINT( "aio_suspend ( %#lx )", ARG1 );
3845 PRE_MEM_READ("aio_suspend(list)", ARG1, ARG2 * sizeof(struct vki_aiocb *));
3854 PRINT( "aio_error ( %#lx )", ARG1 );
3860 struct vki_aiocb* aiocbp = (struct vki_aiocb*)ARG1;
3862 PRINT( "aio_read ( %#lx )", ARG1 );
3864 PRE_MEM_READ( "aio_read(aiocbp)", ARG1, sizeof(struct vki_aiocb));
3882 struct vki_aiocb* aiocbp = (struct vki_aiocb*)ARG1;
3892 struct vki_aiocb* aiocbp = (struct vki_aiocb*)ARG1;
3894 PRINT( "aio_write ( %#lx )", ARG1 );
3896 PRE_MEM_READ( "aio_write(aiocbp)", ARG1, sizeof(struct vki_aiocb));
4175 Reply *reply = (Reply *)ARG1;
4191 Request *req = (Request *)ARG1;
4210 Reply *reply = (Reply *)ARG1;
4239 Reply *reply = (Reply *)ARG1;
4253 // Request *req = (Request *)ARG1;
4273 Reply *reply = (Reply *)ARG1;
4289 Request *req = (Request *)ARG1;
4311 Request *req = (Request *)ARG1;
4356 Request *req = (Request *)ARG1;
4423 Request *req = (Request *)ARG1;
4447 Request *req = (Request *)ARG1;
4468 Reply *reply = (Reply *)ARG1;
4484 Request *req = (Request *)ARG1;
4504 Reply *reply = (Reply *)ARG1;
4531 Request *req = (Request *)ARG1;
4556 Reply *reply = (Reply *)ARG1;
4582 Request *req = (Request *)ARG1;
4605 Reply *reply = (Reply *)ARG1;
4627 Request *req = (Request *)ARG1;
4654 Reply *reply = (Reply *)ARG1;
4681 Request *req = (Request *)ARG1;
4705 // Reply *reply = (Reply *)ARG1;
4722 Request *req = (Request *)ARG1;
4746 Reply *reply = (Reply *)ARG1;
4766 Request *req = (Request *)ARG1;
4791 Reply *reply = (Reply *)ARG1;
4822 Request *req = (Request *)ARG1;
4852 Request *req = (Request *)ARG1;
4887 Request *req = (Request *)ARG1;
4916 Request *req = (Request *)ARG1;
4943 Request *req = (Request *)ARG1;
4968 Request *req = (Request *)ARG1;
4993 Request *req = (Request *)ARG1;
5042 Reply *reply = (Reply *)ARG1;
5086 Request *req = (Request *)ARG1;
5107 Reply *reply = (Reply *)ARG1;
5127 Request *req = (Request *)ARG1;
5148 Reply *reply = (Reply *)ARG1;
5164 // Request *req = (Request *)ARG1;
5185 // Reply *reply = (Reply *)ARG1;
5197 // Request *req = (Request *)ARG1;
5219 Reply *reply = (Reply *)ARG1;
5279 Request *req = (Request *)ARG1;
5303 Reply *reply = (Reply *)ARG1;
5336 Request *req = (Request *)ARG1;
5363 Reply *reply = (Reply *)ARG1;
5394 Request *req = (Request *)ARG1;
5420 Reply *reply = (Reply *)ARG1;
5455 Request *req = (Request *)ARG1;
5476 Reply *reply = (Reply *)ARG1;
5499 Request *req = (Request *)ARG1;
5525 // Reply *reply = (Reply *)ARG1;
5546 Request *req = (Request *)ARG1;
5571 // Reply *reply = (Reply *)ARG1;
5592 Request *req = (Request *)ARG1;
5618 Reply *reply = (Reply *)ARG1;
5648 Request *req = (Request *)ARG1;
5673 Reply *reply = (Reply *)ARG1;
5708 Request *req = (Request *)ARG1;
5735 Reply *reply = (Reply *)ARG1;
5771 Request *req = (Request *)ARG1;
5790 // arg1 is task
5812 Reply *reply = (Reply *)ARG1;
5846 Request *req = (Request *)ARG1;
5867 Reply *reply = (Reply *)ARG1;
5888 Request *req = (Request *)ARG1;
5910 Reply *reply = (Reply *)ARG1;
5931 Request *req = (Request *)ARG1;
5953 Reply *reply = (Reply *)ARG1;
5974 Request *req = (Request *)ARG1;
5998 Reply *reply = (Reply *)ARG1;
6030 Request *req = (Request *)ARG1;
6057 Reply *reply = (Reply *)ARG1;
6088 Request *req = (Request *)ARG1;
6113 Reply *reply = (Reply *)ARG1;
6146 Request *req = (Request *)ARG1;
6166 Reply *reply = (Reply *)ARG1;
6189 Request *req = (Request *)ARG1;
6195 // arg1 is task
6214 ARG1;
6249 Request *req = (Request *)ARG1;
6277 Reply *reply = (Reply *)ARG1;
6305 Request *req = (Request *)ARG1;
6329 Reply *reply = (Reply *)ARG1;
6355 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6429 req = (Request *)ARG1;
6454 Reply *reply = (Reply *)ARG1;
6466 ARG1, ARG2, ARG3, ARG4, ARG5);
6521 ARG1, ARG2, name_for_port(ARG3), name_for_port(ARG4));
6529 if (ARG1 && ARG2) {
6530 ML_(notify_core_and_tool_of_munmap)(ARG1, ARG2);
6534 VG_(do_syscall2)(__NR_munmap, ARG1, ARG2);
6536 vm_deallocate(mach_task_self(), (vm_address_t)ARG1, (vm_size_t)ARG2);
6555 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6588 Reply *reply = (Reply *)ARG1;
6612 Request *req = (Request *)ARG1;
6633 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6652 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6666 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6697 Reply *reply = (Reply *)ARG1;
6716 Request *req = (Request *)ARG1;
6740 Reply *reply = (Reply *)ARG1;
6764 Request *req = (Request *)ARG1;
6783 // mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6795 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6811 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6834 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
6869 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
7036 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
7091 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
7189 mach_msg_header_t *mh = (mach_msg_header_t *)ARG1;
7282 name_for_port(ARG1), ARG2, ARG3);
7292 PRINT("semaphore_signal(%s)", name_for_port(ARG1));
7299 PRINT("semaphore_signal_all(%s)", name_for_port(ARG1));
7307 name_for_port(ARG1), name_for_port(ARG2));
7315 PRINT("semaphore_wait(%s)", name_for_port(ARG1));
7325 name_for_port(ARG1), name_for_port(ARG2));
7337 name_for_port(ARG1), ARG2+ARG3/1000000000.0);
7350 name_for_port(ARG1), name_for_port(ARG2), ARG3+ARG4/1000000000.0);
7367 name_for_port(ARG1), name_for_port(ARG2), ARG3, ARG4, ARG5, ARG6);
7384 // name_for_port(ARG1), name_for_port(ARG2), ARG3, ARG4, ARG5);
7405 PRINT("task_for_pid(%s, %ld, %#lx)", name_for_port(ARG1), ARG2, ARG3);
7426 PRINT("pid_for_task(%s, %#lx)", name_for_port(ARG1), ARG2);
7444 PRINT("mach_timebase_info(%#lx)", ARG1);
7446 PRE_MEM_WRITE("mach_timebase_info(info)", ARG1, sizeof(struct vki_mach_timebase_info));
7451 POST_MEM_WRITE(ARG1, sizeof(struct vki_mach_timebase_info));
7458 PRINT("mach_wait_until(%lu)", ARG1);
7462 PRINT("mach_wait_until(%llu)", LOHI64(ARG1, ARG2));
7484 PRINT("mk_timer_destroy(%s)", name_for_port(ARG1));
7495 record_port_destroy(ARG1);
7502 PRINT("mk_timer_arm(%s, %lu)", name_for_port(ARG1), ARG2);
7506 PRINT("mk_timer_arm(%s, %llu)", name_for_port(ARG1), LOHI64(ARG2, ARG3));
7515 PRINT("mk_timer_cancel(%s, %#lx)", name_for_port(ARG1), ARG2);
7534 name_for_port(ARG1), ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
7561 PRINT("swtch_pri ( %ld )", ARG1);
7606 PRINT("sigreturn ( uctx=%#lx, infostyle=%#lx )", ARG1, ARG2);
7645 the integer regs) from the ucontext in ARG1 (and do all the
7649 temporarily copy ARG1 into this thread's guest_EBX (or any
7655 pointed to by ARG1.
7686 PRINT("thread_fast_set_cthread_self ( %#lx )", ARG1);
7702 ldt[6].LdtEnt.Bits.BaseLow = ARG1 & 0xffff;
7703 ldt[6].LdtEnt.Bits.BaseMid = (ARG1 >> 16) & 0xff;
7704 ldt[6].LdtEnt.Bits.BaseHi = (ARG1 >> 24) & 0xff;
7711 tst->os_state.pthread = ARG1;
7732 tst->os_state.pthread = ARG1;
7733 tst->arch.vex.guest_GS_0x60 = ARG1;
7756 PRINT("getaudit_addr(%#lx, %lu)", ARG1, ARG2);
7758 PRE_MEM_WRITE("getaudit_addr(auditinfo_addr)", ARG1, ARG2);
7762 POST_MEM_WRITE(ARG1, ARG2);