Home
last modified time | relevance | path

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

/openbmc/phosphor-mboxd/vpnor/test/
H A Dwrite_patch_resize.cpp23 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()
/openbmc/hiomapd/vpnor/test/
H A Dwrite_patch_resize.cpp27 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()