/openbmc/linux/include/linux/ |
H A D | find.h | 21 extern unsigned long _find_first_bit(const unsigned long *addr, unsigned long size); 22 unsigned long __find_nth_bit(const unsigned long *addr, unsigned long size, unsigned long n); 24 unsigned long size, unsigned long n); 26 unsigned long size, unsigned long n); 28 const unsigned long *addr3, unsigned long size, 31 const unsigned long *addr2, unsigned long size); 32 extern unsigned long _find_first_zero_bit(const unsigned long *addr, unsigned long size); 33 extern unsigned long _find_last_bit(const unsigned long *addr, unsigned long size); 36 unsigned long _find_first_zero_bit_le(const unsigned long *addr, unsigned long size); 38 long size, unsigned long offset); [all …]
|
/openbmc/qemu/tests/vmstate-static-checker-data/ |
H A D | dump1.json | 18 "size": 2 number 24 "size": 4 number 30 "size": 4 number 48 "size": 1880, number 58 "size": 4 number 64 "size": 4 number 70 "size": 4 number 76 "size": 4 number 82 "size": 4 number 88 "size": 4 number [all …]
|
H A D | dump2.json | 18 "size": 2 number 24 "size": 4 number 30 "size": 4 number 48 "size": 1880, number 58 "size": 4 number 64 "size": 4 number 70 "size": 4 number 76 "size": 4 number 82 "size": 4 number 88 "size": 4 number [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
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. 16 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 19 == Size calculation for a new file (human) == 21 required size: 196608 22 fully allocated size: 196608 23 required size: 589824 24 fully allocated size: 2148073472 [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 | 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. 16 qemu-img: Invalid image size specified. Must be between 0 and 9223372036854775807. 19 == Size calculation for a new file (human) == 21 required size: 0 22 fully allocated size: 0 23 required size: 2147483648 24 fully allocated 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 | 191.out | 5 Formatting 'TEST_DIR/t.IMGFMT.base', fmt=IMGFMT size=67108864 6 Formatting 'TEST_DIR/t.IMGFMT.mid', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.base ba… 7 Formatting 'TEST_DIR/t.IMGFMT', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid backing… 8 Formatting 'TEST_DIR/t.IMGFMT.ovl2', fmt=IMGFMT size=67108864 backing_file=TEST_DIR/t.IMGFMT.mid ba… 119 "virtual-size": 67108864, 121 "cluster-size": 65536, 123 "actual-size": SIZE, 127 "virtual-size": 67108864, 129 "cluster-size": 65536, 131 "actual-size": SIZE, [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 | 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 | 049.out | 2 === Check correct interpretation of suffixes for image size === 4 == 1. Traditional size parameter == 7 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts… 10 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts… 13 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts… 16 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts… 19 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1048576 lazy_refcou… 22 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1073741824 lazy_ref… 25 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1099511627776 lazy_… 28 …cow2', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=1024 lazy_refcounts… [all …]
|
/openbmc/linux/scripts/coccinelle/api/ |
H A D | kvmalloc.cocci | 24 expression E, E1, size; 33 * if (size cmp E1 || ...)@p { 37 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 47 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 49 when != size = E1 53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 59 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...); 61 when != size = E1 65 * x = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | find.h | 17 extern unsigned long _find_first_bit(const unsigned long *addr, unsigned long size); 19 const unsigned long *addr2, unsigned long size); 20 extern unsigned long _find_first_zero_bit(const unsigned long *addr, unsigned long size); 26 * @size: The bitmap size in bits 30 * If no bits are set, returns @size. 33 unsigned long find_next_bit(const unsigned long *addr, unsigned long size, in find_next_bit() argument 36 if (small_const_nbits(size)) { in find_next_bit() 39 if (unlikely(offset >= size)) in find_next_bit() 40 return size; in find_next_bit() 42 val = *addr & GENMASK(size - 1, offset); in find_next_bit() [all …]
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.c | 97 const size_t size = SJA1105ET_SIZE_AVB_PARAMS_ENTRY; in sja1105et_avb_params_entry_packing() local 100 sja1105_packing(buf, &entry->destmeta, 95, 48, size, op); in sja1105et_avb_params_entry_packing() 101 sja1105_packing(buf, &entry->srcmeta, 47, 0, size, op); in sja1105et_avb_params_entry_packing() 102 return size; in sja1105et_avb_params_entry_packing() 108 const size_t size = SJA1105PQRS_SIZE_AVB_PARAMS_ENTRY; in sja1105pqrs_avb_params_entry_packing() local 111 sja1105_packing(buf, &entry->cas_master, 126, 126, size, op); in sja1105pqrs_avb_params_entry_packing() 112 sja1105_packing(buf, &entry->destmeta, 125, 78, size, op); in sja1105pqrs_avb_params_entry_packing() 113 sja1105_packing(buf, &entry->srcmeta, 77, 30, size, op); in sja1105pqrs_avb_params_entry_packing() 114 return size; in sja1105pqrs_avb_params_entry_packing() 120 const size_t size = SJA1105ET_SIZE_GENERAL_PARAMS_ENTRY; in sja1105et_general_params_entry_packing() local [all …]
|
/openbmc/linux/scripts/ |
H A D | extract_xc3028.pl | 51 # Calc chunk size 131 my $size = ord(substr($out,$i,1))*256+ord(substr($out,$i+1,1)); 135 if ($size>0 && $size <0x8000) { 136 for (my $j=0;$j<$size;$j++) { 139 $i+=$size; 163 # Firmware 0, type: BASE FW F8MHZ (0x00000003), id: (0000000000000000), size: 6635 168 write_le32(6635); # Size 172 # Firmware 1, type: BASE FW F8MHZ MTS (0x00000007), id: (0000000000000000), size: 6635 177 write_le32(6635); # Size 181 # Firmware 2, type: BASE FW FM (0x00000401), id: (0000000000000000), size: 6525 [all …]
|
/openbmc/linux/tools/testing/selftests/exec/ |
H A D | binfmt_script.py | 14 SIZE=256 variable 33 # @size: bytes for bprm->buf line, including hashbang but not newline 40 # @fill: character to fill between @root and @target to reach @size bytes 41 # @newline: character to use as newline, not counted towards @size 43 def test(name, size, good=True, leading="", root="./", target="/perl", argument 52 remaining = size - len(hashbang) - len(leading) - len(root) - len(target) - len(arg) 111 test(name="too-big", size=SIZE+80, good=False) 112 # Path is right at max size, making it impossible to tell if it was truncated. 113 test(name="exact", size=SIZE, good=False) 115 test(name="exact-space", size=SIZE, good=False, leading=" ") [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_nameval.c | 19 * sizeof(int) bytes record size. 23 * total size stored in record size 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() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | ia_css_isp_configs.c | 28 unsigned int size = 0; in ia_css_configure_iterator() local 35 size = binary->info->mem_offsets.offsets.config->dmem.iterator.size; in ia_css_configure_iterator() 36 if (!size) in ia_css_configure_iterator() 43 config_dmem, size); in ia_css_configure_iterator() 51 unsigned int size = 0; in ia_css_configure_copy_output() local 58 size = binary->info->mem_offsets.offsets.config->dmem.copy_output.size; in ia_css_configure_copy_output() 59 if (!size) in ia_css_configure_copy_output() 66 config_dmem, size); in ia_css_configure_copy_output() 76 unsigned int size = 0; in ia_css_configure_crop() local 83 size = binary->info->mem_offsets.offsets.config->dmem.crop.size; in ia_css_configure_crop() [all …]
|
/openbmc/linux/tools/testing/memblock/tests/ |
H A D | basic_api.c | 37 * and size to the collection of available memory regions (memblock.memory). 49 .size = SZ_4M in memblock_add_simple_check() 55 memblock_add(r.base, r.size); in memblock_add_simple_check() 58 ASSERT_EQ(rgn->size, r.size); in memblock_add_simple_check() 61 ASSERT_EQ(memblock.memory.total_size, r.size); in memblock_add_simple_check() 69 * A simple test that adds a memory block of a specified base address, size, 82 .size = SZ_16M in memblock_add_node_simple_check() 88 memblock_add_node(r.base, r.size, 1, MEMBLOCK_HOTPLUG); in memblock_add_node_simple_check() 91 ASSERT_EQ(rgn->size, r.size); in memblock_add_node_simple_check() 98 ASSERT_EQ(memblock.memory.total_size, r.size); in memblock_add_node_simple_check() [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/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-cmm.dts | 334 #size-cells = <0>; 341 #size-cells = <0>; 347 #size-cells = <0>; 353 #size-cells = <0>; 358 #size-cells = <0>; 363 #size-cells = <0>; 368 #size-cells = <0>; 373 #size-cells = <0>; 378 #size-cells = <0>; 383 #size-cells = <0>; [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | trace-event-read.c | 28 static int __do_read(int fd, void *buf, int size) in __do_read() argument 30 int rsize = size; in __do_read() 32 while (size) { in __do_read() 33 int ret = read(fd, buf, size); in __do_read() 47 size -= ret; in __do_read() 54 static int do_read(void *data, int size) in do_read() argument 58 r = __do_read(input_fd, data, size); in do_read() 60 pr_debug("reading input file (size expected=%d received=%d)", in do_read() 61 size, r); in do_read() 71 static void skip(int size) in skip() argument [all …]
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | beauty.h | 30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool sho… 31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, b… 32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… 34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret); 35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret); 57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool … 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 79 * @size: 8 if all we need is an integer, otherwise all of the augmented arg. 84 int size; member [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amazon/ |
H A D | alpine-v3.dtsi | 17 #size-cells = <2>; 21 #size-cells = <0>; 28 d-cache-size = <0x8000>; 29 d-cache-line-size = <64>; 31 i-cache-size = <0xc000>; 32 i-cache-line-size = <64>; 42 d-cache-size = <0x8000>; 43 d-cache-line-size = <64>; 45 i-cache-size = <0xc000>; 46 i-cache-line-size = <64>; [all …]
|
/openbmc/u-boot/lib/ |
H A D | lmb.c | 21 debug(" memory.size = 0x%llx\n", in lmb_dump_all() 22 (unsigned long long)lmb->memory.size); in lmb_dump_all() 26 debug(" .size = 0x%llx\n", in lmb_dump_all() 27 (unsigned long long)lmb->memory.region[i].size); in lmb_dump_all() 32 debug(" reserved.size = 0x%llx\n", in lmb_dump_all() 33 (unsigned long long)lmb->reserved.size); in lmb_dump_all() 37 debug(" .size = 0x%llx\n", 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() [all …]
|