Lines Matching refs:pc
32 u32 pc, hits; member
285 if (hits[i].pc) in profile_flip_buffers()
286 hits[i].pc = 0; in profile_flip_buffers()
289 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
290 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers()
313 unsigned long primary, secondary, flags, pc = (unsigned long)__pc; in profile_hits() local
319 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in profile_hits()
320 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in profile_hits()
321 secondary = (~(pc << 1) & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT; in profile_hits()
336 if (hits[i + j].pc == pc) { in profile_hits()
340 hits[i + j].pc = pc; in profile_hits()
352 atomic_add(nr_hits, &prof_buffer[pc]); in profile_hits()
354 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_hits()
355 hits[i].pc = hits[i].hits = 0; in profile_hits()
427 unsigned long pc; in profile_hits() local
431 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift; in profile_hits()
432 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in profile_hits()