Searched refs:pageSize (Results 1 – 6 of 6) sorted by relevance
/openbmc/google-misc/subprojects/espi-control/ |
H A D | npcm7xx_espi_control.cpp | 105 size_t pageSize = sysconf(_SC_PAGE_SIZE); in modifyESPIRegisters() local 106 size_t pageBase = NPCM7XX_GLOBAL_CTRL_BASE_ADDR / pageSize * pageSize; in modifyESPIRegisters() 137 pageBase = NPCM7XX_ESPI_BASE_ADDR / pageSize * pageSize; in modifyESPIRegisters()
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | lpc_nuvoton.cpp | 173 int pageSize = sys->getpagesize(); in mapWindow() local 176 sys->mmap(nullptr, pageSize, PROT_READ | PROT_WRITE, MAP_SHARED, fd, in mapWindow() 186 sys->munmap(mapBasePtr, pageSize); in mapWindow()
|
/openbmc/google-misc/subprojects/metrics-ipmi-blobs/ |
H A D | util.cpp | 244 int pageSize = getpagesize(); in readMem() local 245 uint32_t pageOffset = target & ~static_cast<uint32_t>(pageSize - 1); in readMem() 246 uint32_t offsetInPage = target & static_cast<uint32_t>(pageSize - 1); in readMem() 249 mmap(NULL, pageSize * 2, PROT_READ, MAP_SHARED, fd, pageOffset); in readMem() 259 munmap(mapBase, pageSize * 2); in readMem()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_pnor_partition_table.cpp | 78 constexpr size_t pageSize = 0x1000; in vpnor_copy_bootloader_partition() local 81 constexpr size_t tocStart = pnorSize - tocMaxSize - pageSize; in vpnor_copy_bootloader_partition()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | file_io.cpp | 52 static const size_t pageSize = getpagesize(); in transferHostDataToSocket() local 53 uint32_t numPages = length / pageSize; in transferHostDataToSocket() 54 uint32_t pageAlignedLength = numPages * pageSize; in transferHostDataToSocket() 58 pageAlignedLength += pageSize; in transferHostDataToSocket() 125 static const size_t pageSize = getpagesize(); in transferDataHost() local 126 uint32_t numPages = length / pageSize; in transferDataHost() 127 uint32_t pageAlignedLength = numPages * pageSize; in transferDataHost() 131 pageAlignedLength += pageSize; in transferDataHost()
|
/openbmc/hiomapd/vpnor/ |
H A D | backend.cpp | 126 constexpr size_t pageSize = 0x1000; in vpnor_copy_bootloader_partition() local 129 constexpr size_t tocStart = pnorSize - tocMaxSize - pageSize; in vpnor_copy_bootloader_partition()
|