Lines Matching refs:to
10 memory, i.e. more than we can afford to completely map into the kernel
79 // Used when copying from/to user memory. This can cause a page fault
80 // which might need to memcpy()/memset() a page when being handled.
152 virtual status_t MemcpyFromPhysical(void* to, phys_addr_t from,
154 virtual status_t MemcpyToPhysical(phys_addr_t to,
156 virtual void MemcpyPhysicalPage(phys_addr_t to,
236 // wait for a free slot to turn up
258 // wait for two free slot to turn up
325 panic("PhysicalPageOpsCPUData::Init(): Failed to get initial "
350 // put our slots back to the global pool
367 // set to invalid physical address, so it won't be used accidentally
406 // not found -- need to map a fresh one
449 panic("LargeMemoryPhysicalPageMapper::Init(): Failed to init "
547 // return the slot to the per-cpu user pool
608 uint8* to = (uint8*)_to;
625 error = user_memcpy(to, (void*)(slot->address + pageOffset),
630 memcpy(to, (void*)(slot->address + pageOffset), toCopy);
632 to += toCopy;
645 LargeMemoryPhysicalPageMapper::MemcpyToPhysical(phys_addr_t to,
649 addr_t pageOffset = to % B_PAGE_SIZE;
662 slot->Map(to - pageOffset);
672 to += toCopy;
685 LargeMemoryPhysicalPageMapper::MemcpyPhysicalPage(phys_addr_t to,
698 toSlot->Map(to);