Lines Matching defs:map_addr
114 vm_map_offset_t map_addr;
142 map_addr = vm_map_min(map);
143 if (map_addr == 0)
144 map_addr += PAGE_SIZE;
146 map_addr = vm_map_trunc_page(*addr);
154 &map_addr,
165 *addr = map_addr;
181 vm_map_offset_t map_addr;
209 map_addr = vm_map_min(map);
210 if (map_addr == 0)
211 map_addr += PAGE_SIZE;
213 map_addr = vm_map_trunc_page(*addr);
221 &map_addr,
232 *addr = CAST_DOWN(vm_offset_t, map_addr);
541 vm_map_address_t map_addr;
544 map_addr = (vm_map_address_t)(data_list[i].address);
549 map_addr,
556 &map_addr,
559 data_list[i].address = map_addr;
606 vm_map_address_t map_addr;
609 map_addr = (vm_map_address_t)(data_list[i].address);
614 map_addr,
620 &map_addr,
624 CAST_DOWN(vm_offset_t, map_addr);
880 mach_vm_address_t map_addr;
885 map_addr = (mach_vm_address_t)*address;
889 kr = mach_vm_map(target_map, &map_addr, map_size, map_mask, flags,
892 *address = CAST_DOWN(vm_address_t, map_addr);
911 mach_vm_address_t map_addr;
917 map_addr = (mach_vm_address_t)*address;
922 kr = mach_vm_map(target_map, &map_addr, map_size, map_mask, flags,
925 *address = CAST_DOWN(vm_address_t, map_addr);
951 vm_map_offset_t map_addr;
957 map_addr = (vm_map_offset_t)*address;
960 &map_addr,
970 *address = map_addr;
999 vm_map_offset_t map_addr;
1005 map_addr = (vm_map_offset_t)*address;
1008 &map_addr,
1018 *address = CAST_DOWN(vm_offset_t, map_addr);
1283 vm_map_offset_t map_addr;
1290 map_addr = (vm_map_offset_t)*address;
1298 &map_addr, &map_size,
1302 *address = map_addr;
1331 vm_map_offset_t map_addr;
1338 map_addr = (vm_map_offset_t)*address;
1346 &map_addr, &map_size,
1350 *address = CAST_DOWN(vm_offset_t, map_addr);
1353 if (KERN_SUCCESS == kr && map_addr + map_size > VM_MAX_ADDRESS)
1368 vm_map_address_t map_addr;
1375 map_addr = (vm_map_address_t)*address;
1379 &map_addr, &map_size,
1383 *address = CAST_DOWN(vm_address_t, map_addr);
1386 if (KERN_SUCCESS == kr && map_addr + map_size > VM_MAX_ADDRESS)
1405 vm_map_address_t map_addr;
1412 map_addr = (vm_map_address_t)*address;
1417 &map_addr,
1423 *address = map_addr;
1442 vm_map_address_t map_addr;
1449 map_addr = (vm_map_address_t)*address;
1454 &map_addr,
1460 *address = CAST_DOWN(vm_address_t, map_addr);
1463 if (KERN_SUCCESS == kr && map_addr + map_size > VM_MAX_ADDRESS)
1479 vm_map_address_t map_addr;
1487 map_addr = (vm_map_address_t)*address;
1492 kr = vm_map_region_recurse_64(map, &map_addr,&map_size,
1513 *address = CAST_DOWN(vm_address_t, map_addr);
1517 if (KERN_SUCCESS == kr && map_addr + map_size > VM_MAX_ADDRESS)
1581 vm_map_address_t map_addr;
1591 map_addr = (vm_map_address_t)*addr;
1595 &map_addr,
1599 *addr = CAST_DOWN(vm_address_t, map_addr);
1641 vm_map_offset_t map_addr;
1647 kr = vm_map_enter_upl(map, upl, &map_addr);
1648 *dst_addr = CAST_DOWN(vm_offset_t, map_addr);