Lines Matching refs:ARG3
1432 UWord arg2, UWord arg3 )
1436 arg3, 2*sizeof(int) );
1443 UWord arg2, UWord arg3 )
1446 Int fd1 = ((Int*)arg3)[0];
1447 Int fd2 = ((Int*)arg3)[1];
1449 POST_MEM_WRITE( arg3, 2*sizeof(int) );
1456 POST_MEM_WRITE( arg3, 2*sizeof(int) );
1538 UWord arg3, UWord arg4, UWord arg5 )
1570 UWord arg3, UWord arg4, UWord arg5 )
1589 UWord arg3, UWord arg4, UWord arg5 )
1649 UWord arg3, UWord arg4 )
1654 arg3, /* optval */
1758 UWord arg2, UWord arg3 )
1763 if (arg3 != 0)
1764 PRE_MEM_READ( "semtimedop(timeout)", arg3, sizeof(struct vki_timespec) );
1801 UWord arg2, UWord arg3 )
1804 union vki_semun arg = *(union vki_semun *)&arg3;
1881 UWord arg2, UWord arg3 )
1883 union vki_semun arg = *(union vki_semun *)&arg3;
2199 UWord arg1, UWord arg2, UWord arg3,
2287 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3,
2313 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3,
2336 sres = VG_(am_do_mmap_NO_NOTIFY)(advised, arg2, arg3,
2361 arg3, /* prot */
2373 arg3, /* prot */
2482 PRINT("sys_msync ( %#lx, %lu, %#lx )", ARG1, ARG2, ARG3);
2503 PRINT("sys_getpmsg ( %ld, %#lx, %#lx, %#lx, %#lx )", SARG1, ARG2, ARG3,
2509 data = (struct vki_pmsg_strbuf *)ARG3;
2525 data = (struct vki_pmsg_strbuf *)ARG3;
2540 PRINT("sys_putpmsg ( %ld, %#lx, %#lx, %ld, %ld )", SARG1, ARG2, ARG3,
2546 data = (struct vki_pmsg_strbuf *)ARG3;
2574 PRINT("sys_setitimer ( %ld, %#lx, %#lx )", SARG1, ARG2, ARG3);
2585 if (ARG3 != (Addr)NULL) {
2586 struct vki_itimerval *ovalue = (struct vki_itimerval*)ARG3;
2596 if (ARG3 != (Addr)NULL) {
2597 struct vki_itimerval *ovalue = (struct vki_itimerval*)ARG3;
2625 ARG1, ARG2, ARG3, ARG4, ARG5);
2632 ARG1, ARG2, ARG3, ARG4);
2638 do_mremap((Addr)ARG1, ARG2, (Addr)ARG5, ARG3, ARG4, tid)
2687 ARG1, ARG2, ARG3, (Long)MERGE64(ARG4,ARG5));
2693 ARG1, ARG2, ARG3, SARG4);
2700 PRE_MEM_READ( "pwrite64(buf)", ARG2, ARG3 );
2727 PRINT("sys_fstatfs64 ( %lu, %lu, %#lx )", ARG1, ARG2, ARG3);
2730 PRE_MEM_WRITE( "fstatfs64(buf)", ARG3, ARG2 );
2734 POST_MEM_WRITE( ARG3, ARG2 );
2748 ARG1, ARG2, ARG3, (Long)MERGE64(ARG4,ARG5));
2754 ARG1, ARG2, ARG3, SARG4);
2761 PRE_MEM_WRITE( "pread64(buf)", ARG2, ARG3 );
2774 PRINT("sys_mknod ( %#lx(%s), %#lx, %#lx )", ARG1, (HChar*)ARG1, ARG2, ARG3 );
2834 PRINT("sys_execve ( %#lx(%s), %#lx, %#lx )", ARG1, (char*)ARG1, ARG2, ARG3);
2840 if (ARG3 != 0)
2841 ML_(pre_argv_envp)( ARG3, tid, "execve(envp)", "execve(envp[i])" );
2955 if (ARG3 == 0) {
2958 envp = VG_(env_clone)( (HChar**)ARG3 );
2964 // Set VALGRIND_LIB in ARG3 (the environment)
3084 ARG1, (HChar*)ARG1, ARG2, ARG3, ERR);
3168 PRINT("sys_chown ( %#lx(%s), 0x%lx, 0x%lx )", ARG1,(char*)ARG1,ARG2,ARG3);
3177 PRINT("sys_lchown ( %#lx(%s), 0x%lx, 0x%lx )", ARG1,(char*)ARG1,ARG2,ARG3);
3245 PRINT("sys_fchown ( %lu, %lu, %lu )", ARG1, ARG2, ARG3);
3355 PRINT("sys_ftruncate64 ( %lu, %llu )", ARG1, MERGE64(ARG2,ARG3));
3370 PRINT("sys_truncate64 ( %#lx, %lld )", ARG1, (Long)MERGE64(ARG2, ARG3));
3385 PRINT("sys_getdents ( %lu, %#lx, %lu )", ARG1, ARG2, ARG3);
3389 PRE_MEM_WRITE( "getdents(dirp)", ARG2, ARG3 );
3402 PRINT("sys_getdents64 ( %lu, %#lx, %lu )",ARG1, ARG2, ARG3);
3406 PRE_MEM_WRITE( "getdents64(dirp)", ARG2, ARG3 );
3753 SET_STATUS_from_SysRes( VG_(do_syscall3)(SYSNO, ARG1, ARG2, ARG3) );
3797 PRINT("sys_mprotect ( %#lx, %lu, %lu )", ARG1, ARG2, ARG3);
3806 if (ARG3 & (VKI_PROT_GROWSDOWN|VKI_PROT_GROWSUP)) {
3821 UInt grows = ARG3 & (VKI_PROT_GROWSDOWN|VKI_PROT_GROWSUP);
3836 ARG3 &= ~VKI_PROT_GROWSDOWN;
3847 ARG3 &= ~VKI_PROT_GROWSUP;
3863 Int prot = ARG3;
3888 PRINT("sys_mincore ( %#lx, %llu, %#lx )", ARG1,(ULong)ARG2,ARG3);
3892 PRE_MEM_WRITE( "mincore(vec)", ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE );
3896 POST_MEM_WRITE( ARG3, VG_PGROUNDUP(ARG2) / VKI_PAGE_SIZE );
4025 PRINT("sys_read ( %lu, %#lx, %lu )", ARG1, ARG2, ARG3);
4032 PRE_MEM_WRITE( "read(buf)", ARG2, ARG3 );
4045 PRINT("sys_write ( %lu, %#lx, %lu )", ARG1, ARG2, ARG3);
4062 PRE_MEM_READ( "write(buf)", ARG2, ARG3 );
4126 PRINT("sys_readlink ( %#lx(%s), %#lx, %llu )", ARG1,(char*)ARG1,ARG2,(ULong)ARG3);
4130 PRE_MEM_WRITE( "readlink(buf)", ARG2,ARG3 );
4147 ARG2, ARG3));
4161 ARG2, ARG3));
4166 SET_STATUS_from_SysRes( VG_(do_syscall3)(saved, ARG1, ARG2, ARG3));
4179 PRINT("sys_readv ( %lu, %#lx, %lu )", ARG1, ARG2, ARG3);
4186 if ((Int)ARG3 >= 0)
4187 PRE_MEM_READ( "readv(vector)", ARG2, ARG3 * sizeof(struct vki_iovec) );
4192 for (i = 0; i < (Int)ARG3; i++)
4208 for (i = 0; i < (Int)ARG3; i++) {
4238 PRINT("sys_select ( %ld, %#lx, %#lx, %#lx, %#lx )", SARG1, ARG2, ARG3,
4247 if (ARG3 != 0)
4249 ARG3, ARG1/8 /* __FD_SETSIZE/8 */ );
4393 PRINT("sys_statfs64 ( %#lx(%s), %llu, %#lx )",ARG1,(char*)ARG1,(ULong)ARG2,ARG3);
4397 PRE_MEM_WRITE( "statfs64(buf)", ARG3, ARG2 );
4401 POST_MEM_WRITE( ARG3, ARG2 );
4518 PRINT("sys_writev ( %lu, %#lx, %lu )", ARG1, ARG2, ARG3);
4525 if ((Int)ARG3 >= 0)
4527 ARG2, ARG3 * sizeof(struct vki_iovec) );
4531 for (i = 0; i < (Int)ARG3; i++)