/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 | 133 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ) in VG_() 137 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() 140 SysRes res = VG_(do_syscall3)(__NR_mknod, in VG_() 148 SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ) in VG_() 152 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() 155 SysRes res = VG_(do_syscall3)(__NR_open, in VG_() 158 SysRes res = VG_(do_syscall3)(__NR_open_nocancel, in VG_() 168 SysRes sr; in VG_() 192 SysRes res = VG_(do_syscall3)(__NR_read, fd, (UWord)buf, count); in VG_() 194 SysRes res = VG_(do_syscall3)(__NR_read_nocancel, fd, (UWord)buf, count); in VG_() [all …]
|
D | m_syscall.c | 63 SysRes VG_(mk_SysRes_x86_linux) ( Int val ) { in VG_() 64 SysRes res; in VG_() 75 SysRes VG_(mk_SysRes_amd64_linux) ( Long val ) { in VG_() 76 SysRes res; in VG_() 86 SysRes VG_(mk_SysRes_tilegx_linux) ( Long val ) { in VG_() 87 SysRes res; in VG_() 99 SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ) { in VG_() 100 SysRes res; in VG_() 107 SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ) { in VG_() 108 SysRes res; in VG_() [all …]
|
D | pub_core_aspacemgr.h | 196 extern SysRes VG_(am_do_mmap_NO_NOTIFY) 210 extern SysRes VG_(am_mmap_file_fixed_client) 212 extern SysRes VG_(am_mmap_named_file_fixed_client) 217 extern SysRes VG_(am_mmap_anon_fixed_client) 223 extern SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ); 228 extern SysRes VG_(am_mmap_anon_float_valgrind)( SizeT cszB ); 233 extern SysRes VG_(am_mmap_file_float_valgrind) 239 extern SysRes VG_(am_shared_mmap_file_float_valgrind) 244 extern SysRes VG_(am_mmap_client_heap) ( SizeT length, Int prot ); 251 extern SysRes VG_(am_munmap_client)( /*OUT*/Bool* need_discard,
|
D | m_libcsignal.c | 179 SysRes res = VG_(do_syscall4)(__NR_rt_sigprocmask, in VG_() 183 SysRes res = VG_(do_syscall3)(__NR_sigprocmask, in VG_() 191 SysRes res = VG_(do_syscall3)(__NR___pthread_sigmask, in VG_() 225 SysRes res = VG_(do_syscall4)(__NR_rt_sigaction, in VG_() 244 SysRes res; in VG_() 302 SysRes res = VG_(do_syscall2)(__NR_kill, pid, signo); in VG_() 304 SysRes res = VG_(do_syscall3)(__NR_kill, in VG_() 315 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 323 SysRes res; in VG_() 357 SysRes res = VG_(do_syscall4)(__NR_rt_sigtimedwait, (UWord)set, (UWord)info, in VG_() [all …]
|
D | m_libcproc.c | 284 SysRes res = VG_(do_syscall4)(__NR_wait4, in VG_() 288 SysRes res = VG_(do_syscall4)(__NR_wait4_nocancel, in VG_() 326 SysRes res; in VG_() 392 SysRes res; in VG_() 409 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 423 SysRes res; in VG_() 433 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 451 SysRes res = VG_(do_syscall0)(__NR_gettid); in VG_() 557 SysRes sres; in VG_() 572 SysRes sres; 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/include/ |
D | pub_tool_basics.h | 162 SysRes; typedef 178 SysRes; typedef 188 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() 191 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() 195 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() 199 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() 203 static inline Bool sr_EQ ( SysRes sr1, SysRes sr2 ) { in sr_EQ() 210 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() 223 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() 236 static inline UWord sr_ResHI ( SysRes sr ) { in sr_ResHI() [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/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_() 184 SysRes local_do_mprotect_NO_NOTIFY(Addr start, SizeT length, UInt prot) in local_do_mprotect_NO_NOTIFY() 189 SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length) in ML_() 197 SysRes ML_(am_do_extend_mapping_NO_NOTIFY)( in ML_() 218 SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)( in ML_() 243 SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode ) in ML_() 247 SysRes res = VG_(do_syscall4)(__NR_openat, in ML_() 250 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 | 2159 SysRes VG_(am_mmap_file_fixed_client) in VG_() 2165 SysRes VG_(am_mmap_named_file_fixed_client) in VG_() 2168 SysRes sres; in VG_() 2240 SysRes VG_(am_mmap_anon_fixed_client) ( Addr start, SizeT length, UInt prot ) in VG_() 2242 SysRes sres; in VG_() 2298 SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ) in VG_() 2300 SysRes sres; in VG_() 2357 SysRes VG_(am_mmap_anon_float_valgrind)( SizeT length ) in VG_() 2359 SysRes sres; in VG_() 2454 SysRes sres = VG_(am_mmap_anon_float_valgrind)( size ); 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() 86 static void check_mmap_float(SysRes res, SizeT len, const HChar* who) in check_mmap_float() 125 SysRes res; in open_dylinker() 178 SysRes res; in load_segment() 378 SysRes res; in load_unixthread() 413 SysRes res = VG_(am_mmap_anon_float_client)(requested_size, in handle_lcmain() 505 SysRes res; in load_thin_file() 708 SysRes res; in load_fat_file() 786 SysRes res; in load_mach_file()
|
D | elf.c | 72 static void check_mmap(SysRes res, Addr base, SizeT len) in check_mmap() 94 SysRes sres; in readelf() 159 SysRes res; in mapelf() 299 SysRes sres; in VG_() 484 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() 321 SysRes o; in remote_open() 410 SysRes res = VG_(am_shared_mmap_file_float_valgrind) in remote_open() 445 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 | 88 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 227 #define SR SysRes 230 extern SysRes ML_(generic_POST_sys_socketpair) ( TId, SR, UW, UW, UW, UW ); 231 extern SysRes ML_(generic_POST_sys_socket) ( TId, SR ); 234 extern SysRes ML_(generic_POST_sys_accept) ( TId, SR, UW, UW, UW ); 265 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() 869 SysRes f; in VG_() 1158 void ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, in ML_() 1376 SysRes 1378 SysRes res, in ML_() 1382 SysRes r = res; in ML_() 1404 SysRes 1405 ML_(generic_POST_sys_socket) ( ThreadId tid, SysRes res ) in ML_() 1407 SysRes r = 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() 778 SysRes r; in POST() 795 SysRes r; in POST() 1076 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()
|