Lines Matching defs:result
594 register vm_map_t result;
596 result = (vm_map_t) zalloc(vm_map_zone);
597 if (result == VM_MAP_NULL)
600 vm_map_first_entry(result) = vm_map_to_entry(result);
601 vm_map_last_entry(result) = vm_map_to_entry(result);
602 result->hdr.nentries = 0;
603 result->hdr.entries_pageable = pageable;
605 result->size = 0;
606 result->user_wire_limit = MACH_VM_MAX_ADDRESS; /* default limit is unlimited */
607 result->user_wire_size = 0;
608 result->ref_count = 1;
610 result->res_count = 1;
611 result->sw_state = MAP_SW_IN;
613 result->pmap = pmap;
614 result->min_offset = min;
615 result->max_offset = max;
616 result->wiring_required = FALSE;
617 result->no_zero_fill = FALSE;
618 result->mapped = FALSE;
620 result->prot_copy_allow = FALSE;
622 result->prot_copy_allow = TRUE;
624 result->wait_for_space = FALSE;
625 result->first_free = vm_map_to_entry(result);
626 result->hint = vm_map_to_entry(result);
627 result->color_rr = (color_seed++) & vm_color_mask;
628 vm_map_lock_init(result);
629 mutex_init(&result->s_lock, 0);
631 return(result);
1144 * result indicates whether the address is
1520 kern_return_t result = KERN_SUCCESS;
1605 #define RETURN(value) { result = value; goto BailOut; }
1999 result = vm_map_wire(map, start, end,
2001 RETURN(result);
2019 if (result == KERN_SUCCESS) {
2161 return result;
2184 kern_return_t result;
2240 result = vm_map_enter(target_map,
2251 if (result != KERN_SUCCESS) {
2274 return result;
2449 result = vm_object_copy_strategically(object, offset, size,
2454 if (result == KERN_MEMORY_RESTART_COPY) {
2475 result = KERN_SUCCESS;
2484 if (result != KERN_SUCCESS)
2485 return result;
2491 result = vm_map_enter(target_map,
2498 if (result != KERN_SUCCESS)
2501 return result;
3068 register kern_return_t result = KERN_INVALID_ARGUMENT;
3112 result = pmap_nest(map->pmap,
3117 if(result)
3118 panic("vm_map_submap: pmap_nest failed, rc = %08X\n", result);
3124 result = KERN_SUCCESS;
3128 return(result);
4944 register kern_return_t result;
4948 result = vm_map_delete(map, start, end, flags, VM_MAP_NULL);
4951 return(result);
5067 kern_return_t result;
5122 result = vm_map_overwrite_submap_recurse(
5127 if(result != KERN_SUCCESS)
5128 return result;
6776 * Correct the page alignment for the result
7000 kern_return_t result; /* Return value from
7049 * Create a new address map entry to hold the result.
7193 result = vm_object_copy_slowly(
7218 result = KERN_SUCCESS;
7221 result = vm_object_copy_strategically(src_object,
7231 if (result != KERN_SUCCESS &&
7232 result != KERN_MEMORY_RESTART_COPY) {
7234 RETURN(result);
7302 if (result == KERN_MEMORY_RESTART_COPY)
7464 kern_return_t result;
7466 result = pmap_nest(new_map->pmap,
7471 if(result)
7541 * result in the different entries
8420 boolean_t result;
8423 result = (map->timestamp == version->main_timestamp);
8425 if (!result)
8428 return(result);
10010 kern_return_t result;
10013 vm_map_entry_t src_entry; /* result of last map lookup */
10049 result = KERN_SUCCESS;
10063 result = KERN_INVALID_ADDRESS;
10069 result = KERN_INVALID_ADDRESS;
10074 result = KERN_INVALID_ADDRESS;
10233 result = vm_object_copy_slowly(
10243 result = vm_object_copy_strategically(
10259 if (result != KERN_SUCCESS &&
10260 result != KERN_MEMORY_RESTART_COPY) {
10281 if (result == KERN_MEMORY_RESTART_COPY)
10282 result = KERN_SUCCESS;
10286 if (result == KERN_MEMORY_RESTART_COPY) {
10305 if (result != KERN_SUCCESS) {
10318 return result;
10346 kern_return_t result;
10368 result = vm_map_remap_extract(src_map, memory_address,
10376 if (result != KERN_SUCCESS) {
10377 return result;
10386 result = vm_map_remap_range_allocate(target_map, address, size,
10394 if (result == KERN_SUCCESS) {
10409 if (result == KERN_SUCCESS) {
10415 if (result == KERN_SUCCESS && target_map->wiring_required)
10416 result = vm_map_wire(target_map, *address,
10418 return result;