Home
last modified time | relevance | path

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

/linux-3.4.99/kernel/
Dprofile.c43 static unsigned long prof_len, prof_shift; variable
112 prof_len = (_etext - _stext) >> prof_shift; in profile_init()
113 buffer_bytes = prof_len*sizeof(atomic_t); in profile_init()
312 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
422 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in do_profile_hits()
509 if (p >= (prof_len+1)*sizeof(unsigned int)) in read_profile()
511 if (count > (prof_len+1)*sizeof(unsigned int) - p) in read_profile()
512 count = (prof_len+1)*sizeof(unsigned int) - p; in read_profile()
551 memset(prof_buffer, 0, prof_len * sizeof(atomic_t)); in write_profile()
626 entry->size = (1+prof_len) * sizeof(atomic_t); in create_proc_profile()
/linux-3.4.99/arch/mn10300/kernel/
Dprofile.c46 prof_buffer, (u8 *)(prof_buffer + prof_len) - 1); in profile_init()