Lines Matching refs:mach_vm_address_t
326 IOKernelFreePhysical(mach_vm_address_t address, mach_vm_size_t size)
328 mach_vm_address_t allocationAddress;
336 adjustedSize = (2 * size) + sizeof(mach_vm_size_t) + sizeof(mach_vm_address_t);
344 (address - sizeof(mach_vm_address_t) - sizeof(mach_vm_size_t)));
345 allocationAddress = *((mach_vm_address_t *)
346 (address - sizeof(mach_vm_address_t) ));
356 mach_vm_address_t
357 IOKernelAllocateWithPhysicalRestrict(mach_vm_size_t size, mach_vm_address_t maxPhys,
361 mach_vm_address_t address;
362 mach_vm_address_t allocationAddress;
364 mach_vm_address_t alignMask;
372 adjustedSize = (2 * size) + sizeof(mach_vm_size_t) + sizeof(mach_vm_address_t);
416 allocationAddress = (mach_vm_address_t) kalloc(adjustedSize);
421 + (sizeof(mach_vm_size_t) + sizeof(mach_vm_address_t)))
428 - sizeof(mach_vm_address_t))) = adjustedSize;
429 *((mach_vm_address_t *)(address - sizeof(mach_vm_address_t)))
450 mach_vm_address_t virtualAddr;
459 mach_vm_address_t address = 0;
474 mach_vm_address_t physicalMask;
492 entry->virtualAddr = (mach_vm_address_t) bmd->getBytesNoCopy();
499 address = (mach_vm_address_t) entry->virtualAddr;
512 mach_vm_address_t address = (mach_vm_address_t) _address;
539 IOKernelFreePhysical((mach_vm_address_t) address, size);