/openbmc/linux/tools/testing/selftests/arm64/signal/testcases/ |
H A D | zt_regs.c | 32 char *zeros; in zt_regs_run() local 57 /* We didn't load any data into ZT so it should be all zeros */ in zt_regs_run() 58 zeros = malloc(ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run() 59 if (!zeros) { in zt_regs_run() 63 memset(zeros, 0, ZT_SIG_REGS_SIZE(zt->nregs)); in zt_regs_run() 65 if (memcmp(zeros, (char *)zt + ZT_SIG_REGS_OFFSET, in zt_regs_run() 68 free(zeros); in zt_regs_run() 72 free(zeros); in zt_regs_run()
|
H A D | za_regs.c | 42 static char zeros[ZA_SIG_REGS_SIZE(SVE_VQ_MAX)]; variable 87 /* We didn't load any data into ZA so it should be all zeros */ in do_one_sme_vl() 88 if (memcmp(zeros, (char *)za + ZA_SIG_REGS_OFFSET, in do_one_sme_vl()
|
H A D | ssve_za_regs.c | 45 static char zeros[ZA_SIG_REGS_SIZE(SVE_VQ_MAX)]; variable 110 /* We didn't load any data into ZA so it should be all zeros */ in do_one_sme_vl() 111 if (memcmp(zeros, (char *)za + ZA_SIG_REGS_OFFSET, in do_one_sme_vl()
|
/openbmc/linux/arch/s390/include/asm/ |
H A D | cio.h | 161 * @zero0: reserved zeros 163 * @zero16: reserved zeros 165 * @zeros: three fullwords of zeros 172 __u32 zeros[3]; member 177 * @zero0: reserved zeros 181 * @zeros: three fullwords of zeros 188 __u32 zeros[3]; member 193 * @zero0: reserved zeros 197 * @zeros: three fullwords of zeros 204 __u32 zeros[3]; member
|
H A D | cpu_mf.h | 59 unsigned int b0_13:14; /* 0-13: zeros */ 62 unsigned int b16_21:6; /* 16-21: zeros */ 65 unsigned int b24_29:6; /* 24-29: zeros */ 85 unsigned long long b2_53:52;/* 2-53: zeros */ 88 unsigned int b56_61:6; /* 56-61: - zeros */ 105 unsigned int z:2; /* zeros */
|
/openbmc/linux/include/linux/ |
H A D | count_zeros.h | 2 /* Count leading and trailing zeros functions 14 * count_leading_zeros - Count the number of zeros from the MSB back 17 * Count the number of leading zeros from the MSB going towards the LSB in @x. 34 * count_trailing_zeros - Count the number of zeros from the LSB forwards 37 * Count the number of trailing zeros from the LSB going towards the MSB in @x.
|
/openbmc/qemu/tests/tcg/multiarch/system/ |
H A D | memory.c | 239 int zeros = 0; in read_test_data_u32() local 247 zeros += (b1 == 0 ? 1 : 0); in read_test_data_u32() 248 zeros += (b2 == 0 ? 1 : 0); in read_test_data_u32() 249 zeros += (b3 == 0 ? 1 : 0); in read_test_data_u32() 250 zeros += (b4 == 0 ? 1 : 0); in read_test_data_u32() 251 if (zeros > 1) { in read_test_data_u32() 252 ml_printf("Error @ %p, more zeros than expected: %d, %d, %d, %d", in read_test_data_u32() 281 int zeros = 0; in read_test_data_u64() local 293 zeros += (b1 == 0 ? 1 : 0); in read_test_data_u64() 294 zeros += (b2 == 0 ? 1 : 0); in read_test_data_u64() [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | write-zeroes-unmap | 4 # Test write zeros unmap. 49 echo "=== defaults - write zeros ===" 59 echo "=== defaults - write zeros unmap ===" 70 echo "=== defaults - write actual zeros ===" 90 echo "=== detect-zeroes=on - write actual zeros ===" 100 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/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/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/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_obj_id.c | 27 char jited_insns[128], xlated_insns[128], zeros[128], tp_name[128]; in serial_test_bpf_obj_id() local 48 bzero(zeros, sizeof(zeros)); in serial_test_bpf_obj_id() 130 !memcmp(jited_insns, zeros, sizeof(zeros))) || in serial_test_bpf_obj_id() 132 !memcmp(xlated_insns, zeros, sizeof(zeros)) || in serial_test_bpf_obj_id() 150 !!memcmp(jited_insns, zeros, sizeof(zeros)), in serial_test_bpf_obj_id() 151 !!memcmp(xlated_insns, zeros, sizeof(zeros)), in serial_test_bpf_obj_id()
|
/openbmc/linux/drivers/md/ |
H A D | dm-zero.c | 17 * Construct a dummy mapping that only returns zeros 36 * Return zeros only on reads 81 MODULE_DESCRIPTION(DM_NAME " dummy target returning zeros");
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-jtag.c | 104 * Shift long sequences of zeros into the QLM JTAG chain. It is 105 * common to need to shift more than 32 bits of zeros into the 108 * zeros at a time. 110 * @qlm: QLM to shift zeros into
|
H A D | cvmx-helper-errata.c | 59 * so start off with the zeros for bits <63:0>. in __cvmx_helper_errata_qlm_disable_2nd_order_cdr() 64 /* Zeros for bits <76:68> */ in __cvmx_helper_errata_qlm_disable_2nd_order_cdr() 68 /* Zeros for bits <267:78> */ in __cvmx_helper_errata_qlm_disable_2nd_order_cdr()
|
/openbmc/qemu/docs/ |
H A D | xbzrle.txt | 60 1001 zeros 62 3074 zeros 65 1001 zeros 67 3074 zeros
|
/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/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()
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | decbin.S | 36 | A3. Count the number of leading/trailing zeros in the 37 | bcd string. If SE is positive, count the leading zeros; 38 | if negative, count the trailing zeros. Set the adjusted 232 beq ap_st_z |if clear, go to append/strip zeros 236 | Append/strip zeros: 261 | any adjustment due to append/strip zeros will drive the resultant 282 | and do append (+) or strip (-) zeros accordingly. 288 ble pwrten |if abs(expA) <28, skip ap/st zeros 322 | zeros from the mantissa. 370 | zeros to the mantissa.
|
/openbmc/linux/fs/ecryptfs/ |
H A D | read_write.c | 88 * filesystem; it also handles truncate events, writing out zeros 107 * at the current size - we'll fill in zeros from there. in ecryptfs_write() 127 /* remaining zeros to write, up to destination offset */ in ecryptfs_write() 147 * If current pos is before request, we are filling zeros in ecryptfs_write()
|
/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/linux/drivers/s390/cio/ |
H A D | cio.h | 23 u32 res5 : 3; /* reserved zeros */ 39 u32 unused1 : 8; /* reserved zeros */ 41 u32 unused2 : 18; /* reserved zeros */
|
/openbmc/linux/drivers/s390/block/ |
H A D | dasd_fba.h | 50 unsigned char zeros:4; member 61 unsigned char zeros:3; member
|
/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,
|