• Home
  • Raw
  • Download

Lines Matching refs:ch_no

529    Int ch_no;  in lc_is_a_chunk_ptr()  local
540 ch_no = find_chunk_for(ptr, lc_chunks, lc_n_chunks); in lc_is_a_chunk_ptr()
541 tl_assert(ch_no >= -1 && ch_no < lc_n_chunks); in lc_is_a_chunk_ptr()
543 if (ch_no == -1) { in lc_is_a_chunk_ptr()
548 ch = lc_chunks[ch_no]; in lc_is_a_chunk_ptr()
549 ex = &(lc_extras[ch_no]); in lc_is_a_chunk_ptr()
555 VG_(printf)("ptr=%#lx -> block %d\n", ptr, ch_no); in lc_is_a_chunk_ptr()
557 *pch_no = ch_no; in lc_is_a_chunk_ptr()
567 static void lc_push(Int ch_no, MC_Chunk* ch) in lc_push() argument
569 if (!lc_extras[ch_no].pending) { in lc_push()
575 lc_markstack[lc_markstack_top] = ch_no; in lc_push()
576 tl_assert(!lc_extras[ch_no].pending); in lc_push()
577 lc_extras[ch_no].pending = True; in lc_push()
890 Int ch_no; in lc_push_without_clique_if_a_chunk_ptr() local
895 if ( ! lc_is_a_chunk_ptr(ptr, &ch_no, &ch, &ex) ) in lc_push_without_clique_if_a_chunk_ptr()
932 lc_push(ch_no, ch); in lc_push_without_clique_if_a_chunk_ptr()
941 lc_push(ch_no, ch); in lc_push_without_clique_if_a_chunk_ptr()
957 Int ch_no; in lc_push_with_clique_if_a_chunk_ptr() local
963 if ( ! lc_is_a_chunk_ptr(ptr, &ch_no, &ch, &ex) ) in lc_push_with_clique_if_a_chunk_ptr()
969 if (ex->state == Unreached && ch_no != clique) { in lc_push_with_clique_if_a_chunk_ptr()
973 lc_push(ch_no, ch); in lc_push_with_clique_if_a_chunk_ptr()
982 ch_no, clique, (SizeT)ch->szB, ex->IorC.indirect_szB); in lc_push_with_clique_if_a_chunk_ptr()
985 ch_no, clique, (SizeT)ch->szB); in lc_push_with_clique_if_a_chunk_ptr()
1144 Int ch_no; in lc_scan_memory() local
1150 if (lc_is_a_chunk_ptr(addr, &ch_no, &ch, &ex) ) { in lc_scan_memory()