/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | write-zeroes-unmap | 4 # Test write zeros unmap. 50 echo "=== defaults - write zeros ===" 60 echo "=== defaults - write zeros unmap ===" 71 echo "=== defaults - write actual zeros ===" 91 echo "=== detect-zeroes=on - write actual zeros ===" 101 echo "=== detect-zeroes=on,discard=on - write actual zeros ==="
|
H A D | write-zeroes-unmap.out | 3 === defaults - write zeros === 13 === defaults - write zeros unmap === 23 === defaults - write actual zeros === 43 === detect-zeroes=on - write actual zeros === 53 === detect-zeroes=on,discard=on - write actual zeros ===
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
H A D | empty.py | 13 # The plugin supports writing zeros to the start of the 35 Fill the entire partition with zeros. Requires '--fixed-size' option 60 # Set the size of the zeros to be written to the partition 77 # Create a binary file of the requested size filled with zeros 78 source_file = os.path.join(cr_workdir, 'empty-plugin-zeros%s.bin' % part.lineno)
|
/openbmc/qemu/tests/tcg/multiarch/system/ |
H A D | memory.c | 238 int zeros = 0; in read_test_data_u32() local 246 zeros += (b1 == 0 ? 1 : 0); in read_test_data_u32() 247 zeros += (b2 == 0 ? 1 : 0); in read_test_data_u32() 248 zeros += (b3 == 0 ? 1 : 0); in read_test_data_u32() 249 zeros += (b4 == 0 ? 1 : 0); in read_test_data_u32() 250 if (zeros > 1) { in read_test_data_u32() 251 ml_printf("Error @ %p, more zeros than expected: %d, %d, %d, %d", in read_test_data_u32() 280 int zeros = 0; in read_test_data_u64() local 292 zeros += (b1 == 0 ? 1 : 0); in read_test_data_u64() 293 zeros += (b2 == 0 ? 1 : 0); in read_test_data_u64() [all …]
|
/openbmc/estoraged/src/test/erase/ |
H A D | zero_test.cpp | 27 TEST(Zeros, zeroPass) in TEST() argument 48 TEST(Zeros, notDivisible) in TEST() argument 69 TEST(Zeros, notZeroStart) in TEST() argument 95 TEST(Zeros, notZeroEnd) in TEST() argument 121 TEST(Zeros, shortReadWritePass) in TEST() argument 135 // test write zeros with short blocks in TEST() 144 // test read zeros with short blocks in TEST() 154 TEST(Zeros, shortReadWriteFail) in TEST() argument 189 TEST(Zeros, driveIsSmaller) in TEST() argument
|
/openbmc/bmcweb/test/http/ |
H A D | zstd_decompressor_test.cpp | 44 // A 1MB file of all zeros created using in TEST() 45 // dd if=/dev/zero of=zeros-file bs=1024 count=1024 in TEST() 46 // zstd -c zeros-file | xxd -i in TEST() 47 std::array<unsigned char, 54> zeros = { in TEST() local 55 std::to_array<size_t>({1U, 2U, 4U, 8U, 16U, zeros.size()})) in TEST() 58 std::span<unsigned char> data = std::span(zeros); in TEST()
|
/openbmc/estoraged/src/erase/ |
H A D | zero.cpp | 63 lg2::error("Estoraged erase zeros unable to write size", in writeZero() 111 lg2::error("Estoraged erase zeros block unable to read size", in verifyZero() 118 lg2::error("Estoraged erase zeros block is not zero", in verifyZero()
|
/openbmc/qemu/docs/ |
H A D | xbzrle.txt | 60 1001 zeros 62 3074 zeros 65 1001 zeros 67 3074 zeros
|
/openbmc/u-boot/tools/ |
H A D | imx8mimage.c | 196 uint8_t zeros[4096]; in fill_zero() local 199 memset(zeros, 0, sizeof(zeros)); in fill_zero() 213 if (write(ifd, (char *)&zeros, fill_size) != fill_size) { in fill_zero() 231 uint8_t zeros[4096]; in copy_file() local 234 memset(zeros, 0, sizeof(zeros)); in copy_file() 279 int todo = sizeof(zeros); in copy_file() 283 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file()
|
H A D | imx8image.c | 302 uint8_t zeros[0x4000]; in copy_file_aligned() local 311 memset(zeros, 0, sizeof(zeros)); in copy_file_aligned() 351 if (write(ifd, (char *)&zeros, align) != align) { in copy_file_aligned() 368 uint8_t zeros[4096]; in copy_file() local 371 memset(zeros, 0, sizeof(zeros)); in copy_file() 420 int todo = sizeof(zeros); in copy_file() 424 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file()
|
H A D | mkimage.c | 649 uint8_t zeros[4096]; in copy_file() local 654 memset(zeros, 0, sizeof(zeros)); in copy_file() 724 int todo = sizeof(zeros); in copy_file() 728 if (write(ifd, (char *)&zeros, todo) != todo) { in copy_file()
|
/openbmc/estoraged/include/ |
H A D | zero.hpp | 41 /** @brief verifies the drive has only zeros on it, 48 /** @brief verifies the drive has only zeros on it,
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/ |
H A D | 0016-libsparse-Add-hole-mode-to-sparse_file_read.patch | 8 zeros. While these zeros may be significant in some types of files, 80 - * file will be sparsed by looking for block aligned chunks of all zeros or 86 + * by looking for block aligned chunks of all zeros or another 32 bit value. If
|
/openbmc/qemu/migration/ |
H A D | migration-stats.h | 68 * Number of pages transferred that were not full of zeros. 101 * Number of pages transferred that were full of zeros.
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | log_id_test.cpp | 65 // Get PEL ID file updated with binary zeros in TEST() 83 // Get PEL ID file updated with binary zeros again in TEST()
|
/openbmc/qemu/include/qemu/ |
H A D | host-utils.h | 130 * clz8 - count leading zeros in a 8-bit value. 145 * clz16 - count leading zeros in a 16-bit value. 160 * clz32 - count leading zeros in a 32-bit value. 183 * clz64 - count leading zeros in a 64-bit value. 206 * ctz8 - count trailing zeros in a 8-bit value. 218 * ctz16 - count trailing zeros in a 16-bit value. 230 * ctz32 - count trailing zeros in a 32-bit value. 253 * ctz64 - count trailing zeros in a 64-bit value.
|
/openbmc/qemu/pc-bios/s390-ccw/ |
H A D | cio.h | 24 u32 res5:3; /* reserved zeros */ 40 u32 unused1:8; /* reserved zeros */ 42 u32 unused2:18; /* reserved zeros */ 253 u32 zero:6; /* reserved zeros */
|
/openbmc/u-boot/doc/ |
H A D | README.enetaddr | 45 c) The address is valid (unicast, not all-zeros) 92 then it is set to all zeros. The common function is_valid_ethaddr() is used
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | mie3-mvcrl.c | 37 * PoP says: Bits 32-55 of general register 0 should contain zeros; in test_bad_r0()
|
/openbmc/qemu/docs/interop/ |
H A D | qcow2.rst | 167 zeros requires writing to the data file instead 195 as well as filled by zeros (which is equal to field absence), if software needs 313 2 - 47: Feature name (padded with zeros, but not necessarily null 580 Bit 0: If set to 1, the cluster reads as all zeros. The host 622 zeros for all parts that are not covered by the backing file. 658 return zeros if there is no backing file data. 663 32 - 63 Subcluster reads as zeros (one bit per subcluster) 665 1: the subcluster reads as zeros. In this case the 879 0: Cluster should be read as all zeros.
|
/openbmc/openbmc/poky/scripts/ |
H A D | relocate_sdk.py | 191 # pad with zeros 206 # pad with zeros 230 """ pad with zeros """
|
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/ |
H A D | lib.sh | 170 # The index of the first 0 byte in the current run of zeros 176 # Terminate the run of zeros if we are at the end of the array or 189 # If we encountered a run of zeros, add the necessary :: at the end
|
/openbmc/openbmc/meta-raspberrypi/recipes-connectivity/pi-bluetooth/pi-bluetooth/ |
H A D | 0001-bthelper-correct-path-for-hciconfig-under-Yocto.patch | 21 # Need to bring hci up before looking at MAC as it can be all zeros during init
|
/openbmc/u-boot/drivers/pch/ |
H A D | pch9.c | 31 * okay: not all ones or zeros. in pch9_get_gpio_base()
|
H A D | pch7.c | 47 * okay: not all ones or zeros. in pch7_get_gpio_base()
|