Lines Matching defs:pc
32 u32 pc, hits;
282 if (hits[i].pc)
283 hits[i].pc = 0;
286 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
287 hits[i].hits = hits[i].pc = 0;
310 unsigned long primary, secondary, flags, pc = (unsigned long)__pc;
316 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1);
317 i = primary = (pc & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT;
318 secondary = (~(pc << 1) & (NR_PROFILE_GRP - 1)) << PROFILE_GRPSHIFT;
333 if (hits[i + j].pc == pc) {
337 hits[i + j].pc = pc;
349 atomic_add(nr_hits, &prof_buffer[pc]);
351 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
352 hits[i].pc = hits[i].hits = 0;
424 unsigned long pc;
428 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift;
429 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]);