Searched refs:sizek (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/arch/x86/kernel/cpu/mtrr/
H A Dcleanup.c176 set_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, set_var_mtrr() argument
182 if (!sizek) { set_var_mtrr()
188 mask &= ~((((u64)sizek) << 10) - 1); set_var_mtrr()
205 save_var_mtrr(unsigned int reg, unsigned long basek, unsigned long sizek, save_var_mtrr() argument
209 range_state[reg].size_pfn = sizek >> (PAGE_SHIFT - 10); save_var_mtrr()
215 unsigned long basek, sizek; set_var_mtrr_all() local
221 sizek = range_state[reg].size_pfn << (PAGE_SHIFT - 10); set_var_mtrr_all()
224 set_var_mtrr(reg, basek, sizek, type, address_bits); set_var_mtrr_all()
228 static unsigned long to_size_factor(unsigned long sizek, char *factorp) to_size_factor() argument
230 unsigned long base = sizek; to_size_factor()
258 unsigned long sizek; range_to_mtrr() local
270 sizek = 1UL << align; range_to_mtrr()
276 size_base = to_size_factor(sizek, &size_factor); range_to_mtrr()
286 save_var_mtrr(reg++, range_startk, sizek, type); range_to_mtrr()
287 range_startk += sizek; range_to_mtrr()
288 range_sizek -= sizek; range_to_mtrr()
297 unsigned long sizek) range_to_mtrr_with_hole()
343 if (sizek) { range_to_mtrr_with_hole()
344 while (range0_basek + range0_sizek > (basek + sizek)) { range_to_mtrr_with_hole()
359 if (range_basek > basek && range_basek <= (basek + sizek)) range_to_mtrr_with_hole()
414 unsigned long basek, sizek; set_var_mtrr_range() local
421 sizek = size_pfn << (PAGE_SHIFT - 10); set_var_mtrr_range()
426 unsigned long endk = basek + sizek; set_var_mtrr_range()
432 second_sizek = range_to_mtrr_with_hole(state, basek, sizek); set_var_mtrr_range()
436 state->range_sizek = sizek - second_sizek; set_var_mtrr_range()
296 range_to_mtrr_with_hole(struct var_mtrr_state *state, unsigned long basek, unsigned long sizek) range_to_mtrr_with_hole() argument

Completed in 44 milliseconds