Lines Matching refs:result
3098 vm_fault_return_t result;
3137 result = vm_fault_page(src_object, src_offset,
3143 switch(result) {
3233 " 0x%x from vm_fault_page()\n", result);
3235 } while (result != VM_FAULT_SUCCESS);
3535 * See whether we can reuse the result of a previous
3777 boolean_t result;
3829 result = KERN_SUCCESS;
3836 result = vm_object_copy_slowly(src_object, src_offset, size,
3838 if (result == KERN_SUCCESS) {
3845 result = vm_object_copy_call(src_object, src_offset, size,
3847 if (result == KERN_SUCCESS) {
3856 result = KERN_MEMORY_RESTART_COPY;
3861 result = KERN_INVALID_ARGUMENT;
3863 return(result);
3885 register vm_object_t result;
3933 if ((result = vm_object_allocate(length)) == VM_OBJECT_NULL)
3940 * the source object. Net result: no change of reference
3943 result->shadow = source;
3950 result->vo_shadow_offset = *offset;
3957 *object = result;
5973 * object and attempts to use this interface will result in an error return
6169 kern_return_t result = vm_purgeable_token_add(queue);
6170 if (result != KERN_SUCCESS) {
6172 return result;
6210 kern_return_t result;
6215 result = vm_purgeable_token_add(queue);
6218 assert(result==KERN_SUCCESS); /* this should never fail since we just freed a token */
6898 * this cacluation will result in a size that is neither a
6966 * the result to a PAGE_SIZE boundary