| /openbmc/qemu/disas/ |
| H A D | capstone.c | 183 size_t csize = 0; in cap_disas_target() local 191 size_t tsize = MIN(sizeof(cap_buf) - csize, size); in cap_disas_target() 194 if (info->read_memory_func(pc + csize, cap_buf + csize, tsize, info) == 0) { in cap_disas_target() 195 csize += tsize; in cap_disas_target() 198 while (cs_disasm_iter(handle, &cbuf, &csize, &pc, insn)) { in cap_disas_target() 208 if (csize != 0) { in cap_disas_target() 209 memmove(cap_buf, cbuf, csize); in cap_disas_target() 218 if (csize != 0) { in cap_disas_target() 272 size_t csize = 0; in cap_disas_monitor() local 289 uint64_t epc = QEMU_ALIGN_UP(pc + csize + 1, 1024); in cap_disas_monitor() [all …]
|
| /openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/ |
| H A D | CVE-2019-13232_p1.patch | 22 * defer_leftover_input(), and it is NOT allowed to touch G.csize 24 - * (single exception: see read_byte()'s "G.csize <= 0" handling) !! 25 + * (single exception: see readbyte()'s "G.csize <= 0" handling) !! 27 + if (G.csize < 0L) 28 + G.csize = 0L; 29 G.incnt = G.incnt_leftover + (int)G.csize; 30 G.inptr = G.inptr_leftover - (int)G.csize;
|
| H A D | 11-cve-2014-8141-getzip64data.patch | 102 - if (G.crec.csize == 0xffffffff || G.lrec.csize == 0xffffffff){ 103 - G.csize = G.lrec.csize = G.crec.csize = makeint64(offset + ef_buf); 104 - offset += sizeof(G.crec.csize); 106 + if ((G.crec.csize == Z64FLGL) || (G.lrec.csize == Z64FLGL)) 111 + G.csize = G.crec.csize = G.lrec.csize = makeint64(offset + ef_buf);
|
| H A D | CVE-2015-7697.patch | 22 + if (G.incnt <= 0 && G.csize <= 0L) {
|
| H A D | CVE-2015-7696.patch | 28 + * then continuing with a negative G.csize. (See
|
| H A D | CVE-2019-13232_p2.patch | 260 + ((G.lrec.csize & LOW) != SIG || /* if not SIG, have signature */ 262 + (G.zip64 ? G.lrec.csize >> 32 : G.lrec.ucsize) != SIG
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 284 | 61 echo "== cluster size $csize" 74 …$QEMU_IO -c "write -P 0x9 $csize 1" $QEMU_IMG_EXTRA_ARGS $TEST_IMG | _filter_qemu_io | _filter_tes… 88 for csize in 512 2048 32768 90 …RET -o "encrypt.format=luks,encrypt.key-secret=sec0,encrypt.iter-time=10,cluster_size=$csize" $size
|
| H A D | 212 | 180 for csize in [ 1234, 128, 4294967296, 9223372036854775808, 185 'cluster-size': csize })
|
| H A D | 206 | 257 for csize in [ 1234, 128, 4194304, 0 ]: 261 'cluster-size': csize })
|
| /openbmc/u-boot/fs/jffs2/ |
| H A D | jffs2_nand_1pass.c | 148 new->csize = node->csize; in insert_inode() 306 len += jNode->csize; in jffs2_1pass_read_inode() 336 rtime_decompress(src, dst, inode->csize, inode->dsize); in jffs2_1pass_read_inode() 341 dynrubin_decompress(src, dst, inode->csize, inode->dsize); in jffs2_1pass_read_inode() 344 ret = zlib_decompress(src, dst, inode->csize, inode->dsize); in jffs2_1pass_read_inode() 348 ret = lzo_decompress(src, dst, inode->csize, inode->dsize); in jffs2_1pass_read_inode() 594 size_t len = jNode->csize; in jffs2_1pass_resolve_inode() 598 tmp[jNode->csize] = '\0'; in jffs2_1pass_resolve_inode() 722 putLabeledWord("\tbuild_list: csize = ", jNode->csize); in dump_fragments()
|
| H A D | jffs2_private.h | 94 node->csize)) { in data_crc()
|
| H A D | jffs2_nand_private.h | 16 u32 csize; member
|
| H A D | jffs2_1pass.c | 728 putLabeledWord("read_inode: csize = ", jNode->csize); in jffs2_1pass_read_inode() 780 rtime_decompress(src, lDest, jNode->csize, jNode->dsize); in jffs2_1pass_read_inode() 784 dynrubin_decompress(src, lDest, jNode->csize, jNode->dsize); in jffs2_1pass_read_inode() 787 zlib_decompress(src, lDest, jNode->csize, jNode->dsize); in jffs2_1pass_read_inode() 791 lzo_decompress(src, lDest, jNode->csize, jNode->dsize); in jffs2_1pass_read_inode() 1416 putLabeledWord("\tbuild_list: csize = ", jNode->csize); in dump_fragments() 1839 piL->compr_info[jNode->compr].compr_sum += jNode->csize; in jffs2_1pass_fill_info()
|
| /openbmc/qemu/tests/qtest/ |
| H A D | tpm-crb-test.c | 28 uint32_t csize = readl(TPM_CRB_ADDR_BASE + A_CRB_CTRL_CMD_SIZE); in tpm_crb_test() local 48 g_assert_cmpint(csize, >=, 128); in tpm_crb_test()
|
| /openbmc/u-boot/include/jffs2/ |
| H A D | jffs2.h | 162 __u32 csize; /* (Compressed) data size */ member
|
| /openbmc/qemu/block/ |
| H A D | qcow.c | 599 int ret, csize; in decompress_cluster() local 604 csize = cluster_offset >> (63 - s->cluster_bits); in decompress_cluster() 605 csize &= (s->cluster_size - 1); in decompress_cluster() 607 ret = bdrv_co_pread(bs->file, coffset, csize, s->cluster_data, 0); in decompress_cluster() 611 s->cluster_data, csize) < 0) { in decompress_cluster()
|
| H A D | qcow2-refcount.c | 1183 int csize; in qcow2_free_any_cluster() local 1185 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in qcow2_free_any_cluster() 1186 qcow2_free_clusters(bs, coffset, csize, type); in qcow2_free_any_cluster() 1325 int csize; in qcow2_update_snapshot_refcount() local 1328 &coffset, &csize); in qcow2_update_snapshot_refcount() 1330 bs, coffset, csize, in qcow2_update_snapshot_refcount() 1687 int csize; in check_refcounts_l2() local 1730 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in check_refcounts_l2() 1732 bs, res, refcount_table, refcount_table_size, coffset, csize); in check_refcounts_l2()
|
| H A D | qcow2.h | 945 uint64_t *coffset, int *csize);
|
| H A D | qcow2.c | 4832 int ret = 0, csize; in qcow2_co_preadv_compressed() local 4837 qcow2_parse_compressed_l2_entry(bs, l2_entry, &coffset, &csize); in qcow2_co_preadv_compressed() 4839 buf = g_try_malloc(csize); in qcow2_co_preadv_compressed() 4847 ret = bdrv_co_pread(bs->file, coffset, csize, buf, 0); in qcow2_co_preadv_compressed() 4852 if (qcow2_co_decompress(bs, out_buf, s->cluster_size, buf, csize) < 0) { in qcow2_co_preadv_compressed()
|
| H A D | qcow2-cluster.c | 2550 uint64_t *coffset, int *csize) in qcow2_parse_compressed_l2_entry() argument 2560 *csize = nb_csectors * QCOW2_COMPRESSED_SECTOR_SIZE - in qcow2_parse_compressed_l2_entry()
|
| /openbmc/qemu/hw/sd/ |
| H A D | sd.c | 562 uint32_t csize; in sd_set_csd() local 570 csize = (size >> (CMULT_SHIFT + hwblock_shift)) - 1; in sd_set_csd() 581 ((csize >> 10) & 0x03); in sd_set_csd() 583 ((csize >> 2) & 0xff); in sd_set_csd() 585 ((csize << 6) & 0xc0); in sd_set_csd()
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | mmc.c | 2255 u64 cmult, csize; in mmc_startup() local 2375 csize = (mmc->csd[1] & 0x3f) << 16 in mmc_startup() 2379 csize = (mmc->csd[1] & 0x3ff) << 2 in mmc_startup() 2384 mmc->capacity_user = (csize + 1) << (cmult + 2); in mmc_startup()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
| H A D | 0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch | 530 unsigned int csize, rsize; 1064 read_file_number(fd, &csize, 4);
|