Searched refs:SWAP_BLOCK_PAGES (Results 1 - 1 of 1) sorted by last modified time

/haiku/src/system/kernel/vm/
H A DVMAnonymousCache.cpp84 #define SWAP_BLOCK_PAGES 32 macro
85 #define SWAP_BLOCK_SHIFT 5 /* 1 << SWAP_BLOCK_SHIFT == SWAP_BLOCK_PAGES */
86 #define SWAP_BLOCK_MASK (SWAP_BLOCK_PAGES - 1)
106 // SWAP_BLOCK_PAGES continuous pages from the same cache
111 swap_addr_t swap_slots[SWAP_BLOCK_PAGES];
538 pageIndex = ROUNDUP(pageIndex + 1, SWAP_BLOCK_PAGES) - 1;
575 pageIndex = ROUNDUP(pageIndex + 1, SWAP_BLOCK_PAGES) - 1;
641 = SWAP_BLOCK_PAGES - (sourcePageIndex & SWAP_BLOCK_MASK);
671 for (uint32 i = 0; i < SWAP_BLOCK_PAGES; i++)
1080 for (uint32 i = 0; i < SWAP_BLOCK_PAGES;
[all...]

Completed in 22 milliseconds