Lines Matching defs:from
48 // The number of slots we reserve per translation map from mapping page tables.
85 // Used when copying from/to user memory. This can cause a page fault
157 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
160 const void* from, size_t length, bool user);
162 phys_addr_t from);
366 // get our slots from the global pool
528 // get a slot from the per-cpu user pool
603 LargeMemoryPhysicalPageMapper::MemcpyFromPhysical(void* _to, phys_addr_t from,
607 addr_t pageOffset = from % B_PAGE_SIZE;
620 slot->Map(from - pageOffset);
631 from += toCopy;
646 const uint8* from = (const uint8*)_from;
663 error = user_memcpy((void*)(slot->address + pageOffset), from,
668 memcpy((void*)(slot->address + pageOffset), from, toCopy);
671 from += toCopy;
684 phys_addr_t from)
695 fromSlot->Map(from);