Home
last modified time | relevance | path

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

/openbmc/phosphor-ipmi-flash/tools/
H A Dio.cpp26 const std::size_t alignedDiff = offset % sys->getpagesize(); in read() local
27 const std::size_t alignedOffset = offset - alignedDiff; in read()
28 const std::size_t alignedSize = length + alignedDiff; in read()
42 static_cast<std::uint8_t*>(devMemMapped) + alignedDiff; in read()
65 const std::size_t alignedDiff = offset % sys->getpagesize(); in write() local
66 const std::size_t alignedOffset = offset - alignedDiff; in write()
67 const std::size_t alignedSize = length + alignedDiff; in write()
82 static_cast<std::uint8_t*>(devMemMapped) + alignedDiff; in write()