Searched refs:sSwapFileAlloc (Results 1 – 1 of 1) sorted by relevance
152 static swap_file* sSwapFileAlloc = NULL; // allocate from here variable283 if (sSwapFileAlloc == NULL) in swap_slot_alloc()284 sSwapFileAlloc = sSwapFileList.First(); in swap_slot_alloc()286 addr = radix_bitmap_alloc(sSwapFileAlloc->bmp, count); in swap_slot_alloc()288 addr += sSwapFileAlloc->first_slot; in swap_slot_alloc()293 sSwapFileAlloc = sSwapFileList.GetNext(sSwapFileAlloc); in swap_slot_alloc()304 if (sSwapFileAlloc->bmp->free_slots in swap_slot_alloc()305 < (sSwapFileAlloc->last_slot - sSwapFileAlloc->first_slot) / 10) { in swap_slot_alloc()306 sSwapFileAlloc = sSwapFileList.GetNext(sSwapFileAlloc); in swap_slot_alloc()1573 sSwapFileAlloc = NULL; in swap_init()