Changeset View
Changeset View
Standalone View
Standalone View
sys/vm/uma_core.c
Show First 20 Lines • Show All 2,008 Lines • ▼ Show 20 Lines | fail: | ||||
TAILQ_FOREACH_SAFE(p, &alloctail, listq, p_next) { | TAILQ_FOREACH_SAFE(p, &alloctail, listq, p_next) { | ||||
vm_page_unwire_noq(p); | vm_page_unwire_noq(p); | ||||
vm_page_free(p); | vm_page_free(p); | ||||
} | } | ||||
return (NULL); | return (NULL); | ||||
} | } | ||||
/* | /* | ||||
* Allocates a number of pages from within an object | * Allocates a number of pages not belonging to a VM object | ||||
* | * | ||||
* Arguments: | * Arguments: | ||||
* bytes The number of bytes requested | * bytes The number of bytes requested | ||||
* wait Shall we wait? | * wait Shall we wait? | ||||
* | * | ||||
* Returns: | * Returns: | ||||
* A pointer to the alloced memory or possibly | * A pointer to the alloced memory or possibly | ||||
* NULL if M_NOWAIT is set. | * NULL if M_NOWAIT is set. | ||||
▲ Show 20 Lines • Show All 3,829 Lines • Show Last 20 Lines |