Lines Matching refs:ARG3
1116 PRINT("ioctl ( %lu, 0x%lx, %#lx )", ARG1, ARG2, ARG3);
1123 PRE_MEM_WRITE( "ioctl(TIOCGWINSZ)", ARG3, sizeof(struct vki_winsize) );
1126 PRE_MEM_READ( "ioctl(TIOCSWINSZ)", ARG3, sizeof(struct vki_winsize) );
1129 PRE_MEM_READ( "ioctl(TIOCMBIS)", ARG3, sizeof(unsigned int) );
1132 PRE_MEM_READ( "ioctl(TIOCMBIC)", ARG3, sizeof(unsigned int) );
1135 PRE_MEM_READ( "ioctl(TIOCMSET)", ARG3, sizeof(unsigned int) );
1138 PRE_MEM_WRITE( "ioctl(TIOCMGET)", ARG3, sizeof(unsigned int) );
1142 PRE_MEM_WRITE( "ioctl(TIOCGPGRP)", ARG3, sizeof(vki_pid_t) );
1146 PRE_MEM_WRITE( "ioctl(TIOCGPGRP)", ARG3, sizeof(vki_pid_t) );
1149 PRE_MEM_READ( "ioctl(FIONBIO)", ARG3, sizeof(int) );
1152 PRE_MEM_READ( "ioctl(FIOASYNC)", ARG3, sizeof(int) );
1155 PRE_MEM_WRITE( "ioctl(FIONREAD)", ARG3, sizeof(int) );
1163 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1164 PRE_MEM_WRITE( "ioctl(SIOCGIFFLAGS)", ARG3, sizeof(struct vki_ifreq));
1168 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1169 PRE_MEM_WRITE( "ioctl(SIOCGIFMTU)", ARG3, sizeof(struct vki_ifreq));
1173 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1174 PRE_MEM_WRITE( "ioctl(SIOCGIFADDR)", ARG3, sizeof(struct vki_ifreq));
1178 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1179 PRE_MEM_WRITE( "ioctl(SIOCGIFNETMASK)", ARG3, sizeof(struct vki_ifreq));
1183 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1184 PRE_MEM_WRITE( "ioctl(SIOCGIFMETRIC)", ARG3, sizeof(struct vki_ifreq));
1188 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1189 PRE_MEM_WRITE( "ioctl(SIOCGIFDSTADDR)", ARG3, sizeof(struct vki_ifreq));
1193 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1194 PRE_MEM_WRITE( "ioctl(SIOCGIFBRDADDR)", ARG3, sizeof(struct vki_ifreq));
1198 PRE_MEM_WRITE( "ioctl(SIOCGIFCONF)", ARG3, sizeof(struct ifconf));
1201 POST_MEM_WRITE(ARG3, sizeof(struct ifconf));
1204 (Addr)&((struct vki_ifconf *)ARG3)->ifc_len,
1205 sizeof(((struct vki_ifconf *)ARG3)->ifc_len));
1207 (Addr)&((struct vki_ifconf *)ARG3)->vki_ifc_buf,
1208 sizeof(((struct vki_ifconf *)ARG3)->vki_ifc_buf));
1209 if ( ARG3 ) {
1212 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3;
1220 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1222 (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_flags,
1223 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_flags) );
1230 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1232 (Addr)&((struct vki_ifreq *)ARG3)->ifr_addr,
1233 sizeof(((struct vki_ifreq *)ARG3)->ifr_addr) );
1237 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1239 (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_metric,
1240 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_metric) );
1244 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1246 (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_mtu,
1247 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_mtu) );
1253 PRE_MEM_READ( "ioctl(SIOCADDRT/DELRT)", ARG3,
1259 PRE_MEM_WRITE( "ioctl(SIOCGPGRP)", ARG3, sizeof(int) );
1262 PRE_MEM_READ( "ioctl(SIOCSPGRP)", ARG3, sizeof(int) );
1267 PRE_MEM_WRITE( "ioctl(FIONREAD)", ARG3, sizeof(int) );
1275 PRE_MEM_WRITE( "ioctl(TIOCGETA)", ARG3, sizeof(struct vki_termios) );
1278 PRE_MEM_READ( "ioctl(TIOCSETA)", ARG3, sizeof(struct vki_termios) );
1281 PRE_MEM_WRITE( "ioctl(TIOCGETD)", ARG3, sizeof(int) );
1284 PRE_MEM_READ( "ioctl(TIOCSETD)", ARG3, sizeof(int) );
1287 PRE_MEM_WRITE( "ioctl(TIOCPTYGNAME)", ARG3, 128 );
1309 (Addr)&((struct vki_bpf_program *)ARG3)->vki_bf_len,
1310 sizeof(((struct vki_bpf_program *)ARG3)->vki_bf_len) );
1312 (Addr)&((struct vki_bpf_program *)ARG3)->vki_bf_insns,
1313 sizeof(((struct vki_bpf_program *)ARG3)->vki_bf_insns) );
1314 if ( ARG3 ) {
1316 struct vki_bpf_program *bp = (struct vki_bpf_program *)ARG3;
1325 (Addr)((struct vki_ifreq *)ARG3)->vki_ifr_name );
1338 (Addr)&((struct vki_timeval *)ARG3)->vki_tv_sec,
1339 sizeof(((struct vki_timeval *)ARG3)->vki_tv_sec) );
1341 (Addr)&((struct vki_timeval *)ARG3)->vki_tv_usec,
1342 sizeof(((struct vki_timeval *)ARG3)->vki_tv_usec) );
1346 (Addr)&((struct vki_bpf_dltlist *)ARG3)->vki_bfl_list,
1347 sizeof(((struct vki_bpf_dltlist *)ARG3)->vki_bfl_list) );
1348 if ( ARG3 ) {
1350 struct vki_bpf_dltlist *bdl = (struct vki_bpf_dltlist *)ARG3;
1353 (Addr)&((struct vki_bpf_dltlist *)ARG3)->vki_bfl_len,
1354 sizeof(((struct vki_bpf_dltlist *)ARG3)->vki_bfl_len) );
1362 ML_(PRE_unknown_ioctl)(tid, ARG2, ARG3);
1373 POST_MEM_WRITE( ARG3, sizeof(struct vki_winsize) );
1381 POST_MEM_WRITE( ARG3, sizeof(unsigned int) );
1385 POST_MEM_WRITE( ARG3, sizeof(vki_pid_t) );
1389 POST_MEM_WRITE( ARG3, sizeof(vki_pid_t) );
1398 POST_MEM_WRITE( ARG3, sizeof(int) );
1403 POST_MEM_WRITE( (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_flags,
1404 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_flags) );
1407 POST_MEM_WRITE( (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_mtu,
1408 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_mtu) );
1415 (Addr)&((struct vki_ifreq *)ARG3)->ifr_addr,
1416 sizeof(((struct vki_ifreq *)ARG3)->ifr_addr) );
1420 (Addr)&((struct vki_ifreq *)ARG3)->vki_ifr_metric,
1421 sizeof(((struct vki_ifreq *)ARG3)->vki_ifr_metric) );
1425 PRE_MEM_WRITE("ioctl(SIOCGIFCONF)", ARG3, sizeof(struct ifconf));
1428 POST_MEM_WRITE(ARG3, sizeof(struct ifconf));
1430 if (RES == 0 && ARG3 ) {
1431 struct vki_ifconf *ifc = (struct vki_ifconf *) ARG3;
1454 POST_MEM_WRITE(ARG3, sizeof(int));
1460 POST_MEM_WRITE( ARG3, sizeof(int) );
1469 POST_MEM_WRITE( ARG3, sizeof(struct vki_termios));
1474 POST_MEM_WRITE( ARG3, sizeof(int) );
1479 POST_MEM_WRITE( ARG3, 128);
1489 if (RES == 0 && ARG3 ) {
1491 struct vki_bpf_dltlist *bdl = (struct vki_bpf_dltlist *)ARG3;
1499 ML_(POST_unknown_ioctl)(tid, RES, ARG2, ARG3);
1546 // These ones ignore ARG3.
1554 // These ones use ARG3 as "arg".
1559 PRINT("fcntl[ARG3=='arg'] ( %lu, %lu, %lu )", ARG1,ARG2,ARG3);
1564 // These ones use ARG3 as "lock".
1568 PRINT("fcntl[ARG3=='lock'] ( %lu, %lu, %#lx )", ARG1,ARG2,ARG3);
1578 PRINT("fcntl[ARG3=='locktimeout'] ( %lu, %lu, %#lx )", ARG1,ARG2,ARG3);
1600 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1605 struct vki_fstore *fstore = (struct vki_fstore *)ARG3;
1621 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1629 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1634 struct vki_radvisory *radvisory = (struct vki_radvisory *)ARG3;
1646 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1651 ARG3, sizeof(struct vki_fbootstraptransfer) );
1657 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1662 ARG3, sizeof(struct vki_log2phys) );
1667 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1672 ARG3, VKI_MAXPATHLEN );
1677 PRINT("fcntl ( %lu, %s, %#lx '%s')", ARG1, name_for_fcntl(ARG2), ARG3,
1678 (HChar *)ARG3);
1682 PRE_MEM_RASCIIZ( "fcntl(F_PATHPKG_CHECK, pathbuf)", ARG3);
1692 vki_fsignatures_t *fsigs = (vki_fsignatures_t*)ARG3;
1705 PRINT("fcntl ( %lu, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
1711 vki_fsignatures_t *fsigs = (vki_fsignatures_t*)ARG3;
1772 struct vki_fstore *fstore = (struct vki_fstore *)ARG3;
1778 POST_MEM_WRITE( ARG3, sizeof(struct vki_log2phys) );
1782 POST_MEM_WRITE( ARG3, 1+VG_(strlen)((char *)ARG3) );
1783 PRINT("\"%s\"", (char*)ARG3);
1817 PRINT("semop ( %ld, %#lx, %lu )", SARG1, ARG2, ARG3);
1820 ML_(generic_PRE_sys_semop)(tid, ARG1,ARG2,ARG3);
1825 switch (ARG3) {
1849 ML_(generic_PRE_sys_semctl)(tid, ARG1,ARG2,ARG3,ARG4);
1853 ML_(generic_POST_sys_semctl)(tid, RES,ARG1,ARG2,ARG3,ARG4);
1861 ARG1, (HChar*)ARG1, SARG2, ARG3, ARG4);
1906 PRINT("sem_init( %#lx, %ld, %lu )", ARG1, SARG2, ARG3);
1957 ARG1, (char*)ARG1, ARG2, ARG3, ARG4);
1987 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
1993 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
1999 ARG1, ARG2, ARG3);
2006 SARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
2012 if (ARG3) PRE_MEM_READ ("kevent(changelist)",
2013 ARG2, ARG3 * sizeof(struct vki_kevent));
2038 if (ARG3) PRE_MEM_READ ("kevent64(changelist)",
2039 ARG2, ARG3 * sizeof(struct vki_kevent64));
2064 PRINT("bsdthread_register( %#lx, %#lx, %lu )", ARG1, ARG2, ARG3);
2070 pthread_structsize = ARG3;
2161 ARG1, (HChar*)ARG1, SARG2, ARG3);
2205 PRINT("sigaction ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
2219 if (ARG3 != 0)
2221 ARG3, sizeof(vki_sigaction_fromK_t));
2225 (vki_sigaction_fromK_t *)ARG3)
2231 if (RES == 0 && ARG3 != 0)
2232 POST_MEM_WRITE( ARG3, sizeof(vki_sigaction_fromK_t));
2247 PRINT("__pthread_sigmask ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
2252 if (ARG3 != 0)
2253 PRE_MEM_WRITE( "__pthread_sigmask(oldset)", ARG3, sizeof(vki_sigset_t));
2273 (vki_sigset_t*)ARG3 )
2282 if (RES == 0 && ARG3 != 0)
2283 POST_MEM_WRITE( ARG3, sizeof(vki_sigset_t));
2350 int,"arg3", int,"arg4", int,"arg5");
2428 ARG1, (HChar *)ARG1, ARG2, (HChar *)ARG2, ARG3, ARG4, ARG5, SARG6);
2435 if (ARG3)
2436 PRE_MEM_WRITE( "getxattr(value)", ARG3, ARG4);
2442 if (ARG3)
2443 POST_MEM_WRITE(ARG3, (vki_ssize_t)RES);
2449 SARG1, ARG2, (HChar *)ARG2, ARG3, ARG4, ARG5, SARG6);
2455 PRE_MEM_WRITE( "getxattr(value)", ARG3, ARG4);
2461 POST_MEM_WRITE(ARG3, (vki_ssize_t)RES);
2467 ARG1, (HChar *)ARG1, ARG2, (HChar*)ARG2, ARG3, ARG4, ARG5, SARG6 );
2474 PRE_MEM_READ( "setxattr(value)", ARG3, ARG4 );
2481 SARG1, ARG2, (HChar*)ARG2, ARG3, ARG4, ARG5, SARG6 );
2487 PRE_MEM_READ( "fsetxattr(value)", ARG3, ARG4 );
2515 ARG1, (HChar *)ARG1, ARG2, ARG3, SARG4 );
2521 PRE_MEM_WRITE( "listxattr(namebuf)", ARG2, ARG3 );
2535 SARG1, ARG2, ARG3, SARG4 );
2539 PRE_MEM_WRITE( "flistxattr(namebuf)", ARG2, ARG3 );
2556 arg2tmp = ML_(generic_PRE_sys_shmat)(tid, ARG1,ARG2,ARG3);
2564 ML_(generic_POST_sys_shmat)(tid, RES,ARG1,ARG2,ARG3);
2569 PRINT("shmctl ( %ld, %ld, %#lx )", SARG1, SARG2, ARG3);
2572 ML_(generic_PRE_sys_shmctl)(tid, ARG1,ARG2,ARG3);
2576 ARG3);
2599 PRINT("shm_open(%#lx(%s), %ld, %lu)", ARG1, (HChar *)ARG1, SARG2, ARG3);
2638 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
2644 PRE_MEM_WRITE("stat_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2651 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2659 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
2665 PRE_MEM_WRITE("lstat_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2672 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2680 SARG1, ARG2, ARG3, ARG4);
2685 PRE_MEM_WRITE("fstat_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2692 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2700 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
2706 PRE_MEM_WRITE("stat64_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2713 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2721 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
2727 PRE_MEM_WRITE( "lstat64_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2734 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2742 SARG1, ARG2, ARG3, ARG4);
2747 PRE_MEM_WRITE("fstat64_extended(fsacl)", ARG3, *(vki_size_t *)ARG4 );
2754 POST_MEM_WRITE( ARG3, *(vki_size_t *)ARG4 );
2764 ARG1, ARG2, ARG3, ARG4, ARG5);
2785 ARG1, ARG1 ? (HChar*)ARG1 : "(null)", ARG2, ARG3, ARG4, ARG5);
2808 SARG2, ARG3, ARG4, ARG5, ARG6);
2851 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
2861 //PRE_MEM_WRITE("access_extended(results)", ARG3, ??? );
2905 POST_MEM_WRITE( ARG3, n_descs * sizeof(vki_errno_t) );
3004 ARG1, (HChar*)ARG1, ARG2, (HChar*)ARG2, ARG3, ARG4);
3194 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4, ARG5);
3200 PRE_MEM_WRITE("getattrlist(attrBuf)", ARG3, ARG4);
3207 vki_uint32_t *sizep = (vki_uint32_t *)ARG3;
3208 POST_MEM_WRITE(ARG3, sizeof(vki_uint32_t));
3222 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4, ARG5);
3228 scan_attrlist(tid, (struct vki_attrlist *)ARG2, (void*)ARG3, ARG4, &set1attr);
3235 SARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
3243 PRE_MEM_WRITE("getdirentriesattr(attrBuf)", ARG3, ARG4);
3261 p = (char *)ARG3;
3262 end = (char *)ARG3 + ARG4;
3268 POST_MEM_WRITE(ARG3, p - (char *)ARG3);
3271 count, (Addr)p-(Addr)ARG3, ARG4);
3277 ARG1, (HChar*)ARG1, ARG2, (HChar*)ARG2, ARG3);
3287 ARG1, (HChar *)ARG1, ARG2, ARG3, ARG4);
3296 struct vki_ByteRangeLockPB2 *pb = (struct vki_ByteRangeLockPB2 *)ARG3;
3315 PRE_MEM_READ( "fsctl(FSIOC_SYNC_VOLUME)", ARG3, sizeof(int) );
3320 ML_(PRE_unknown_ioctl)(tid, ARG2, ARG3);
3329 struct vki_ByteRangeLockPB2 *pb = (struct vki_ByteRangeLockPB2 *)ARG3;
3338 ML_(POST_unknown_ioctl)(tid, RES, ARG2, ARG3);
3345 PRINT("initgroups(%s, %#lx, %lu)", (HChar *)ARG1, ARG2, ARG3);
3413 ARG1, ARG2, ARG2 ? (HChar*)ARG2 : "(null)", ARG3, ARG4, ARG5 );
3431 ARG1, ARG2, ARG2 ? (HChar*)ARG2 : "(null)", ARG3, ARG4, ARG5 );
3623 ML_(generic_PRE_sys_setsockopt)(tid, ARG1,ARG2,ARG3,ARG4,ARG5);
3668 ML_(generic_PRE_sys_connect)(tid, ARG1,ARG2,ARG3);
3678 ML_(generic_PRE_sys_accept)(tid, ARG1,ARG2,ARG3);
3686 ARG1,ARG2,ARG3);
3719 ML_(generic_PRE_sys_sendto)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3726 SARG1, SARG2, LOHI64(ARG3, ARG4), ARG5, ARG6, SARG7);
3736 SARG1, SARG2, ARG3, ARG4, ARG5, SARG6);
3767 ML_(generic_PRE_sys_recvfrom)(tid, ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3774 ARG1,ARG2,ARG3,ARG4,ARG5,ARG6);
3815 ML_(generic_PRE_sys_bind)(tid, ARG1,ARG2,ARG3);
3828 PRINT("getsockname ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
3831 ML_(generic_PRE_sys_getsockname)(tid, ARG1,ARG2,ARG3);
3838 ARG1,ARG2,ARG3);
3844 PRINT("getpeername ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
3847 ML_(generic_PRE_sys_getpeername)(tid, ARG1,ARG2,ARG3);
3854 ARG1,ARG2,ARG3);
3863 ML_(generic_PRE_sys_socketpair)(tid, ARG1,ARG2,ARG3,ARG4);
3870 ARG1,ARG2,ARG3,ARG4);
3938 PRINT("ptrace ( %ld, %ld, %#lx, %ld )", SARG1, SARG2, ARG3, SARG4);
4001 PRE_MEM_WRITE("getdirentries(buf)", ARG2, ARG3);
4014 PRINT("getdirentries64(%ld, %#lx, %lu, %#lx)", SARG1, ARG2, ARG3, ARG4);
4025 PRE_MEM_WRITE("getdirentries64(buf)", ARG2, ARG3);
4064 PRINT("csops ( %ld, %#lx, %#lx, %lu )", SARG1, ARG2, ARG3, ARG4);
4069 ARG3, ARG4 );
4084 POST_MEM_WRITE( ARG3, ARG4 );
4089 PRINT("auditon ( %ld, %#lx, %lu )", SARG1, ARG2, ARG3);
4106 PRE_MEM_READ("auditon(data)", ARG2, ARG3);
4116 PRE_MEM_WRITE("auditon(data)", ARG2, ARG3);
4128 PRE_MEM_READ("auditon(data)", ARG2, ARG3);
4129 PRE_MEM_WRITE("auditon(data)", ARG2, ARG3);
4172 POST_MEM_WRITE(ARG2, ARG3);
4184 POST_MEM_WRITE(ARG2, ARG3);
4228 // r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5,
4236 // r = ML_(generic_PRE_sys_mmap)( tid, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6 );
4246 ML_(notify_core_and_tool_of_mmap)(RES, ARG2, ARG3, ARG4, ARG5, ARG6);
4324 UWord oldp = ARG3;
4361 UWord oldp = ARG3;
4391 PRINT("sigprocmask ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
4396 if (ARG3 != 0)
4397 PRE_MEM_WRITE( "sigprocmask(oldset)", ARG3, sizeof(vki_sigset_t));
4417 (vki_sigset_t*)ARG3 )
4427 if (RES == 0 && ARG3 != 0)
4428 POST_MEM_WRITE( ARG3, sizeof(vki_sigset_t));
4463 (Int)ARG1, (Int)ARG2, (UInt)ARG3, LOHI64(ARG4,ARG5), ARG6, (Int)ARG7);
4472 (Int)ARG1, (Int)ARG2, (UInt)ARG3, (ULong)ARG4, ARG5, (Int)ARG6);
4487 if (ARG1 == 5 && ARG3 == 2 && LOHI64(ARG4,ARG5) == 0 )
4506 if (ARG1 == 5 && ARG3 == 2 && ARG4 == 0 )
4579 if (ARG3)
4580 PRE_MEM_READ ("aio_suspend(timeout)", ARG3, sizeof(struct vki_timespec));
7661 ARG1, ARG2, ARG3, ARG4, ARG5);
7716 ARG1, ARG2, name_for_port(ARG3), name_for_port(ARG4));
8351 // mach_msg_size_t send_size = (mach_msg_size_t)ARG3;
8729 name_for_port(ARG1), ARG2+ARG3/1000000000.0);
8742 name_for_port(ARG1), name_for_port(ARG2), ARG3+ARG4/1000000000.0);
8776 // name_for_port(ARG1), name_for_port(ARG2), ARG3, ARG4, ARG5);
8791 PRINT("task_for_pid(%s, %ld, %#lx)", name_for_port(ARG1), SARG2, ARG3);
8795 PRE_MEM_WRITE("task_for_pid(task)", ARG3, sizeof(mach_port_t));
8802 POST_MEM_WRITE(ARG3, sizeof(mach_port_t));
8804 task = *(mach_port_t *)ARG3;
8892 PRINT("mk_timer_arm(%s, %llu)", name_for_port(ARG1), LOHI64(ARG2, ARG3));
8920 name_for_port(ARG1), ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
9221 ARG1, ARG2, ARG3,
9222 ((unsigned int *)ARG3)[0], ((unsigned int *)ARG3)[1],
9230 ARG1, ARG2, ARG3,
9231 ((unsigned int *)ARG3)[0],
9232 ((unsigned int *)ARG3)[1], ARG4);
9237 PRE_MEM_READ("fsgetpath(fsid)", ARG3, sizeof(fsid_t));
9287 indicates that, in a 64 bit process, the args are: ARG1 ARG2 ARG3
9288 ARG4 ARG5, but in a 32 bit process they are: ARG1 ARG3:ARG2
9294 UWord aRG1, UWord aRG2, UWord aRG3, UWord aRG4)
9297 *a1 = aRG1; *a2 = aRG2; *a3 = LOHI64(aRG3,aRG4);
9299 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3;
9304 UWord aRG1, UWord aRG2, UWord aRG3,
9308 *a1 = aRG1; *a2 = LOHI64(aRG2,aRG3); *a3 = LOHI64(aRG4,aRG5);
9310 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3;
9315 UWord aRG1, UWord aRG2, UWord aRG3,
9319 *a1 = aRG1; *a2 = aRG2; *a3 = LOHI64(aRG3,aRG4); *a4 = aRG5;
9321 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3; *a4 = aRG4;
9326 UWord aRG1, UWord aRG2, UWord aRG3,
9330 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3; *a4 = LOHI64(aRG4,aRG5);
9332 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3; *a4 = aRG4;
9337 UWord aRG1, UWord aRG2, UWord aRG3,
9341 *a1 = aRG1; *a2 = LOHI64(aRG2,aRG3); *a3 = LOHI64(aRG4,aRG5);
9344 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3; *a4 = aRG4; *a5 = aRG5;
9350 UWord aRG1, UWord aRG2, UWord aRG3, UWord aRG4,
9355 *a3 = LOHI64(aRG3,aRG4); *a4 = LOHI64(aRG5,aRG6);
9358 *a1 = aRG1; *a2 = aRG2; *a3 = aRG3; *a4 = aRG4; *a5 = aRG5; *a6 = aRG6;
9367 munge_wwlw(&a1, &a2, &a3, &a4, ARG1, ARG2, ARG3, ARG4, ARG5);
9377 munge_wwlw(&a1, &a2, &a3, &a4, ARG1, ARG2, ARG3, ARG4, ARG5);
9398 munge_wll(&a1, &a2, &a3, ARG1, ARG2, ARG3, ARG4, ARG5);
9405 munge_wll(&a1, &a2, &a3, ARG1, ARG2, ARG3, ARG4, ARG5);
9417 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7);
9426 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7);
9439 ARG3, sizeof(mach_port_name_t));
9444 POST_MEM_WRITE(ARG3, sizeof(mach_port_name_t));
9445 PRINT(", name:%#x", *(mach_port_name_t*)ARG3);
9446 record_unnamed_port(tid, *(mach_port_name_t *)ARG3, ARG2);
9472 ARG1, ARG2, ARG3, ARG4);
9480 ARG1, ARG2, ARG3);
9487 "(%lx,%lx,%lx,%lx)", ARG1, ARG2, ARG3, ARG4);
9494 "(%lx,%lx,%lx)", ARG1, ARG2, ARG3);
9501 "(%lx,%lx,%lx)", ARG1, ARG2, ARG3);
9507 PRINT("iopolicysys(FIXME)(0x%lx, 0x%lx, 0x%lx)", ARG1, ARG2, ARG3);
9521 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7);
9542 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
9553 ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8);
9567 munge_wwlw(&a1, &a2, &a3, &a4, ARG1, ARG2, ARG3, ARG4, ARG5);
9575 munge_wwwl(&a1, &a2, &a3, &a4, ARG1, ARG2, ARG3, ARG4, ARG5);
9583 munge_wwlw(&a1, &a2, &a3, &a4, ARG1, ARG2, ARG3, ARG4, ARG5);
9592 munge_wwl(&a1, &a2, &a3, ARG1, ARG2, ARG3, ARG4);
9610 PRINT("necp_match_policy(FIXME)(%lx,%lu, %lx)", ARG1, ARG2, ARG3);
9618 POST_MEM_WRITE(ARG3, sizeof(struct vki_necp_aggregate_result));
9625 UWord oldp = ARG3;
9658 UWord oldp = ARG3;
9679 SARG1, ARG2, ARG3, ARG4, ARG5);
9684 PRE_MEM_WRITE("getattrlistbulk(attributeBuffer)", ARG3, ARG4);
9693 if (ARG3 && /* "at least one output element was written" */RES > 0)
9694 POST_MEM_WRITE(ARG3, ARG4);
9702 SARG1, ARG2, (HChar*)ARG2, ARG3, SARG4);
9706 PRE_MEM_WRITE( "readlinkat(buf)", ARG3,ARG4 );
9713 SET_STATUS_from_SysRes( VG_(do_syscall4)(saved, ARG1, ARG2, ARG3, ARG4));
9717 POST_MEM_WRITE( ARG3, RES );
9723 // user_addr_t arg2, user_addr_t arg3)
9724 PRINT("bsdthread_ctl(FIXME)(%lx,%lx,%lx,%lx)", ARG1, ARG2, ARG3, ARG4);
9726 void*, cmd, void*, arg1, void*, arg2, void*, arg3);
9734 ARG1, (HChar*)ARG1, ARG2, ARG3, ARG4, ARG5, ARG6);
9740 ARG1, ARG2, ARG3, (ULong)ARG4);
9746 ARG1, ARG2, ARG3, (ULong)ARG4, (Long)ARG5);
9752 ARG1, ARG2, ARG3, (ULong)ARG4);