Lines Matching refs:prof_buffer
42 static atomic_t *prof_buffer;
120 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN);
121 if (prof_buffer)
124 prof_buffer = alloc_pages_exact(buffer_bytes,
126 if (prof_buffer)
129 prof_buffer = vmalloc(buffer_bytes);
130 if (prof_buffer) {
131 memset(prof_buffer, 0, buffer_bytes);
235 * to flip buffers and flushes their contents to prof_buffer itself.
286 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
314 if (prof_on != type || !prof_buffer)
349 atomic_add(nr_hits, &prof_buffer[pc]);
351 atomic_add(hits[i].hits, &prof_buffer[hits[i].pc]);
426 if (prof_on != type || !prof_buffer)
429 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]);
520 pnt = (char *)prof_buffer + p - sizeof(atomic_t);
551 memset(prof_buffer, 0, prof_len * sizeof(atomic_t));