Home
last modified time | relevance | path

Searched refs:prof_len (Results 1 – 1 of 1) sorted by relevance

/kernel/
Dprofile.c44 static unsigned long prof_len, prof_shift; variable
110 prof_len = (_etext - _stext) >> prof_shift; in profile_init()
111 buffer_bytes = prof_len*sizeof(atomic_t); in profile_init()
291 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
390 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in do_profile_hits()
474 if (p >= (prof_len+1)*sizeof(unsigned int)) in read_profile()
476 if (count > (prof_len+1)*sizeof(unsigned int) - p) in read_profile()
477 count = (prof_len+1)*sizeof(unsigned int) - p; in read_profile()
516 memset(prof_buffer, 0, prof_len * sizeof(atomic_t)); in write_profile()
554 proc_set_size(entry, (1 + prof_len) * sizeof(atomic_t)); in create_proc_profile()