RETURN VALUES
The vm_map_wire and vm_map_unwire functions have identical return values. The functions return KERN_SUCCESS if all pages within the range were [un]wired successfully. Otherwise, if the specified range was not valid, or if the map changed while the MAP_ENTRY_IN_TRANSITION flag was set, KERN_INVALID_ADDRESS is returned.
SEE ALSO
mlockall(2), munlockall(2), vm_map(9)
AUTHORS