Lines Matching refs:range0_sizek
287 unsigned long range0_basek, range0_sizek; in range_to_mtrr_with_hole() local
315 range0_sizek = ALIGN(state->range_sizek, chunk_sizek); in range_to_mtrr_with_hole()
318 if (range0_sizek == state->range_sizek) { in range_to_mtrr_with_hole()
329 while (range0_basek + range0_sizek > (basek + sizek)) { in range_to_mtrr_with_hole()
330 if (range0_sizek >= chunk_sizek) in range_to_mtrr_with_hole()
331 range0_sizek -= chunk_sizek; in range_to_mtrr_with_hole()
333 range0_sizek = 0; in range_to_mtrr_with_hole()
335 if (!range0_sizek) in range_to_mtrr_with_hole()
341 range_basek = range0_basek + range0_sizek; in range_to_mtrr_with_hole()
347 if (range0_sizek > state->range_sizek) { in range_to_mtrr_with_hole()
350 hole_sizek = range0_sizek - state->range_sizek - second_sizek; in range_to_mtrr_with_hole()
353 if (hole_sizek >= (range0_sizek >> 1) && in range_to_mtrr_with_hole()
354 range0_sizek >= chunk_sizek) { in range_to_mtrr_with_hole()
355 range0_sizek -= chunk_sizek; in range_to_mtrr_with_hole()
363 if (range0_sizek) { in range_to_mtrr_with_hole()
366 (range0_basek + range0_sizek)<<10); in range_to_mtrr_with_hole()
368 range0_sizek, MTRR_TYPE_WRBACK); in range_to_mtrr_with_hole()
371 if (range0_sizek < state->range_sizek) { in range_to_mtrr_with_hole()
373 range_sizek = state->range_sizek - range0_sizek; in range_to_mtrr_with_hole()