Lines Matching full:hits

36 	u32 pc, hits;  member
212 * profile hits. read_profile() IPI's all cpus to request them
217 * profile hits required for the accuracy of reported profile hits
221 * and hold the number of pending hits to that profile buffer slot on
222 * a cpu in an entry. When the hashtable overflows, all pending hits
224 * atomic_add() and the hashtable emptied. As numerous pending hits
229 * positions to which hits are accounted during short intervals (e.g.
257 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[j]; in profile_flip_buffers() local
259 if (!hits[i].hits) { in profile_flip_buffers()
260 if (hits[i].pc) in profile_flip_buffers()
261 hits[i].pc = 0; in profile_flip_buffers()
264 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in profile_flip_buffers()
265 hits[i].hits = hits[i].pc = 0; in profile_flip_buffers()
280 struct profile_hit *hits = per_cpu(cpu_profile_hits, cpu)[i]; in profile_discard_flip_buffers() local
281 memset(hits, 0, NR_PROFILE_HIT*sizeof(struct profile_hit)); in profile_discard_flip_buffers()
290 struct profile_hit *hits; in do_profile_hits() local
296 hits = per_cpu(cpu_profile_hits, cpu)[per_cpu(cpu_profile_flip, cpu)]; in do_profile_hits()
297 if (!hits) { in do_profile_hits()
309 if (hits[i + j].pc == pc) { in do_profile_hits()
310 hits[i + j].hits += nr_hits; in do_profile_hits()
312 } else if (!hits[i + j].hits) { in do_profile_hits()
313 hits[i + j].pc = pc; in do_profile_hits()
314 hits[i + j].hits = nr_hits; in do_profile_hits()
327 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]); in do_profile_hits()
328 hits[i].pc = hits[i].hits = 0; in do_profile_hits()