| /openbmc/estoraged/src/erase/ |
| H A D | zero.cpp | 26 const std::array<const std::byte, blockSize> blockOfZeros{}; in writeZero() 30 uint32_t writeSize = currentIndex + blockSize < driveSize in writeZero() 31 ? blockSize in writeZero() 75 std::array<std::byte, blockSize> readArr{}; in verifyZero() 76 const std::array<const std::byte, blockSize> blockOfZeros{}; in verifyZero() 80 uint32_t readSize = currentIndex + blockSize < driveSize in verifyZero() 81 ? blockSize in verifyZero()
|
| H A D | pattern.cpp | 36 std::array<std::byte, blockSize> randArr{}; in writePattern() 48 size_t writeSize = currentIndex + blockSize < driveSize in writePattern() 49 ? blockSize in writePattern() 85 std::array<std::byte, blockSize> randArr{}; in verifyPattern() 86 std::array<std::byte, blockSize> readArr{}; in verifyPattern() 90 size_t readSize = currentIndex + blockSize < driveSize in verifyPattern() 91 ? blockSize in verifyPattern()
|
| /openbmc/entity-manager/test/ |
| H A D | test_fru-utils.cpp | 19 static constexpr size_t blockSize = I2C_SMBUS_BLOCK_MAX; variable 175 data.reserve(blockSize * 2); in TEST() 176 for (size_t i = 0; i < blockSize * 2; i++) in TEST() 180 std::array<uint8_t, blockSize * 2> rdbuf{}; in TEST() 189 for (size_t i = 0; i < blockSize * 2; i++) in TEST() 194 EXPECT_EQ(reader.read(blockSize - 1, 2, rdbuf.data()), 2); in TEST() 195 EXPECT_EQ(rdbuf[0], blockSize - 1); in TEST() 196 EXPECT_EQ(rdbuf[1], blockSize); in TEST() 213 data.resize(blockSize / 2); in TEST() 214 std::array<uint8_t, blockSize> blockData{}; in TEST() [all …]
|
| /openbmc/hiomapd/vpnor/ |
| H A D | table.cpp | 35 blockSize(1 << be->erase_size_shift), pnorSize(be->flash_size) in Table() 50 table.data.block_size = blockSize; in prepareHeader() 51 table.data.block_count = pnorSize / blockSize; in prepareHeader() 115 parseTocLine(line, blockSize, part); in preparePartitions() 157 const size_t size = part.data.size * blockSize; in preparePartitions() 169 size_t blockOffset = offset / blockSize; in partition() 185 throw UnmappedOffset(offset, part.data.base * blockSize); in partition() 252 size_t blockSize) in writeSizes() argument 255 part.data.base = align_up(start, blockSize) / blockSize; in writeSizes() 256 size_t sizeInBlocks = align_up(size, blockSize) / blockSize; in writeSizes() [all …]
|
| H A D | table.hpp | 48 void parseTocLine(const std::string& line, size_t blockSize, 133 return align_up(szBytes, blockSize); in capacity() 142 return capacity() / blockSize; in blocks() 237 size_t blockSize; member in openpower::virtual_pnor::partition::Table
|
| /openbmc/phosphor-mboxd/vpnor/ |
| H A D | pnor_partition_table.cpp | 27 blockSize(1 << ctx->erase_size_shift), pnorSize(ctx->flash_size) in Table() 42 table.data.block_size = blockSize; in prepareHeader() 43 table.data.block_count = pnorSize / blockSize; in prepareHeader() 102 parseTocLine(line, blockSize, part); in preparePartitions() 140 const size_t size = part.data.size * blockSize; in preparePartitions() 152 size_t blockOffset = offset / blockSize; in partition() 168 throw UnmappedOffset(offset, part.data.base * blockSize); in partition() 235 size_t blockSize) in writeSizes() argument 238 part.data.base = align_up(start, blockSize) / blockSize; in writeSizes() 239 size_t sizeInBlocks = align_up(size, blockSize) / blockSize; in writeSizes() [all …]
|
| H A D | pnor_partition_table.hpp | 41 void parseTocLine(const std::string& line, size_t blockSize, 123 return align_up(szBytes, blockSize); in capacity() 132 return capacity() / blockSize; in blocks() 227 size_t blockSize; member in openpower::virtual_pnor::partition::Table
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/tiobench/tiobench-0.3.3/ |
| H A D | avoid-glibc-clashes.patch | 41 - d->threads[i].buffer = aligned_alloc( d->threads[i].blockSize ); 42 + d->threads[i].buffer = _aligned_alloc( d->threads[i].blockSize ); 50 - aligned_free( d->threads[i].buffer, d->threads[i].blockSize ); 51 + _aligned_free( d->threads[i].buffer, d->threads[i].blockSize );
|
| /openbmc/estoraged/include/ |
| H A D | pattern.hpp | 64 static constexpr size_t blockSize = 4096; member in estoraged::Pattern 65 static constexpr size_t blockSizeUsing32 = blockSize / sizeof(uint32_t);
|
| H A D | zero.hpp | 62 static constexpr size_t blockSize = 4096; member in estoraged::Zero
|
| /openbmc/phosphor-mboxd/vpnor/test/ |
| H A D | tmpd.hpp | 28 size_t blockSize) in VpnorRoot() argument 45 openpower::virtual_pnor::parseTocLine(line, blockSize, part); in VpnorRoot()
|
| /openbmc/openbmc/poky/meta/recipes-extended/pbzip2/pbzip2/ |
| H A D | 0001-pbzip2-Fix-invalid-suffix-on-literal-C-11-warning.patch | 38 @@ -2072,7 +2072,7 @@ int directcompress(int hInfile, OFF_T fileSize, int blockSize, const char *Ou… 69 …support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU… 70 …support %d CPUs\n", (uintmax_t)((NumBufferedBlocksMax + (numCPU * 2)) * blockSize)/1000000, numCPU…
|
| /openbmc/pldm/oem/ibm/libpldmresponder/ |
| H A D | utils.cpp | 101 int writeToUnixSocket(const int sock, const char* buf, const uint64_t blockSize) in writeToUnixSocket() argument 106 for (i = 0; i < blockSize; i = i + nwrite) in writeToUnixSocket() 133 nwrite = write(sock, buf + i, blockSize - i); in writeToUnixSocket()
|
| H A D | utils.hpp | 40 const uint64_t blockSize);
|
| /openbmc/hiomapd/vpnor/test/ |
| H A D | tmpd.hpp | 33 size_t blockSize) : backend(backend) in VpnorRoot() argument 50 openpower::virtual_pnor::parseTocLine(line, blockSize, part); in VpnorRoot()
|
| /openbmc/phosphor-debug-collector/ |
| H A D | dump_offload.cpp | 39 const uint64_t blockSize) in writeOnUnixSocket() argument 43 for (uint64_t i = 0; i < blockSize; i = i + numOfBytesWrote) in writeOnUnixSocket() 66 numOfBytesWrote = write(socket, buf + i, blockSize - i); in writeOnUnixSocket()
|
| /openbmc/phosphor-ipmi-flash/tools/ |
| H A D | net.cpp | 56 constexpr size_t blockSize = 64 * 1024; in sendContents() local 129 bytesSent = sys->sendfile(*connFd, *inputFd, &offset, blockSize); in sendContents()
|