Lines Matching refs:file
239 swap_file* file = it.Next();) {
240 swap_addr_t total = file->last_slot - file->first_slot;
242 "\n", file->vnode, total, file->bmp->free_slots);
245 freeSwapPages += file->bmp->free_slots;
268 panic("swap_slot_alloc(): no swap file in the system\n");
300 // if this swap file has used more than 90% percent of its space
324 panic("find_swap_file(): can't find swap file for slot %" B_PRIu32 "\n",
523 // we'd risk a deadlock in case we come from the file cache
1278 // open the file
1300 // get file descriptor, vnode, and cookie
1329 // set slot index and add this file to swap file list
1331 // TODO: Also check whether the swap file is already registered!
1374 // if this file is currently used, we can't delete
1375 // TODO: mark this swap file deleting, and remove it after releasing
1424 // init swap file list
1443 // Never try to create a swap file on a read-only device - when booting
1561 // We now have a swapDeviceID which is used for the swap file
1591 // Create swap file
1612 dprintf("%s: Failed to add swap file %s: %s\n", __func__, swapPath,