Lines Matching refs:prof_shift
45 static unsigned short int prof_shift; variable
71 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
73 prof_shift); in profile_setup()
82 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
84 prof_shift); in profile_setup()
90 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
92 prof_shift); in profile_setup()
94 prof_shift = clamp(par, 0, BITS_PER_LONG - 1); in profile_setup()
97 prof_shift); in profile_setup()
111 prof_len = (_etext - _stext) >> prof_shift; in profile_init()
114 pr_warn("profiling shift: %u too large\n", prof_shift); in profile_init()
299 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in do_profile_hits()
397 pc = ((unsigned long)__pc - (unsigned long)_stext) >> prof_shift; in do_profile_hits()
479 unsigned long sample_step = 1UL << prof_shift; in read_profile()