Home
last modified time | relevance | path

Searched full:zeros (Results 1 – 25 of 168) sorted by relevance

1234567

/openbmc/qemu/tests/qemu-iotests/tests/
H A Dwrite-zeroes-unmap4 # 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 Dwrite-zeroes-unmap.out3 === 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 Dempty.py13 # 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 Dmemory.c238 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 Dzero_test.cpp27 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 Dzstd_decompressor_test.cpp44 // 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 Dzero.cpp63 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 Dxbzrle.txt60 1001 zeros
62 3074 zeros
65 1001 zeros
67 3074 zeros
/openbmc/u-boot/tools/
H A Dimx8mimage.c196 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 Dimx8image.c302 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 Dmkimage.c649 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 Dzero.hpp41 /** @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 D0016-libsparse-Add-hole-mode-to-sparse_file_read.patch8 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 Dmigration-stats.h68 * 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 Dlog_id_test.cpp65 // 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 Dhost-utils.h130 * 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 Dcio.h24 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 DREADME.enetaddr45 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 Dmie3-mvcrl.c37 * PoP says: Bits 32-55 of general register 0 should contain zeros; in test_bad_r0()
/openbmc/qemu/docs/interop/
H A Dqcow2.rst167 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 Drelocate_sdk.py191 # pad with zeros
206 # pad with zeros
230 """ pad with zeros """
/openbmc/openbmc/meta-google/recipes-google/networking/network-sh/
H A Dlib.sh170 # 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 D0001-bthelper-correct-path-for-hciconfig-under-Yocto.patch21 # Need to bring hci up before looking at MAC as it can be all zeros during init
/openbmc/u-boot/drivers/pch/
H A Dpch9.c31 * okay: not all ones or zeros. in pch9_get_gpio_base()
H A Dpch7.c47 * okay: not all ones or zeros. in pch7_get_gpio_base()

1234567