Lines Matching refs:pc
36 u32 pc, hits;
190 if (hits[i].pc)
191 hits[i].pc = 0;
194 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
195 hits[i].hits = hits[i].pc = 0;
218 unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
222 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1);
223 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT;
224 secondary = (~(pc << 1) & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT;
239 if (hits[i + j].pc == pc) {
243 hits[i + j].pc = pc;
255 atomic_add(nr_hits, &prof_buffer[pc]);
257 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
258 hits[i].pc = hits[i].hits = 0;
319 unsigned long pc;
320 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift;
321 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]);