Lines Matching refs:prof_buffer
43 static atomic_t *prof_buffer; variable
101 prof_buffer = kzalloc(buffer_bytes, GFP_KERNEL|__GFP_NOWARN); in profile_init()
102 if (prof_buffer) in profile_init()
105 prof_buffer = alloc_pages_exact(buffer_bytes, in profile_init()
107 if (prof_buffer) in profile_init()
110 prof_buffer = vzalloc(buffer_bytes); in profile_init()
111 if (prof_buffer) in profile_init()
122 atomic_add(nr_hits, &prof_buffer[pc]); in do_profile_hits()
127 if (prof_on != type || !prof_buffer) in profile_hits()
172 pnt = (char *)prof_buffer + p - sizeof(atomic_t); in read_profile()
206 memset(prof_buffer, 0, prof_len * sizeof(atomic_t)); in write_profile()