Home
last modified time | relevance | path

Searched refs:image_len (Results 1 – 17 of 17) sorted by relevance

/openbmc/u-boot/lib/optee/
H A Doptee.c17 unsigned long tzdram_len, unsigned long image_len) in optee_verify_image() argument
30 tee_file_size != image_len || in optee_verify_image()
40 unsigned long image_len) in optee_verify_bootm_image() argument
48 ret = optee_verify_image(hdr, tzdram_start, tzdram_len, image_len); in optee_verify_bootm_image()
61 hdr->init_load_addr_hi, image_len, hdr->arch, image_load_addr, in optee_verify_bootm_image()
62 image_load_addr + image_len); in optee_verify_bootm_image()
/openbmc/qemu/tests/qemu-iotests/
H A D15134 image_len = 128 * 1024 * 1024 # MB variable in TestActiveMirror
73 'write -P 1 0 %i' % self.image_len);
76 for offset in range(1 * self.image_len // 8, 3 * self.image_len // 8, 1024 * 1024):
78 for offset in range(2 * self.image_len // 8, 3 * self.image_len // 8, 1024 * 1024):
91 for offset in range(3 * self.image_len // 8, 5 * self.image_len // 8, 1024 * 1024):
93 for offset in range(4 * self.image_len // 8, 5 * self.image_len // 8, 1024 * 1024):
103 for offset in range(5 * self.image_len // 8, 7 * self.image_len // 8, 1024 * 1024):
105 for offset in range(6 * self.image_len // 8, 7 * self.image_len // 8, 1024 * 1024):
196 image_len = 128 * 1024 * 1024 # MB variable in TestThrottledWithNbdExportBase
324 active_request_offset = self.image_len // 2
H A D16333 image_len = '128M' variable in ShrinkBaseClass
86 qemu_img('create', '-f', iotests.imgfmt, test_img, self.image_len)
93 test_img, self.image_len)
121 for offs in range(0, size_to_int(self.image_len),
134 offs_list = list(range(0, size_to_int(self.image_len),
149 image_len = '3M' variable in TestShrink512
H A D04143 image_len = 1 * 1024 * 1024 # MB variable in TestSingleDrive
48 iotests.create_image(backing_img, self.image_len)
141 % (self.image_len, self.image_len), target_img)
156 % (self.image_len, backing_img),
275 self.do_test_target_size(self.image_len // 2)
278 self.do_test_target_size(self.image_len * 2)
285 image_len = 0 variable in TestSingleDriveZeroLength
290 image_len = 0 variable in TestSingleBlockdevZeroLength
295 image_len = 1025 * 1024 variable in TestSingleDriveUnalignedLength
300 image_len = 1025 * 1024 variable in TestSingleBlockdevUnalignedLength
[all …]
H A D03033 image_len = 1 * 1024 * 1024 # MB variable in TestSingleDrive
36 iotests.create_image(backing_img, TestSingleDrive.image_len)
167 str(self.image_len))
190 image_len = num_ops * 4 * 1024 * 1024 variable in TestParallelOps
204 iotests.create_image(self.imgs[0], self.image_len)
595 image_len = 2 * backing_len variable in TestSmallerBackingFile
601 '-F', 'raw', test_img, str(self.image_len))
618 image_len = 2 * 1024 * 1024 # MB variable in TestErrors
649 iotests.create_image(backing_img, TestErrors.image_len)
683 self.assert_qmp(event, 'data/len', self.image_len)
[all …]
H A D30433 image_len = 4097 variable
36 qemu_img_create('-f', iotests.imgfmt, test_img, str(image_len))
H A D04077 image_len = 2 * 1024 * 1024 variable in TestSingleDrive
81 iotests.create_image(backing_img, self.image_len)
87 if self.image_len:
104 if not self.image_len:
111 if not self.image_len:
191 if not self.image_len:
198 if not self.image_len:
227 if self.image_len == 0:
232 base=backing_img, speed=(self.image_len // 4))
255 if self.image_len == 0:
[all …]
H A D13231 image_len = 2 * 1024 * 1024 # MB variable in TestSingleDrive
35 qemu_img('create', '-f', iotests.imgfmt, test_img, str(TestSingleDrive.image_len))
H A D28127 image_len = 64 * 1024 * 1024 variable
37 self.images[name], str(image_len))
77 self.images[name], str(image_len))
142 self.images[name], str(image_len))
199 self.images[name], str(image_len))
H A D05533 image_len = 64 * 1024 * 1024 # MB variable
36 qemu_img('create', '-f', iotests.imgfmt, test_img, str(image_len))
50 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len))
143 self.do_test_target_size(image_len // 2)
146 self.do_test_target_size(image_len * 2)
199 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len))
281 qemu_img('create', '-f', iotests.imgfmt, blockdev_target_img, str(image_len))
478 image_len = 64 * 1024 * 1024 # MB variable in TestCompressedToQcow2
494 str(self.image_len), *self.target_fmt['args'])
H A D05732 image_len = 120 * 1024 * 1024 # MB variable in ImageSnapshotTestCase
44 qemu_img('create', '-f', iotests.imgfmt, img, str(self.image_len))
H A D05654 image_len = 64 * 1024 * 1024 # MB variable in TestSyncModesNoneAndTop
57 create_image(backing_img, TestSyncModesNoneAndTop.image_len)
/openbmc/u-boot/include/tee/
H A Doptee.h45 unsigned long tzdram_len, unsigned long image_len);
50 unsigned long image_len) in optee_verify_image() argument
60 unsigned long image_len);
64 unsigned long image_len) in optee_verify_bootm_image() argument
/openbmc/u-boot/common/
H A Dbootm.c94 &images, &images.os.image_start, &images.os.image_len); in bootm_find_os()
95 if (images.os.image_len == 0) { in bootm_find_os()
357 void *load_buf, void *image_buf, ulong image_len, in bootm_decomp_image() argument
374 if (image_len <= unc_len) in bootm_decomp_image()
375 memmove_wd(load_buf, image_buf, image_len, CHUNKSZ); in bootm_decomp_image()
381 ret = gunzip(load_buf, unc_len, image_buf, &image_len); in bootm_decomp_image()
395 image_buf, image_len, in bootm_decomp_image()
397 image_len = size; in bootm_decomp_image()
406 image_buf, image_len); in bootm_decomp_image()
407 image_len = lzma_len; in bootm_decomp_image()
[all …]
H A Dbootm_os.c26 env_set_hex("filesize", images->os.image_len); in do_bootm_standalone()
450 images->os.image_len); in do_bootm_tee()
/openbmc/u-boot/include/
H A Dbootm.h85 void *load_buf, void *image_buf, ulong image_len,
H A Dimage.h354 ulong image_start, image_len; /* start of image within blob, len of image */ member