Lines Matching refs:ptr
216 call fword ptr [edx] in w32skrnl_physical_address_mapping()
862 VOID *ptr; in physmem_map() local
874 ptr = NULL; in physmem_map()
877 …status = physmem->NtMapViewOfSection(physmem->section_handle, GetCurrentProcess(), &ptr, 0, 0, &se… in physmem_map()
911 return ptr; in physmem_map()
940 ptr = (VOID *)(virt - physmem->base_addr_offset); in physmem_map()
941 return ptr; in physmem_map()
952 physmem_unmap(struct physmem *physmem, void *ptr, size_t length) in physmem_unmap() argument
969 if (VirtualQuery(ptr, &info, sizeof(info)) != sizeof(info)) in physmem_unmap()
976 if (info.AllocationBase != ptr || info.RegionSize != ((length + pagesize-1) & ~(pagesize-1))) in physmem_unmap()
982 status = physmem->NtUnmapViewOfSection(GetCurrentProcess(), ptr); in physmem_unmap()