Home
last modified time | relevance | path

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

/xnu-12377.41.6/san/memory/
H A Dkasan-x86_64.c288 unsigned long to_steal; in kasan_reserve_memory() local
300to_steal = (unsigned long)(total_pages * STOLEN_MEM_PERCENT) / 100 + (STOLEN_MEM_BYTES / I386_PGBY… in kasan_reserve_memory()
308 if ((mptr_tmp->Type == kEfiConventionalMemory) && (mptr_tmp->NumberOfPages > to_steal)) { in kasan_reserve_memory()
310 mptr_tmp->NumberOfPages -= to_steal; in kasan_reserve_memory()
313 shadow_ptop = shadow_pbase + (to_steal << I386_PGSHIFT); in kasan_reserve_memory()
315 shadow_pages_total = (unsigned int)to_steal; in kasan_reserve_memory()