/external/valgrind/include/ |
D | pub_tool_basics.h | 174 SysRes; typedef 183 SysRes; typedef 200 SysRes; typedef 209 SysRes; typedef 220 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() 223 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() 226 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() 229 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() 232 static inline Bool sr_EQ ( UInt sysno, SysRes sr1, SysRes sr2 ) { in sr_EQ() 259 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() [all …]
|
D | pub_tool_libcfile.h | 74 extern SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ); 75 extern SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ); 85 extern SysRes VG_(stat) ( const HChar* file_name, struct vg_stat* buf ); 87 extern SysRes VG_(dup) ( Int oldfd ); 88 extern SysRes VG_(dup2) ( Int oldfd, Int newfd ); 92 extern SysRes VG_(poll) (struct vki_pollfd *fds, Int nfds, Int timeout);
|
/external/valgrind/coregrind/ |
D | pub_core_syscall.h | 49 extern SysRes VG_(do_syscall) ( UWord sysno, 74 extern SysRes VG_(mk_SysRes_x86_linux) ( Int val ); 75 extern SysRes VG_(mk_SysRes_amd64_linux) ( Long val ); 76 extern SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ); 77 extern SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ); 78 extern SysRes VG_(mk_SysRes_arm_linux) ( Int val ); 79 extern SysRes VG_(mk_SysRes_arm64_linux) ( Long val ); 80 extern SysRes VG_(mk_SysRes_x86_darwin) ( UChar scclass, Bool isErr, 82 extern SysRes VG_(mk_SysRes_amd64_darwin)( UChar scclass, Bool isErr, 84 extern SysRes VG_(mk_SysRes_s390x_linux) ( Long val ); [all …]
|
D | m_libcfile.c | 139 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ) in VG_() 143 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() 146 SysRes res = VG_(do_syscall3)(__NR_mknod, in VG_() 149 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() 157 SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ) in VG_() 161 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() 164 SysRes res = VG_(do_syscall3)(__NR_open, in VG_() 167 SysRes res = VG_(do_syscall3)(__NR_open_nocancel, in VG_() 170 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() 180 SysRes sr; in VG_() [all …]
|
D | m_syscall.c | 46 SysRes VG_(mk_SysRes_mips32_linux) ( UWord v0, UWord v1, UWord a3 ) { in VG_() 48 SysRes res; in VG_() 55 SysRes VG_(mk_SysRes_mips64_linux) ( ULong v0, ULong v1, ULong a3 ) { in VG_() 57 SysRes res; in VG_() 65 SysRes VG_(mk_SysRes_Error) ( UWord err ) { in VG_() 66 SysRes r; in VG_() 73 SysRes VG_(mk_SysRes_Success) ( UWord res ) { in VG_() 74 SysRes r; in VG_() 81 SysRes VG_(mk_SysRes_SuccessEx) ( UWord res, UWord resEx ) { in VG_() 82 SysRes r; in VG_() [all …]
|
D | pub_core_aspacemgr.h | 205 extern SysRes VG_(am_do_mmap_NO_NOTIFY) 219 extern SysRes VG_(am_mmap_file_fixed_client) 221 extern SysRes VG_(am_mmap_file_fixed_client_flags) 223 extern SysRes VG_(am_mmap_named_file_fixed_client) 226 extern SysRes VG_(am_mmap_named_file_fixed_client_flags) 232 extern SysRes VG_(am_mmap_anon_fixed_client) 238 extern SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ); 243 extern SysRes VG_(am_mmap_anon_float_valgrind)( SizeT cszB ); 248 extern SysRes VG_(am_mmap_file_float_valgrind) 254 extern SysRes VG_(am_shared_mmap_file_float_valgrind) [all …]
|
D | m_libcsignal.c | 221 SysRes res = VG_(do_syscall4)(__NR_rt_sigprocmask, in VG_() 225 SysRes res = VG_(do_syscall3)(__NR_sigprocmask, in VG_() 233 SysRes res = VG_(do_syscall3)(__NR___pthread_sigmask, in VG_() 267 SysRes res = VG_(do_syscall4)(__NR_rt_sigaction, in VG_() 286 SysRes res; in VG_() 319 SysRes res = VG_(do_syscall3)(__NR_sigaction, in VG_() 350 SysRes res = VG_(do_syscall2)(__NR_kill, pid, signo); in VG_() 352 SysRes res = VG_(do_syscall3)(__NR_kill, in VG_() 363 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 371 SysRes res; in VG_() [all …]
|
D | m_libcproc.c | 352 SysRes res = VG_(do_syscall4)(__NR_wait4, in VG_() 356 SysRes res = VG_(do_syscall4)(__NR_wait4_nocancel, in VG_() 360 SysRes res; in VG_() 451 SysRes res; in VG_() 517 SysRes res = VG_(do_syscall5)(__NR_spawn, (UWord) filename, (UWord) NULL, 0, in VG_() 599 SysRes res; in VG_() 616 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 630 SysRes res; in VG_() 640 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 658 SysRes res = VG_(do_syscall0)(__NR_gettid); in VG_() [all …]
|
D | pub_core_signals.h | 58 extern SysRes VG_(do_sys_sigaltstack) ( ThreadId tid, vki_stack_t* ss, 60 extern SysRes VG_(do_sys_sigaction) ( Int signo, 63 extern SysRes VG_(do_sys_sigprocmask) ( ThreadId tid, Int how,
|
D | pub_core_libcfile.h | 53 extern SysRes VG_(getxattr) ( const HChar* file_name, const HChar* attr_name, 91 extern SysRes VG_(pread) ( Int fd, void* buf, Int count, OffT offset );
|
/external/valgrind/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 91 SysRes sres = VG_(do_syscall0)(__NR_getpid); in ML_() 143 SysRes VG_(am_do_mmap_NO_NOTIFY)( Addr start, SizeT length, UInt prot, in VG_() 146 SysRes res; in VG_() 196 SysRes local_do_mprotect_NO_NOTIFY(Addr start, SizeT length, UInt prot) in local_do_mprotect_NO_NOTIFY() 201 SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length) in ML_() 209 SysRes ML_(am_do_extend_mapping_NO_NOTIFY)( in ML_() 230 SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)( in ML_() 255 SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode ) in ML_() 259 SysRes res = VG_(do_syscall4)(__NR_openat, in ML_() 262 SysRes res = VG_(do_syscall4)(__NR_openat, VKI_AT_FDCWD, (UWord)pathname, in ML_() [all …]
|
D | priv_aspacemgr.h | 95 extern SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length); 98 extern SysRes ML_(am_do_extend_mapping_NO_NOTIFY)( 104 extern SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)( 112 extern SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode );
|
D | aspacemgr-linux.c | 2323 SysRes VG_(am_mmap_file_fixed_client) in VG_() 2331 SysRes VG_(am_mmap_file_fixed_client_flags) in VG_() 2338 SysRes VG_(am_mmap_named_file_fixed_client) in VG_() 2346 SysRes VG_(am_mmap_named_file_fixed_client_flags) in VG_() 2350 SysRes sres; in VG_() 2421 SysRes VG_(am_mmap_anon_fixed_client) ( Addr start, SizeT length, UInt prot ) in VG_() 2423 SysRes sres; in VG_() 2479 SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ) in VG_() 2481 SysRes sres; in VG_() 2538 SysRes VG_(am_mmap_anon_float_valgrind)( SizeT length ) in VG_() [all …]
|
/external/valgrind/coregrind/m_ume/ |
D | main.c | 67 SysRes 71 SysRes res; in VG_() 139 SysRes res; in VG_() 160 SysRes res = VG_(open)(f, VKI_O_RDONLY, 0); in is_hash_bang_file() 176 SysRes res = VG_(open)(f, VKI_O_RDONLY, 0); in is_binary_file() 211 SysRes res; in do_exec_shell_followup()
|
D | macho.c | 76 static void check_mmap(SysRes res, Addr base, SizeT len, const HChar* who) in check_mmap() 88 static void check_mmap_float(SysRes res, SizeT len, const HChar* who) in check_mmap_float() 129 SysRes res; in open_dylinker() 182 SysRes res; in load_segment() 382 SysRes res; in load_unixthread() 417 SysRes res = VG_(am_mmap_anon_float_client)(requested_size, in handle_lcmain() 509 SysRes res; in load_thin_file() 712 SysRes res; in load_fat_file() 790 SysRes res; in load_mach_file()
|
D | elf.c | 77 static void check_mmap(SysRes res, Addr base, SizeT len) in check_mmap() 99 SysRes sres; in readelf() 164 SysRes res; in mapelf() 304 SysRes sres; in VG_() 546 SysRes res = VG_(mk_SysRes_Error)(VKI_EINVAL); in VG_()
|
/external/valgrind/coregrind/m_gdbserver/ |
D | remote-utils.c | 41 void sr_extended_perror (SysRes sr, const HChar *msg) in sr_extended_perror() 81 static SysRes VG_(poll_no_eintr) (struct vki_pollfd *fds, Int nfds, Int timeout) in VG_() 84 SysRes sr; in VG_() 125 SysRes o; in open_fifo() 172 SysRes o; in VG_() 226 SysRes ret; in ensure_write_remote_desc() 263 SysRes m; in safe_mknod() 316 SysRes o; in remote_open() 413 SysRes res = VG_(am_shared_mmap_file_float_valgrind) in remote_open() 448 SysRes ret; in sync_gdb_connection() [all …]
|
D | utils.c | 29 void sr_perror (SysRes sr, const char *string,...) in sr_perror() 83 SysRes res;
|
/external/valgrind/coregrind/m_syswrap/ |
D | priv_syswrap-generic.h | 95 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 240 #define SR SysRes 243 extern SysRes ML_(generic_POST_sys_socketpair) ( TId, SR, UW, UW, UW, UW ); 244 extern SysRes ML_(generic_POST_sys_socket) ( TId, SR ); 247 extern SysRes ML_(generic_POST_sys_accept) ( TId, SR, UW, UW, UW ); 278 extern SysRes ML_(generic_PRE_sys_mmap) ( TId, UW, UW, UW, UW, UW, Off64T );
|
D | syswrap-mips32-linux.c | 224 static SysRes sys_set_tls (ThreadId tid, Addr tlsptr); 225 static SysRes mips_PRE_sys_mmap (ThreadId tid, 237 static SysRes do_clone (ThreadId ptid, in do_clone() 249 SysRes res; in do_clone() 344 SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ) in sys_set_tls() 391 static SysRes mips_PRE_sys_mmap(ThreadId tid, in mips_PRE_sys_mmap() 396 SysRes sres; in mips_PRE_sys_mmap() 535 SysRes r; in PRE() 548 SysRes r; in PRE()
|
D | syswrap-x86-linux.c | 194 static SysRes sys_set_thread_area ( ThreadId, vki_modify_ldt_t* ); 206 static SysRes do_clone ( ThreadId ptid, in do_clone() 218 SysRes res; in do_clone() 516 SysRes read_ldt ( ThreadId tid, UChar* ptr, UInt bytecount ) in read_ldt() 518 SysRes res; in read_ldt() 549 SysRes write_ldt ( ThreadId tid, void* ptr, UInt bytecount, Int oldmode ) in write_ldt() 551 SysRes res; in write_ldt() 596 static SysRes sys_modify_ldt ( ThreadId tid, in sys_modify_ldt() 599 SysRes ret = VG_(mk_SysRes_Error)( VKI_ENOSYS ); in sys_modify_ldt() 622 static SysRes sys_set_thread_area ( ThreadId tid, vki_modify_ldt_t* info ) in sys_set_thread_area() [all …]
|
D | syswrap-generic.c | 275 SysRes do_mremap( Addr old_addr, SizeT old_len, in do_mremap() 506 SysRes sres = VG_(am_munmap_client)( &d, old_addr+new_len, old_len-new_len ); in do_mremap() 894 SysRes f; in VG_() 932 SysRes f; in VG_() 1221 void ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, in ML_() 1439 SysRes 1441 SysRes res, in ML_() 1445 SysRes r = res; in ML_() 1467 SysRes 1468 ML_(generic_POST_sys_socket) ( ThreadId tid, SysRes res ) in ML_() [all …]
|
D | syswrap-tilegx-linux.c | 319 static SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ); 328 static SysRes do_clone ( ThreadId ptid, in do_clone() 340 SysRes res; in do_clone() 416 SysRes do_mremap( Addr old_addr, SizeT old_len, 441 SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ) in sys_set_tls() 729 SysRes r; in POST() 780 SysRes r; in POST() 797 SysRes r; in POST() 1079 SysRes r; in PRE()
|
D | priv_syswrap-linux-variants.h | 43 #define SR SysRes
|
/external/valgrind/coregrind/m_scheduler/ |
D | ticket-lock-linux.c | 118 SysRes sres; in acquire_sched_lock() 162 SysRes sres; in release_sched_lock()
|