/external/llvm/lib/ExecutionEngine/Orc/ |
OrcABISupport.cpp | 153 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; 154 unsigned NumStubs = (NumPages * PageSize) / StubSize; 159 2 * NumPages * PageSize, nullptr, 166 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); 168 NumPages * PageSize, 169 NumPages * PageSize); 173 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) 235 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; 236 unsigned NumStubs = (NumPages * PageSize) / StubSize; 241 2 * NumPages * PageSize, nullptr [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
OrcABISupport.cpp | 152 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; 153 unsigned NumStubs = (NumPages * PageSize) / StubSize; 158 2 * NumPages * PageSize, nullptr, 165 sys::MemoryBlock StubsBlock(StubsMem.base(), NumPages * PageSize); 167 NumPages * PageSize, 168 NumPages * PageSize); 172 uint64_t PtrOffsetField = static_cast<uint64_t>(NumPages * PageSize) 234 unsigned NumPages = ((MinStubs * StubSize) + (PageSize - 1)) / PageSize; 235 unsigned NumStubs = (NumPages * PageSize) / StubSize; 240 2 * NumPages * PageSize, nullptr [all...] |
/device/linaro/bootloader/OpenPlatformPkg/Library/UsbSerialNumberLib/ |
UsbSerialNumberLib.c | 156 UINTN NumPages; 175 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); 176 DataPtr = AllocatePages (NumPages); 227 FreePages (DataPtr, NumPages); 241 UINTN NumPages; 261 NumPages = EFI_SIZE_TO_PAGES (BlockIoProtocol->Media->BlockSize); 262 DataPtr = AllocatePages (NumPages); 298 FreePages (DataPtr, NumPages);
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/FdtPlatformDxe/ |
FdtPlatform.c | 68 UINTN NumPages;
91 NumPages = 0;
112 NumPages = EFI_SIZE_TO_PAGES (FdtBlobSize);
115 NumPages, &FdtConfigurationTableBase
134 gBS->FreePages (FdtConfigurationTableBase, NumPages);
139 gBS->FreePages (FdtBlobBase, NumPages);
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/HiKeyDxe/ |
HiKeyDxe.c | 207 UINTN FdtSize, NumPages; 225 NumPages = EFI_SIZE_TO_PAGES (FdtSize) + 20; 228 NumPages, NewFdtBase); 243 gBS->FreePages (*NewFdtBase, NumPages);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/NonDiscoverablePciDeviceDxe/ |
NonDiscoverablePciDeviceIo.h | 58 UINTN NumPages;
|
NonDiscoverablePciDeviceIo.c | 801 if (Alloc->HostAddress == HostAddress && Alloc->NumPages == Pages) {
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/Include/IndustryStandard/ |
Virtio095.h | 151 UINTN NumPages;
|
/device/linaro/bootloader/edk2/OvmfPkg/Library/VirtioLib/ |
VirtioLib.c | 78 Ring->NumPages = EFI_SIZE_TO_PAGES (RingSize);
79 Ring->Base = AllocatePages (Ring->NumPages);
139 FreePages (Ring->Base, Ring->NumPages);
|
/external/syzkaller/sys/syz-sysgen/ |
sysgen.go | 48 NumPages uint64 177 "PageSize: %v, NumPages: %v, DataOffset: %v, Syscalls: syscalls_%v, "+ 181 target.PageSize, target.NumPages, target.DataOffset, 221 NumPages: target.NumPages, 297 #define SYZ_NUM_PAGES {{.NumPages}}
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Block/ramdisk/ |
ramdisk.c | 214 UINT32 NumPages;
246 NumPages = RamDiskSize / EFI_PAGE_SIZE;
247 if(NumPages % RamDiskSize)
248 NumPages++;
250 Status = gBS->AllocatePages(AllocateAnyPages,EfiBootServicesData,NumPages,&RamDiskDev->Start);
|
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/ |
QemuFwCfgAcpi.c | 139 UINTN NumPages;
161 NumPages = EFI_SIZE_TO_PAGES (FwCfgSize);
163 Status = gBS->AllocatePages (AllocateMaxAddress, EfiACPIMemoryNVS, NumPages,
191 ZeroMem (Blob->Base + Blob->Size, EFI_PAGES_TO_SIZE (NumPages) - Blob->Size);
202 gBS->FreePages (Address, NumPages);
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey960/HiKey960Dxe/ |
HiKey960Dxe.c | 456 UINTN FdtSize, NumPages;
474 NumPages = EFI_SIZE_TO_PAGES (FdtSize) + 20;
477 NumPages, NewFdtBase);
538 gBS->FreePages (*NewFdtBase, NumPages);
|
/external/syzkaller/sys/test/gen/ |
32_fork_shmem.go | 10 RegisterTarget(&Target{OS: "test", Arch: "32_fork_shmem", Revision: revision_32_fork_shmem, PtrSize: 4, PageSize: 4096, NumPages: 4096, DataOffset: 536870912, Syscalls: syscalls_32_fork_shmem, Resources: resources_32_fork_shmem, Structs: structDescs_32_fork_shmem, Consts: consts_32_fork_shmem}, InitTarget)
|
32_shmem.go | 10 RegisterTarget(&Target{OS: "test", Arch: "32_shmem", Revision: revision_32_shmem, PtrSize: 4, PageSize: 8192, NumPages: 2048, DataOffset: 536870912, Syscalls: syscalls_32_shmem, Resources: resources_32_shmem, Structs: structDescs_32_shmem, Consts: consts_32_shmem}, InitTarget)
|
64_fork.go | 10 RegisterTarget(&Target{OS: "test", Arch: "64_fork", Revision: revision_64_fork, PtrSize: 8, PageSize: 8192, NumPages: 2048, DataOffset: 536870912, Syscalls: syscalls_64_fork, Resources: resources_64_fork, Structs: structDescs_64_fork, Consts: consts_64_fork}, InitTarget)
|
/external/syzkaller/prog/ |
analysis.go | 45 ma: newMemAlloc(target.NumPages * target.PageSize), 46 va: newVmaAlloc(target.NumPages),
|
target.go | 20 NumPages uint64
|
validation.go | 261 maxMem := ctx.target.NumPages * ctx.target.PageSize
|
encoding.go | 646 maxMem := target.NumPages * target.PageSize
|
rand.go | 247 func (r *randGen) allocVMA(s *state, typ Type, numPages uint64) *PointerArg { 248 page := s.va.alloc(r, numPages) 249 return MakeVmaPointerArg(typ, page*r.target.PageSize, numPages*r.target.PageSize) 459 Calls: []*Call{target.MakeMmap(0, target.NumPages*target.PageSize)},
|
/external/syzkaller/sys/targets/ |
targets.go | 22 NumPages uint64 295 target.NumPages = (16 << 20) / target.PageSize
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
BiosSnp16.h | [all...] |
BiosSnp16.c | [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
WasmObjectWriter.cpp | 728 uint32_t NumPages = (DataSize + wasm::WasmPageSize - 1) / wasm::WasmPageSize; 749 encodeULEB128(NumPages, W.OS); // initial [all...] |