Home
last modified time | relevance | path

Searched refs:VG_N_THREADS (Results 1 – 25 of 35) sorted by relevance

12

/external/valgrind/coregrind/
Dm_threadstate.c48 UInt VG_N_THREADS; variable
60 VG_N_THREADS * sizeof VG_(threads)[0]); in VG_()
62 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
99 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
108 if (tid >= VG_N_THREADS) return False; in VG_()
142 for(tid = 1; tid < VG_N_THREADS; tid++) in VG_()
156 for(tid = 1; tid < VG_N_THREADS; tid++) in VG_()
169 for(tid = 1; tid < VG_N_THREADS; tid++) in VG_()
Dm_machine.c420 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
440 for (i = (*tid)+1; i < VG_N_THREADS; i++) { in VG_()
455 vg_assert(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID); in VG_()
462 vg_assert(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID); in VG_()
469 vg_assert(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID); in VG_()
476 vg_assert(0 <= tid && tid < VG_N_THREADS && tid != VG_INVALID_THREADID); in VG_()
Dm_libcassert.c366 for (i = 1; i < VG_N_THREADS; i++) { in show_sched_status_wrk()
Dm_errormgr.c646 vg_assert(tid < VG_N_THREADS); in construct_error()
666 vg_assert( tid < VG_N_THREADS ); in construct_error()
/external/valgrind/callgrind/
Dthreads.c80 thread = CLG_MALLOC("cl.threads.it.1", VG_N_THREADS * sizeof thread[0]); in CLG_()
82 for(i=0;i<VG_N_THREADS;i++) in CLG_()
92 for(t=1;t<VG_N_THREADS;t++) { in CLG_()
156 CLG_ASSERT(tid < VG_N_THREADS); in CLG_()
Dmain.c1550 for(t=1;t<VG_N_THREADS;t++) { in dump_state_togdb()
1617 for(t=1;t<VG_N_THREADS;t++) in handle_gdb_monitor_command()
2076 VG_N_THREADS * sizeof syscalltime[0]); in CLG_()
2077 for (UInt i = 0; i < VG_N_THREADS; ++i) { in CLG_()
/external/valgrind/include/
Dpub_tool_threadstate.h37 extern UInt VG_N_THREADS;
/external/valgrind/helgrind/
Dhg_basics.h47 return coretid >= 0 && coretid < VG_N_THREADS; in HG_()
Dhg_main.c452 for (i = 0; i < VG_N_THREADS; i++) { in pp_map_threads()
457 for (i = 0; i < VG_N_THREADS; i++) { in pp_map_threads()
609 map_threads = HG_(zalloc)( "hg.ids.1", VG_N_THREADS * sizeof(Thread*) ); in initialise_data_structures()
685 tl_assert(VG_INVALID_THREADID >= 0 && VG_INVALID_THREADID < VG_N_THREADS); in map_threads_maybe_reverse_lookup_SLOW()
1718 for (i = 1; i < VG_N_THREADS; i++) { in evh__atfork_child()
/external/valgrind/coregrind/m_scheduler/
Dscheduler.c241 for (i = 1; i < VG_N_THREADS; i++) { in VG_()
531 vg_assert(tid >= 0 && tid < VG_N_THREADS); in mostly_clear_thread_record()
585 for (tid = 1; tid < VG_N_THREADS; tid++) { in sched_fork_cleanup()
627 for (i = 0 /* NB; not 1 */; i < VG_N_THREADS; i++) { in VG_()
1667 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
2248 for (tid = 1; tid < VG_N_THREADS; tid++) { in VG_()
/external/valgrind/exp-sgcheck/
Dsg_main.c68 return tid >= 0 && tid < VG_N_THREADS in is_sane_TId()
1057 for (i = 0; i < VG_N_THREADS; i++) { in invalidate_all_QCaches()
1067 VG_N_THREADS * sizeof shadowStacks[0] ); in ourGlobals_init()
1068 siTrees = sg_malloc( "di.sg_main.oGi.3", VG_N_THREADS * sizeof siTrees[0] ); in ourGlobals_init()
1069 qcaches = sg_malloc( "di.sg_main.oGi.4", VG_N_THREADS * sizeof qcaches[0] ); in ourGlobals_init()
1071 for (i = 0; i < VG_N_THREADS; i++) { in ourGlobals_init()
1288 for (i = 0; i < VG_N_THREADS; i++) { in preen_global_Invars()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-main.c1682 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
1689 vg_assert(tid >= 0 && tid < VG_N_THREADS); in VG_()
1701 syscallInfo = VG_(malloc)("scinfo", VG_N_THREADS * sizeof syscallInfo[0]); in ensure_initialised()
1703 for (i = 0; i < VG_N_THREADS; i++) { in ensure_initialised()
1721 vg_assert(tid >= 1 && tid < VG_N_THREADS); in VG_()
2102 vg_assert(tid >= 1 && tid < VG_N_THREADS); in VG_()
2638 vg_assert(tid >= 1 && tid < VG_N_THREADS); in VG_()
2850 vg_assert(tid >= 1 && tid < VG_N_THREADS); in ML_()
Dsyswrap-ppc32-linux.c627 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
662 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-amd64-linux.c463 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
495 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-s390x-linux.c554 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
585 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-arm-linux.c529 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
552 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-mips32-linux.c715 vg_assert (tid >= 1 && tid < VG_N_THREADS); in PRE()
730 vg_assert (tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-tilegx-linux.c603 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
634 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-arm64-linux.c650 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-ppc64-linux.c734 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
Dsyswrap-x86-linux.c963 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
997 vg_assert(tid >= 1 && tid < VG_N_THREADS); in PRE()
/external/valgrind/drd/
Ddrd_thread.h42 #define DRD_N_THREADS VG_N_THREADS
/external/valgrind/coregrind/m_coredump/
Dcoredump-solaris.c960 for (t_idx = 1; t_idx < VG_N_THREADS; t_idx++) in VG_()
1026 for (t_idx = 1; t_idx < VG_N_THREADS; t_idx++) { in VG_()
/external/valgrind/coregrind/m_gdbserver/
Dtarget.c75 for (tid = 1; tid < VG_N_THREADS; tid++) { in valgrind_update_threads()
Dremote-utils.c322 (Addr) VG_(threads), VG_N_THREADS, sizeof(ThreadState), in remote_open()

12