Lines Matching refs:pc
36 u32 pc, hits; member
243 if (hits[i].pc) in profile_flip_buffers()
244 hits[i].pc = 0; in profile_flip_buffers()
247 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
248 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers()
271 unsigned long primary, secondary, flags, pc = (unsigned long)__pc; in do_profile_hits() local
275 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
276 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in do_profile_hits()
277 secondary = (~(pc << 1) & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in do_profile_hits()
292 if (hits[i + j].pc == pc) { in do_profile_hits()
296 hits[i + j].pc = pc; in do_profile_hits()
308 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
310 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
311 hits[i].pc = hits[i].hits = 0; in do_profile_hits()
372 unsigned long pc; in do_profile_hits() local
373 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift; in do_profile_hits()
374 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in do_profile_hits()