Lines Matching refs:file
242 swap_file* file = it.Next();) {
243 swap_addr_t total = file->last_slot - file->first_slot;
245 "\n", file->vnode, total, file->bmp->free_slots);
248 freeSwapPages += file->bmp->free_slots;
271 panic("swap_slot_alloc(): no swap file in the system\n");
303 // if this swap file has used more than 90% percent of its space
327 panic("find_swap_file(): can't find swap file for slot %" B_PRIu32 "\n",
555 // we'd risk a deadlock in case we come from the file cache
1424 // open the file
1446 // get file descriptor, vnode, and cookie
1475 // set slot index and add this file to swap file list
1477 // TODO: Also check whether the swap file is already registered!
1520 // if this file is currently used, we can't delete
1521 // TODO: mark this swap file deleting, and remove it after releasing
1570 // init swap file list
1589 // Never try to create a swap file on a read-only device - when booting
1707 // We now have a swapDeviceID which is used for the swap file
1737 // Create swap file
1758 dprintf("%s: Failed to add swap file %s: %s\n", __func__, swapPath,