Home
last modified time | relevance | path

Searched refs:img_size (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/qemu/tests/qemu-iotests/
H A D17150 if [ "$img_size" -ne -1 ] ; then
51 printf %s "\"size\":\"$img_size\", "
60 if [ "$img_size" -ge 0 ] ; then
61 test_size=$img_size
161 img_size=-1
170 img_size=2048
179 img_size=2048
188 img_size=512
H A D15045 img_size=1048576
53 "json:{ 'driver': 'null-co', 'size': $img_size, 'read-zeroes': true }" \
64 "json:{ 'driver': 'null-co', 'size': $img_size, 'read-zeroes': true }" \
H A D20335 img_size = '10M' variable
36 iotests.qemu_img_create('-f', iotests.imgfmt, disk0_img_path, img_size)
37 iotests.qemu_img_create('-f', iotests.imgfmt, disk1_img_path, img_size)
H A D20237 img_size = '10M' variable
38 iotests.qemu_img_create('-f', iotests.imgfmt, disk0_img_path, img_size)
39 iotests.qemu_img_create('-f', iotests.imgfmt, disk1_img_path, img_size)
H A D21927 img_size = 4 * 1024 * 1024 variable
68 global img_size
93 while vm.qmp('query-jobs')['return'][0]['total-progress'] < img_size:
188 iotests.qemu_img_create('-f', iotests.imgfmt, disk_path, str(img_size))
189 iotests.qemu_io('-c', 'write 0 %i' % (img_size),
H A D19435 img_size = '1G' variable
36 iotests.qemu_img_create('-f', iotests.imgfmt, source_img_path, img_size)
37 iotests.qemu_img_create('-f', iotests.imgfmt, dest_img_path, img_size)
H A D20833 img_size = '10M' variable
34 iotests.qemu_img_create('-f', iotests.imgfmt, disk_img_path, img_size)
H A D17547 img_size=$3
/openbmc/qemu/tests/qemu-iotests/tests/
H A Diothreads-commit-active34 img_size = '10M' variable
35 iotests.qemu_img_create('-f', iotests.imgfmt, img_path, img_size)
38 iotests.qemu_img_create('-f', iotests.imgfmt, src_path, img_size)
39 iotests.qemu_img_create('-f', iotests.imgfmt, dst_path, img_size)
H A Diothreads-stream33 img_size = '10M' variable
42 iotests.qemu_img_create('-f', iotests.imgfmt, base_path, img_size)
/openbmc/u-boot/include/
H A Dfsl_validate.h51 u32 img_size; /* ESBC client image size in bytes */ member
129 u32 img_size; /* ESBC client image size in bytes */ member
261 uint32_t img_size; /* ESBC Image Size */ member
/openbmc/linux/fs/romfs/
H A Dsuper.c463 unsigned long pos, img_size; in romfs_fill_super() local
499 img_size = be32_to_cpu(rsb->size); in romfs_fill_super()
501 if (sb->s_mtd && img_size > sb->s_mtd->size) in romfs_fill_super()
504 sb->s_fs_info = (void *) img_size; in romfs_fill_super()
507 img_size < ROMFH_SIZE) { in romfs_fill_super()
514 if (romfs_checksum(rsb, min_t(size_t, img_size, 512))) { in romfs_fill_super()
/openbmc/qemu/hw/s390x/
H A Dipl.c484 int img_size = -1; in load_netboot_image() local
505 img_size = load_elf_ram(netboot_filename, NULL, NULL, NULL, in load_netboot_image()
510 if (img_size < 0) { in load_netboot_image()
511 img_size = load_image_size(netboot_filename, ram_ptr, ms->ram_size); in load_netboot_image()
515 if (img_size < 0) { in load_netboot_image()
523 return img_size; in load_netboot_image()
/openbmc/u-boot/arch/x86/include/asm/fsp/
H A Dfsp_infoheader.h19 u32 img_size; /* image size */ member
/openbmc/qemu/tests/image-fuzzer/
H A Drunner.py213 img_size = image_generator.create_image(
219 start = random.randrange(0, img_size + 1, sector_size)
220 end = random.randrange(start, img_size + 1, sector_size)
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c224 rdev->uvd.img_size[i] = 0; in radeon_uvd_init()
471 unsigned img_size = 0; in radeon_uvd_cs_msg() local
500 img_size = msg[7] * msg[8]; in radeon_uvd_cs_msg()
516 p->rdev->uvd.img_size[i] = img_size; in radeon_uvd_cs_msg()
853 if (rdev->uvd.img_size[i] >= 720*576) in radeon_uvd_count_handles()
H A Dradeon_vce.c540 p->rdev->vce.img_size[i] = 0; in radeon_vce_validate_handle()
587 size = &p->rdev->vce.img_size[session_idx]; in radeon_vce_cs_parse()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vce.h44 uint32_t img_size[AMDGPU_MAX_VCE_HANDLES]; member
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py530 img_size = random.randrange(0, MAX_IMAGE_SIZE + 1, cluster_size)
531 return (cluster_bits, img_size)
586 def _alloc_data(img_size, cluster_size): argument
589 num_of_cls = img_size // cluster_size
/openbmc/u-boot/board/freescale/common/
H A Dfsl_validate.c589 (u8 *)(*(img->img_addr_ptr)), img->img_size, 1); in calc_esbchdr_esbc_hash()
687 if (!hdr->img_size) in read_validate_esbc_client_header()
690 img->img_size = hdr->img_size; in read_validate_esbc_client_header()
/openbmc/u-boot/drivers/crypto/fsl/
H A Ddesc.h703 uint32_t img_size; /* Length of Message */ member
717 uint32_t img_size; /* Length of Message */ member
737 uint32_t img_size; /* Length of Message */ member
/openbmc/u-boot/cmd/x86/
H A Dfsp.c52 printf(", addr 0x%08x, size %d\n", img_addr, hdr->img_size); in do_hdr()
/openbmc/qemu/include/block/
H A Dblock-global-state.h234 char *options, uint64_t img_size, int flags,
/openbmc/qemu/
H A Dqemu-img.c514 uint64_t img_size = -1; in img_create() local
591 img_size = (uint64_t)sval; in img_create()
598 options, img_size, flags, quiet, &local_err); in img_create()
5371 uint64_t img_size = UINT64_MAX; in img_measure() local
5436 img_size = (uint64_t)sval; in img_measure()
5453 if (filename && img_size != UINT64_MAX) { in img_measure()
5457 if (!filename && img_size == UINT64_MAX) { in img_measure()
5505 if (img_size != UINT64_MAX) { in img_measure()
5506 qemu_opt_set_number(opts, BLOCK_OPT_SIZE, img_size, &error_abort); in img_measure()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_cmds.c2665 u32 img_offset, u32 img_size, int hdr_size, in be_check_flash_crc() argument
2673 img_size - 4); in be_check_flash_crc()
2677 crc_offset = hdr_size + img_offset + img_size - 4; in be_check_flash_crc()
2689 struct be_dma_mem *flash_cmd, int optype, int img_size, in be_flash() argument
2692 u32 flash_op, num_bytes, total_bytes = img_size, bytes_sent = 0; in be_flash()
2929 u32 img_offset, img_size, img_type; in be_flash_skyhawk() local
2944 img_size = le32_to_cpu(fsec->fsec_entry[i].pad_size); in be_flash_skyhawk()
2964 img_size, filehdr_size + in be_flash_skyhawk()
2999 if (p + img_size > fw->data + fw->size) in be_flash_skyhawk()
3002 status = be_flash(adapter, p, flash_cmd, flash_optype, img_size, in be_flash_skyhawk()

12