retval = KERN_RESOURCE_SHORTAGE;
goto done;
}
page_list_wired = hibernate_page_list_allocate(FALSE);
if (!page_list_wired) {
kfree(page_list, page_list->list_size);
retval = KERN_RESOURCE_SHORTAGE;
goto done;
}
page_list_wired = hibernate_page_list_allocate(FALSE);
if (!page_list_wired) {
kfree(page_list, page_list->list_size);