Lines Matching defs:result
2115 vm_fault_return_t result;
2148 result = vm_fault_page(src_object, src_offset,
2154 switch(result) {
2250 } while (result != VM_FAULT_SUCCESS);
2548 * See whether we can reuse the result of a previous
2790 boolean_t result;
2842 result = KERN_SUCCESS;
2849 result = vm_object_copy_slowly(src_object, src_offset, size,
2851 if (result == KERN_SUCCESS) {
2858 result = vm_object_copy_call(src_object, src_offset, size,
2860 if (result == KERN_SUCCESS) {
2869 result = KERN_MEMORY_RESTART_COPY;
2874 result = KERN_INVALID_ARGUMENT;
2876 return(result);
2898 register vm_object_t result;
2934 if ((result = vm_object_allocate(length)) == VM_OBJECT_NULL)
2941 * the source object. Net result: no change of reference
2944 result->shadow = source;
2951 result->shadow_offset = *offset;
2958 *object = result;
5315 * object and attempts to use this interface will result in an error return
5463 kern_return_t result = vm_purgeable_token_add(queue);
5464 if (result != KERN_SUCCESS) {
5466 return result;
5492 kern_return_t result;
5497 result = vm_purgeable_token_add(queue);
5500 assert(result==KERN_SUCCESS); /* this should never fail since we just freed a token */