Lines Matching refs:used
110 uint32 used;
257 kprintf("used: %9" B_PRIu32 "\n", totalSwapPages - freeSwapPages);
303 // if this swap file has used more than 90% percent of its space
567 if (--swapBlock->used == 0) {
645 if (sourceSwapBlock == NULL || sourceSwapBlock->used == 0) {
652 for (; left > 0 && sourceSwapBlock->used > 0;
670 swapBlock->used = 0;
687 swapBlock->used++;
691 sourceSwapBlock->used--;
705 if (sourceSwapBlock->used == 0) {
888 // TODO: Currently this method is only used for single pages. Either make
949 // We can write the page, if we have not used all of our committed swap
1079 swap->used = 0;
1092 swap->used += j;
1116 swap->used -= j;
1117 if (swap->used == 0) {
1322 sourceSwapBlock->used--;
1333 fAllocatedSwapSize += B_PAGE_SIZE * (off_t)sourceSwapBlock->used;
1335 if (sourceSwapBlock->used == 0) {
1520 // if this file is currently used, we can't delete
1590 // from CD, the write overlay is used.
1707 // We now have a swapDeviceID which is used for the swap file