Home
last modified time | relevance | path

Searched refs:pageSize (Results 1 – 6 of 6) sorted by relevance

/openbmc/google-misc/subprojects/espi-control/
H A Dnpcm7xx_espi_control.cpp105 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 Dlpc_nuvoton.cpp173 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 Dutil.cpp244 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 Dmboxd_pnor_partition_table.cpp78 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 Dfile_io.cpp52 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 Dbackend.cpp126 constexpr size_t pageSize = 0x1000; in vpnor_copy_bootloader_partition() local
129 constexpr size_t tocStart = pnorSize - tocMaxSize - pageSize; in vpnor_copy_bootloader_partition()