Searched refs:UPDATE_SIZE (Results 1 – 2 of 2) sorted by relevance
/openbmc/hiomapd/vpnor/test/ |
H A D | write_patch_resize.cpp | 27 static constexpr auto UPDATE_SIZE = BLOCK_SIZE; variable 58 std::vector<uint8_t> update(UPDATE_SIZE, 0x55); in main() 64 assert(UPDATE_SIZE == fs::file_size(patch)); in main() 66 map = mmap(NULL, UPDATE_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|
/openbmc/phosphor-mboxd/vpnor/test/ |
H A D | write_patch_resize.cpp | 23 static constexpr auto UPDATE_SIZE = BLOCK_SIZE; variable 55 std::vector<uint8_t> update(UPDATE_SIZE, 0x55); in main() 61 assert(UPDATE_SIZE == fs::file_size(patch)); in main() 63 map = mmap(NULL, UPDATE_SIZE, PROT_READ, MAP_SHARED, fd, 0); in main()
|