| /openbmc/u-boot/fs/yaffs2/ |
| H A D | yaffs_nameval.c | 36 int size; in nval_find() local 38 memcpy(&size, xb, sizeof(int)); in nval_find() 39 while (size > 0 && (size < xb_size) && (pos + size < xb_size)) { in nval_find() 41 name, size)) { in nval_find() 43 *exist_size = size; in nval_find() 46 pos += size; in nval_find() 48 memcpy(&size, xb + pos, sizeof(int)); in nval_find() 50 size = 0; in nval_find() 60 int size; in nval_used() local 62 memcpy(&size, xb + pos, sizeof(int)); in nval_used() [all …]
|
| /openbmc/qemu/util/ |
| H A D | bitops.c | 20 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() argument 27 if (offset >= size) { in find_next_bit() 28 return size; in find_next_bit() 30 size -= result; in find_next_bit() 35 if (size < BITS_PER_LONG) { in find_next_bit() 41 size -= BITS_PER_LONG; in find_next_bit() 44 while (size >= 4*BITS_PER_LONG) { in find_next_bit() 58 size -= 4*BITS_PER_LONG; in find_next_bit() 60 while (size >= BITS_PER_LONG) { in find_next_bit() 65 size -= BITS_PER_LONG; in find_next_bit() [all …]
|
| /openbmc/qemu/tests/qemu-iotests/ |
| H A D | 190.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2199023255552 5 required size: 2199023255552 6 fully allocated size: 2199023255552 7 required size: 335806464 8 fully allocated size: 2199359062016 9 bitmaps size: 0 10 required size: 18874368 11 fully allocated size: 2199042129920 12 bitmaps size: 0 16 required size: 327680 [all …]
|
| H A D | 178.out.qcow2 | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 5 qemu-img: Either --size N or one filename must be specified. 6 qemu-img: --size N cannot be used together with a filename. 8 qemu-img: Either --size N or one filename must be specified. 17 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 22 required size: 196608 23 fully allocated size: 196608 24 required size: 589824 25 fully allocated size: 2148073472 26 required size: 10747904 [all …]
|
| H A D | 059.out | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 7 === Testing too big L2 table size === 8 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 9 qemu-io: can't open device TEST_DIR/t.vmdk: L2 table size too big 11 === Testing too big L1 table size === 12 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 13 qemu-io: can't open device TEST_DIR/t.vmdk: L1 size too big 16 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 19 virtual size: 2 GiB (2147483648 bytes) 22 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=2147483648 [all …]
|
| H A D | 212.out | 3 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 10 …nts": {"job-id": "job0", "options": {"driver": "parallels", "file": "imgfile", "size": 134217728}}} 17 virtual size: 128 MiB (134217728 bytes) 21 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 26 …options": {"cluster-size": 1048576, "driver": "parallels", "file": {"driver": "file", "filename": … 33 virtual size: 64 MiB (67108864 bytes) 37 …job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.parallels", "size": 0}}} 42 …"options": {"cluster-size": 65536, "driver": "parallels", "file": {"driver": "file", "filename": "… 49 virtual size: 32 MiB (33554432 bytes) 53 …b-id": "job0", "options": {"driver": "parallels", "file": "this doesn't exist", "size": 33554432}}} [all …]
|
| H A D | 178.out.raw | 4 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=1073741824 5 qemu-img: Either --size N or one filename must be specified. 6 qemu-img: --size N cannot be used together with a filename. 8 qemu-img: Either --size N or one filename must be specified. 17 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 22 required size: 0 23 fully allocated size: 0 24 required size: 2147483648 25 fully allocated size: 2147483648 26 required size: 68719476736 [all …]
|
| H A D | 213.out | 3 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 10 …rguments": {"job-id": "job0", "options": {"driver": "vhdx", "file": "imgfile", "size": 134217728}}} 17 virtual size: 128 MiB (134217728 bytes) 22 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 27 …k-size": 8388608, "block-state-zero": true, "driver": "vhdx", "file": {"driver": "file", "filename… 34 virtual size: 64 MiB (67108864 bytes) 39 …": {"job-id": "job0", "options": {"driver": "file", "filename": "TEST_DIR/PID-t.vhdx", "size": 0}}} 44 …size": 268435456, "block-state-zero": false, "driver": "vhdx", "file": {"driver": "file", "filenam… 51 virtual size: 32 MiB (33554432 bytes) 56 … {"job-id": "job0", "options": {"driver": "vhdx", "file": "this doesn't exist", "size": 33554432}}} [all …]
|
| H A D | 116 | 48 size=128M 52 _make_test_img $size 54 $QEMU_IO -f "$IMGFMT" -c "read 0 $size" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir 58 _make_test_img $size 60 $QEMU_IO -f "$IMGFMT" -c "read 0 $size" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir 64 _make_test_img $size 66 $QEMU_IO -f "$IMGFMT" -c "read 0 $size" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir 70 _make_test_img $size 72 $QEMU_IO -f "$IMGFMT" -c "read 0 $size" "$TEST_IMG" 2>&1 | _filter_qemu_io | _filter_testdir 76 _make_test_img $size [all …]
|
| H A D | 301 | 42 size=32M 47 TEST_IMG="$TEST_IMG.base" _make_test_img $size 48 _make_test_img -b "$TEST_IMG.base" $size 49 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT $size 56 _make_test_img -b "$TEST_IMG.base" -F vmdk $size 60 _make_test_img -u -b "$TEST_IMG.base" -F vmdk $size 63 _make_test_img -b "$TEST_IMG.base" -F garbage $size 64 _make_test_img -u -b "$TEST_IMG.base" -F garbage $size 71 truncate --size=$size "$TEST_IMG.base" 72 _make_test_img -b "$TEST_IMG.base" $size [all …]
|
| H A D | 243.out | 5 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=off 6 File size: 196616 11 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=metadata 12 File size: 67436544 17 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=falloc 18 File size: 67436544 23 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 preallocation=full 24 File size: 67436544 29 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 data_file=TEST_DIR/t.IMGFMT.data prealloca… 30 qcow2 file size: 196616 [all …]
|
| /openbmc/qemu/hw/fsi/ |
| H A D | trace-events | 1 fsi_scratchpad_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 2 fsi_scratchpad_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x%… 3 fsi_slave_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 4 fsi_slave_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x%"PRIx… 5 fsi_cfam_config_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 6 fsi_cfam_config_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d value=0x… 7 fsi_cfam_unimplemented_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" 8 fsi_cfam_unimplemented_write(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d v… 9 fsi_cfam_config_write_noaddr(uint64_t addr, uint32_t size, uint64_t data) "@0x%" PRIx64 " size=%d v… 10 fsi_master_read(uint64_t addr, uint32_t size) "@0x%" PRIx64 " size=%d" [all …]
|
| /openbmc/u-boot/arch/arm/mach-uniphier/ |
| H A D | dram_init.c | 72 unsigned long size; member 78 unsigned long size; in uniphier_memconf_decode() local 94 size = SZ_64M; in uniphier_memconf_decode() 97 size = SZ_128M; in uniphier_memconf_decode() 100 size = SZ_256M; in uniphier_memconf_decode() 103 size = SZ_512M; in uniphier_memconf_decode() 106 size = SZ_1G; in uniphier_memconf_decode() 114 size *= 2; in uniphier_memconf_decode() 116 dram_map[0].size = size; in uniphier_memconf_decode() 119 dram_map[1].base = dram_map[0].base + size; in uniphier_memconf_decode() [all …]
|
| H A D | boards.c | 19 .size = 0x10000000, 23 .size = 0x10000000, 35 .size = 0x20000000, 39 .size = 0x20000000, 48 .size = 0x40000000, 52 .size = 0x40000000, 62 .size = 0x10000000, 66 .size = 0x10000000, 77 .size = 0x20000000, 81 .size = 0x20000000, [all …]
|
| /openbmc/qemu/scripts/coverity-scan/ |
| H A D | model.c | 91 void *g_malloc_n(size_t nmemb, size_t size) in g_malloc_n() argument 96 __coverity_negative_sink__(size); in g_malloc_n() 97 ptr = __coverity_alloc__(nmemb * size); in g_malloc_n() 106 void *g_malloc0_n(size_t nmemb, size_t size) in g_malloc0_n() argument 111 __coverity_negative_sink__(size); in g_malloc0_n() 112 ptr = __coverity_alloc__(nmemb * size); in g_malloc0_n() 121 void *g_realloc_n(void *ptr, size_t nmemb, size_t size) in g_realloc_n() argument 124 __coverity_negative_sink__(size); in g_realloc_n() 126 ptr = __coverity_alloc__(nmemb * size); in g_realloc_n() 150 void *g_try_malloc_n(size_t nmemb, size_t size) in g_try_malloc_n() argument [all …]
|
| /openbmc/u-boot/lib/ |
| H A D | lmb.c | 22 (unsigned long long)lmb->memory.size); in lmb_dump_all() 27 (unsigned long long)lmb->memory.region[i].size); in lmb_dump_all() 33 (unsigned long long)lmb->reserved.size); in lmb_dump_all() 38 (unsigned long long)lmb->reserved.region[i].size); in lmb_dump_all() 67 phys_size_t size1 = rgn->region[r1].size; in lmb_regions_adjacent() 69 phys_size_t size2 = rgn->region[r2].size; in lmb_regions_adjacent() 80 rgn->region[i].size = rgn->region[i + 1].size; in lmb_remove_region() 89 rgn->region[r1].size += rgn->region[r2].size; in lmb_coalesce_regions() 96 lmb->memory.size = 0; in lmb_init() 98 lmb->reserved.size = 0; in lmb_init() [all …]
|
| /openbmc/u-boot/drivers/misc/ |
| H A D | i2c_eeprom.c | 16 u32 size; /* size in bytes */ member 23 int i2c_eeprom_read(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_read() argument 30 return ops->read(dev, offset, buf, size); in i2c_eeprom_read() 33 int i2c_eeprom_write(struct udevice *dev, int offset, uint8_t *buf, int size) in i2c_eeprom_write() argument 40 return ops->write(dev, offset, buf, size); in i2c_eeprom_write() 47 if (!ops->size) in i2c_eeprom_size() 50 return ops->size(dev); in i2c_eeprom_size() 54 int size) in i2c_eeprom_std_read() argument 56 return dm_i2c_read(dev, offset, buf, size); in i2c_eeprom_std_read() 60 const uint8_t *buf, int size) in i2c_eeprom_std_write() argument [all …]
|
| /openbmc/qemu/tests/multiboot/ |
| H A D | mmap.out | 10 0x0 - 0x9fc00: type 1 [entry size: 20] 11 0x9fc00 - 0xa0000: type 2 [entry size: 20] 12 0xf0000 - 0x100000: type 2 [entry size: 20] 13 0x100000 - 0x7fe0000: type 1 [entry size: 20] 14 0x7fe0000 - 0x8000000: type 2 [entry size: 20] 15 0xfffc0000 - 0x100000000: type 2 [entry size: 20] 28 0x0 - 0x9fc00: type 1 [entry size: 20] 29 0x9fc00 - 0xa0000: type 2 [entry size: 20] 30 0xf0000 - 0x100000: type 2 [entry size: 20] 31 0x100000 - 0x11a000: type 1 [entry size: 20] [all …]
|
| /openbmc/u-boot/common/ |
| H A D | bloblist.c | 28 offset += rec->hdr_size + ALIGN(rec->size, BLOBLIST_ALIGN); in bloblist_next_blob() 55 static int bloblist_addrec(uint tag, int size, struct bloblist_rec **recp) in bloblist_addrec() argument 62 ALIGN(size, BLOBLIST_ALIGN); in bloblist_addrec() 63 if (new_alloced >= hdr->size) { in bloblist_addrec() 66 size, hdr->size, new_alloced); in bloblist_addrec() 74 rec->size = size; in bloblist_addrec() 81 static int bloblist_ensurerec(uint tag, struct bloblist_rec **recp, int size) in bloblist_ensurerec() argument 87 if (size && size != rec->size) in bloblist_ensurerec() 92 ret = bloblist_addrec(tag, size, &rec); in bloblist_ensurerec() 101 void *bloblist_find(uint tag, int size) in bloblist_find() argument [all …]
|
| /openbmc/u-boot/drivers/crypto/fsl/ |
| H A D | fsl_blob.c | 30 int ret, size, i = 0; in blob_decap() local 47 size = ALIGN(16, ARCH_DMA_MINALIGN); in blob_decap() 49 (unsigned long)key_mod + size); in blob_decap() 51 size = ALIGN(BLOB_SIZE(len), ARCH_DMA_MINALIGN); in blob_decap() 53 (unsigned long)src + size); in blob_decap() 61 size = ALIGN(sizeof(int) * MAX_CAAM_DESCSIZE, ARCH_DMA_MINALIGN); in blob_decap() 63 (unsigned long)desc + size); in blob_decap() 70 size = ALIGN(len, ARCH_DMA_MINALIGN); in blob_decap() 72 (unsigned long)dst + size); in blob_decap() 95 int ret, size, i = 0; in blob_encap() local [all …]
|
| /openbmc/u-boot/arch/arm/mach-rmobile/ |
| H A D | memmap-gen3.c | 17 .size = 0x40000000UL, 24 .size = 0x03F00000UL, 30 .size = 0x78200000UL, 36 .size = 0x40000000UL, 43 .size = 0xf00000000UL, 58 u64 start, size; in enable_caches() local 64 gen3_mem_map[i].size = 0x40000000ULL; in enable_caches() 73 size = gd->bd->bi_dram[bank].size; in enable_caches() 76 if (!size) in enable_caches() 88 gen3_mem_map[i].size = 0x03F00000ULL; in enable_caches() [all …]
|
| /openbmc/bmcweb/test/redfish-core/lib/ |
| H A D | service_root_test.cpp | 30 EXPECT_EQ(json["AccountService"].size(), 1); in assertServiceRootGet() 34 EXPECT_EQ(json["CertificateService"].size(), 1); in assertServiceRootGet() 37 EXPECT_EQ(json["Chassis"].size(), 1); in assertServiceRootGet() 40 EXPECT_EQ(json["EventService"].size(), 1); in assertServiceRootGet() 45 EXPECT_EQ(json["Links"].size(), 2); in assertServiceRootGet() 46 EXPECT_EQ(json["Links"]["Sessions"].size(), 1); in assertServiceRootGet() 47 EXPECT_EQ(json["Links"]["ManagerProvidingService"].size(), 1); in assertServiceRootGet() 52 EXPECT_EQ(json["Managers"].size(), 1); in assertServiceRootGet() 58 EXPECT_EQ(json["Registries"].size(), 1); in assertServiceRootGet() 62 EXPECT_EQ(json["SessionService"].size(), 1); in assertServiceRootGet() [all …]
|
| /openbmc/u-boot/post/drivers/ |
| H A D | memory.c | 238 static int memory_post_addrline(ulong *testaddr, ulong *base, ulong size) in memory_post_addrline() argument 246 end = (ulong *)((ulong)base + size); /* pointer arith! */ in memory_post_addrline() 271 unsigned long size, in memory_post_test1() argument 279 for (i = 0; i < size / sizeof (ulong); i++) { in memory_post_test1() 285 for (i = 0; i < size / sizeof (ulong) && !ret; i++) { in memory_post_test1() 302 static int memory_post_test2(unsigned long start, unsigned long size) in memory_post_test2() argument 309 for (i = 0; i < size / sizeof (ulong); i++) { in memory_post_test2() 315 for (i = 0; i < size / sizeof (ulong) && !ret; i++) { in memory_post_test2() 332 static int memory_post_test3(unsigned long start, unsigned long size) in memory_post_test3() argument 339 for (i = 0; i < size / sizeof (ulong); i++) { in memory_post_test3() [all …]
|
| /openbmc/u-boot/include/ |
| H A D | memalign.h | 71 #define ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, pad) \ argument 72 char __##name[ROUND(PAD_SIZE((size) * sizeof(type), pad), align) \ 76 #define ALLOC_ALIGN_BUFFER(type, name, size, align) \ argument 77 ALLOC_ALIGN_BUFFER_PAD(type, name, size, align, 1) 78 #define ALLOC_CACHE_ALIGN_BUFFER_PAD(type, name, size, pad) \ argument 79 ALLOC_ALIGN_BUFFER_PAD(type, name, size, ARCH_DMA_MINALIGN, pad) 80 #define ALLOC_CACHE_ALIGN_BUFFER(type, name, size) \ argument 81 ALLOC_ALIGN_BUFFER(type, name, size, ARCH_DMA_MINALIGN) 88 #define DEFINE_ALIGN_BUFFER(type, name, size, align) \ argument 89 static char __##name[ALIGN(size * sizeof(type), align)] \ [all …]
|
| /openbmc/u-boot/arch/arm/mach-mvebu/ |
| H A D | dram.c | 68 static void mvebu_sdram_bs_set(enum memory_bank bank, u32 size) in mvebu_sdram_bs_set() argument 79 reg |= REG_CPUCS_WIN_SIZE((size - 1) >> 24); in mvebu_sdram_bs_set() 103 u32 size; in mvebu_sdram_size_adjust() local 106 size = get_ram_size((void *)mvebu_sdram_bar(bank), in mvebu_sdram_size_adjust() 110 mvebu_sdram_bs_set(bank, size); in mvebu_sdram_size_adjust() 120 u32 reg, base, size, base2; in mv_xor_init2() local 136 size = mvebu_sdram_bs(cs) - 1; in mv_xor_init2() 137 if (size) { in mv_xor_init2() 143 base += size + 1; in mv_xor_init2() 144 size = (size / (64 << 10)) << 16; in mv_xor_init2() [all …]
|