/external/valgrind/main/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 | 107 SysRes VG_(mknod) ( const HChar* pathname, Int mode, UWord dev ) in VG_() 111 SysRes res = VG_(do_syscall4)(__NR_mknodat, in VG_() 114 SysRes res = VG_(do_syscall3)(__NR_mknod, in VG_() 122 SysRes VG_(open) ( const HChar* pathname, Int flags, Int mode ) in VG_() 126 SysRes res = VG_(do_syscall4)(__NR_openat, in VG_() 129 SysRes res = VG_(do_syscall3)(__NR_open, in VG_() 132 SysRes res = VG_(do_syscall3)(__NR_open_nocancel, in VG_() 142 SysRes sr; in VG_() 166 SysRes res = VG_(do_syscall3)(__NR_read, fd, (UWord)buf, count); in VG_() 168 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_() 76 SysRes VG_(mk_SysRes_amd64_linux) ( Long val ) { in VG_() 77 SysRes res; in VG_() 90 SysRes VG_(mk_SysRes_ppc32_linux) ( UInt val, UInt cr0so ) { in VG_() 91 SysRes res; in VG_() 99 SysRes VG_(mk_SysRes_ppc64_linux) ( ULong val, ULong cr0so ) { in VG_() 100 SysRes res; in VG_() 107 SysRes VG_(mk_SysRes_s390x_linux) ( Long val ) { in VG_() 108 SysRes res; in VG_() [all …]
|
D | pub_core_aspacemgr.h | 209 extern SysRes VG_(am_do_mmap_NO_NOTIFY) 223 extern SysRes VG_(am_mmap_file_fixed_client) 225 extern SysRes VG_(am_mmap_named_file_fixed_client) 230 extern SysRes VG_(am_mmap_anon_fixed_client) 236 extern SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ); 241 extern SysRes VG_(am_mmap_anon_float_valgrind)( SizeT cszB ); 246 extern SysRes VG_(am_mmap_file_float_valgrind) 252 extern SysRes VG_(am_shared_mmap_file_float_valgrind) 260 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 | 287 SysRes res = VG_(do_syscall4)(__NR_wait4, in VG_() 291 SysRes res = VG_(do_syscall4)(__NR_wait4_nocancel, in VG_() 330 SysRes res; in VG_() 401 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 415 SysRes res; in VG_() 425 SysRes res = VG_(mk_SysRes_Error)(VKI_ENOSYS); in VG_() 443 SysRes res = VG_(do_syscall0)(__NR_gettid); in VG_() 545 SysRes sres; in VG_() 562 SysRes sres; in VG_() 579 SysRes res; 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, Addr attr_value, Size… 90 extern SysRes VG_(pread) ( Int fd, void* buf, Int count, OffT offset );
|
D | pub_core_syswrap.h | 57 SysRes sysret,
|
/external/valgrind/main/include/ |
D | pub_tool_basics.h | 169 SysRes; typedef 185 SysRes; typedef 195 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() 198 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() 201 static inline UWord sr_ResEx ( SysRes sr ) { in sr_ResEx() 204 static inline UWord sr_ResHI ( SysRes sr ) { in sr_ResHI() 207 static inline UWord sr_Err ( SysRes sr ) { in sr_Err() 210 static inline Bool sr_EQ ( SysRes sr1, SysRes sr2 ) { in sr_EQ() 218 static inline Bool sr_isError ( SysRes sr ) { in sr_isError() 226 static inline UWord sr_Res ( SysRes sr ) { in sr_Res() [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/main/coregrind/m_aspacemgr/ |
D | aspacemgr-common.c | 98 SysRes sres = VG_(do_syscall0)(__NR_getpid); in ML_() 150 SysRes VG_(am_do_mmap_NO_NOTIFY)( Addr start, SizeT length, UInt prot, in VG_() 153 SysRes res; in VG_() 189 SysRes local_do_mprotect_NO_NOTIFY(Addr start, SizeT length, UInt prot) in local_do_mprotect_NO_NOTIFY() 194 SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length) in ML_() 202 SysRes ML_(am_do_extend_mapping_NO_NOTIFY)( in ML_() 223 SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)( in ML_() 248 SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode ) in ML_() 252 SysRes res = VG_(do_syscall4)(__NR_openat, in ML_() 255 SysRes res = VG_(do_syscall3)(__NR_open, (UWord)pathname, flags, mode); in ML_() [all …]
|
D | priv_aspacemgr.h | 91 extern SysRes ML_(am_do_munmap_NO_NOTIFY)(Addr start, SizeT length); 94 extern SysRes ML_(am_do_extend_mapping_NO_NOTIFY)( 100 extern SysRes ML_(am_do_relocate_nooverlap_mapping_NO_NOTIFY)( 108 extern SysRes ML_(am_open) ( const HChar* pathname, Int flags, Int mode );
|
D | aspacemgr-linux.c | 2228 SysRes VG_(am_mmap_file_fixed_client) in VG_() 2234 SysRes VG_(am_mmap_named_file_fixed_client) in VG_() 2237 SysRes sres; in VG_() 2309 SysRes VG_(am_mmap_anon_fixed_client) ( Addr start, SizeT length, UInt prot ) in VG_() 2311 SysRes sres; in VG_() 2367 SysRes VG_(am_mmap_anon_float_client) ( SizeT length, Int prot ) in VG_() 2369 SysRes sres; in VG_() 2426 SysRes VG_(am_mmap_anon_float_valgrind)( SizeT length ) in VG_() 2428 SysRes sres; in VG_() 2523 SysRes sres = VG_(am_mmap_anon_float_valgrind)( size ); in VG_() [all …]
|
/external/valgrind/main/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() 209 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() 368 SysRes res; in load_unixthread() 403 SysRes res = VG_(am_mmap_anon_float_client)(requested_size, in handle_lcmain() 495 SysRes res; in load_thin_file() 698 SysRes res; in load_fat_file() 774 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() 161 SysRes res; in mapelf() 301 SysRes sres; in VG_() 487 SysRes res = VG_(mk_SysRes_Error)(VKI_EINVAL); in VG_()
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | remote-utils.c | 40 void sr_extended_perror (SysRes sr, const HChar *msg) in sr_extended_perror() 80 static SysRes VG_(poll_no_eintr) (struct vki_pollfd *fds, Int nfds, Int timeout) in VG_() 83 SysRes sr; in VG_() 124 SysRes o; in open_fifo() 171 SysRes o; in VG_() 225 SysRes ret; in ensure_write_remote_desc() 262 SysRes m; in safe_mknod() 298 SysRes o; in remote_open() 390 SysRes res = VG_(am_shared_mmap_file_float_valgrind) in remote_open() 429 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/main/coregrind/m_syswrap/ |
D | priv_syswrap-generic.h | 82 ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, 221 #define SR SysRes 224 extern SysRes ML_(generic_POST_sys_socketpair) ( TId, SR, UW, UW, UW, UW ); 225 extern SysRes ML_(generic_POST_sys_socket) ( TId, SR ); 228 extern SysRes ML_(generic_POST_sys_accept) ( TId, SR, UW, UW, UW ); 259 extern SysRes ML_(generic_PRE_sys_mmap) ( TId, UW, UW, UW, UW, UW, Off64T );
|
D | syswrap-mips32-linux.c | 226 static SysRes sys_set_tls (ThreadId tid, Addr tlsptr); 227 static SysRes mips_PRE_sys_mmap (ThreadId tid, 239 static SysRes do_clone (ThreadId ptid, in do_clone() 252 SysRes res; in do_clone() 361 SysRes sys_set_tls ( ThreadId tid, Addr tlsptr ) in sys_set_tls() 408 static SysRes mips_PRE_sys_mmap(ThreadId tid, in mips_PRE_sys_mmap() 413 SysRes sres; in mips_PRE_sys_mmap() 552 SysRes r; in PRE() 565 SysRes r; in PRE()
|
D | syswrap-x86-linux.c | 196 static SysRes sys_set_thread_area ( ThreadId, vki_modify_ldt_t* ); 208 static SysRes do_clone ( ThreadId ptid, in do_clone() 221 SysRes res; in do_clone() 539 SysRes read_ldt ( ThreadId tid, UChar* ptr, UInt bytecount ) in read_ldt() 541 SysRes res; in read_ldt() 572 SysRes write_ldt ( ThreadId tid, void* ptr, UInt bytecount, Int oldmode ) in write_ldt() 574 SysRes res; in write_ldt() 619 static SysRes sys_modify_ldt ( ThreadId tid, in sys_modify_ldt() 622 SysRes ret = VG_(mk_SysRes_Error)( VKI_ENOSYS ); in sys_modify_ldt() 645 static SysRes sys_set_thread_area ( ThreadId tid, vki_modify_ldt_t* info ) in sys_set_thread_area() [all …]
|
D | priv_syswrap-linux-variants.h | 43 #define SR SysRes
|
D | syswrap-generic.c | 244 SysRes do_mremap( Addr old_addr, SizeT old_len, in do_mremap() 480 SysRes sres = VG_(am_munmap_client)( &d, old_addr+new_len, old_len-new_len ); in do_mremap() 841 SysRes f; in VG_() 1108 void ML_(buf_and_len_post_check) ( ThreadId tid, SysRes res, in ML_() 1333 SysRes 1335 SysRes res, in ML_() 1339 SysRes r = res; in ML_() 1361 SysRes 1362 ML_(generic_POST_sys_socket) ( ThreadId tid, SysRes res ) in ML_() 1364 SysRes r = res; in ML_() [all …]
|
/external/valgrind/main/coregrind/m_scheduler/ |
D | ticket-lock-linux.c | 121 SysRes sres; in acquire_sched_lock() 165 SysRes sres; in release_sched_lock()
|