/openbmc/qemu/include/exec/ |
H A D | ramlist.h | 16 /* The dirty memory bitmap is split into fixed-size blocks to allow growth 21 * DirtyMemoryBlocks *blocks = 25 * unsigned long *block = blocks.blocks[idx]; 33 * Organization into blocks allows dirty memory to grow (but not shrink) under 35 * DirtyMemoryBlocks array is allocated with pointers to existing blocks kept 36 * the same. Other threads can safely access existing blocks while dirty 38 * anymore it is freed by RCU (but the underlying blocks stay because they are 44 unsigned long *blocks[]; member 51 QLIST_HEAD(, RAMBlock) blocks; 61 QLIST_FOREACH_RCU(block, &ram_list.blocks, next)
|
/openbmc/qemu/include/system/ |
H A D | ram_addr.h | 163 DirtyMemoryBlocks *blocks; in cpu_physical_memory_get_dirty() local 174 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_get_dirty() 182 unsigned long found = find_next_bit(blocks->blocks[idx], in cpu_physical_memory_get_dirty() 203 DirtyMemoryBlocks *blocks; in cpu_physical_memory_all_dirty() local 215 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_all_dirty() 223 unsigned long found = find_next_zero_bit(blocks->blocks[idx], num, offset); in cpu_physical_memory_all_dirty() 278 DirtyMemoryBlocks *blocks; in cpu_physical_memory_set_dirty_flag() local 288 blocks = qatomic_rcu_read(&ram_list.dirty_memory[client]); in cpu_physical_memory_set_dirty_flag() 290 set_bit_atomic(offset, blocks->blocks[idx]); in cpu_physical_memory_set_dirty_flag() 297 DirtyMemoryBlocks *blocks[DIRTY_MEMORY_NUM]; in cpu_physical_memory_set_dirty_range() local [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 175 | 37 # Some file systems sometimes allocate extra blocks independently of 40 # Parameter 1: Number of blocks an empty file occupies 41 # Parameter 2: Minimal number of blocks in an image 49 sed -e "s/blocks=$min_blocks\\(\$\\|[^0-9]\\)/min allocation/" \ 50 -e "s/blocks=$((extra_blocks + img_size / 512))\\(\$\\|[^0-9]\\)/max allocation/" 87 # We always write the first byte; check how many blocks this filesystem 95 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size 101 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $size 109 stat -c "size=%s, blocks=%b" $TEST_IMG | _filter_blocks $extra_blocks $min_blocks $new_size
|
H A D | 084.out | 29 Test 3: Size valid (64M), but Blocks In Image too small (63) 32 Test 4: Size valid (64M), but Blocks In Image exceeds max allowed 33 qemu-img: Could not open 'TEST_DIR/t.IMGFMT': unsupported VDI image (too many blocks 536870785, max… 35 Test 5: Valid Image: 64MB, Blocks In Image 64, Block Size 1MB
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_mem.h | 50 * "resizable DIMM" consisting of small memory blocks that can be plugged 52 * blocks on demand. 61 * from the device to the device driver to (un)plug blocks. The 62 * device driver should try to (un)plug blocks in order to reach the 99 /* request to plug memory blocks */ 101 /* request to unplug memory blocks */ 103 /* request to unplug all blocks and shrink the usable size */ 105 /* request information about the plugged state of memory blocks */ 169 /* State of memory blocks is "plugged" */ 171 /* State of memory blocks is "unplugged" */ [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/ |
H A D | ResourceBlock.v1_4_3.json | 190 … "description": "An array of links to resource blocks that depend on this resource block.", 194 …f links to resources of type `ResourceBlock` that represent the resource blocks that depend on thi… 208 … "description": "An array of links to resource blocks that this resource block depends on.", 212 …f links to resources of type `ResourceBlock` that represent the resource blocks that this resource… 488 …ion": "This type specifies the allowable quantities of types of resource blocks for a composition … 489 …"This object shall specify the allowable quantities of types of resource blocks for a given compos… 506 …"description": "The maximum number of resource blocks of type `Compute` allowed for the compositio… 507 …y shall contain an integer that specifies the maximum number of resource blocks of type `Compute` … 517 …"description": "The maximum number of resource blocks of type `ComputerSystem` allowed for the com… 518 …y shall contain an integer that specifies the maximum number of resource blocks of type `ComputerS… [all …]
|
/openbmc/u-boot/drivers/mtd/ubispl/ |
H A D | ubispl.h | 18 * The size of the read buffer for the fastmap blocks. In theory up to 20 * one or two blocks. 28 * The maximum number of logical erase blocks per loadable volume 32 * The bitmap size for the above to denote the found blocks inside the volume 52 * @peb_count: Number of physical erase blocks in the UBI FLASH area 55 * to the real start of the FLASH in erase blocks. 74 * @corrupt: Bitmap to indicate corrupt blocks 77 * @blockinfo: The vid headers of the scanned blocks
|
/openbmc/hiomapd/ |
H A D | transport_mbox.c | 170 * RESP[1:2]: Default read window size (number of blocks) 171 * RESP[3:4]: Default write window size (number of blocks) 178 * RESP[1:2]: Default read window size (number of blocks) 179 * RESP[3:4]: Default write window size (number of blocks) 222 * RESP[0:1]: Flash Size (number of blocks) 223 * RESP[2:3]: Erase Size (number of blocks) 307 * ARGS[0:1]: Window Location as Offset into Flash (number of blocks) 309 * RESP[0:1]: LPC bus address for host to access this window (number of blocks) 312 * ARGS[0:1]: Window Location as Offset into Flash (number of blocks) 313 * ARGS[2:3]: Requested window size (number of blocks) [all …]
|
/openbmc/u-boot/doc/ |
H A D | README.nand | 13 Print a list of all of the bad blocks in the current device. 26 and write commands). Only complete erase blocks can be erased. 35 This command will not erase blocks that are marked bad. There is 36 a debug option in cmd_nand.c to allow bad blocks to be erased. 37 Please read the warning there before using it, as blocks marked 44 Read `size' bytes from `ofs' in NAND flash to `addr'. Blocks that 52 for bad blocks or ECC errors. 55 Write `size' bytes from `addr' to `ofs' in NAND flash. Blocks that 59 As JFFS2 skips blocks similarly, this allows writing a JFFS2 image, 61 bad blocks. Compact images, such as those produced by mkfs.jffs2 [all …]
|
/openbmc/u-boot/disk/ |
H A D | part_mac.h | 28 __u32 blk_count; /* number of blocks on device */ 42 __u16 size; /* size of driver, in 512 byte blocks */ 53 * Each Partition Map entry (in blocks 1 ... N) has this format: 58 __u32 map_count; /* # blocks in partition map */ 60 __u32 block_count; /* number of blocks in partition */ 64 __u32 data_count; /* number of data blocks */
|
/openbmc/qemu/contrib/plugins/ |
H A D | drcov.c | 41 /* Translated blocks */ 42 static GPtrArray *blocks; variable 93 g_ptr_array_foreach(blocks, count_block, &count); in plugin_exit() 97 g_ptr_array_foreach(blocks, printf_el, NULL); in plugin_exit() 100 g_ptr_array_free(blocks, true); in plugin_exit() 110 blocks = g_ptr_array_sized_new(128); in plugin_init() 137 g_ptr_array_add(blocks, bb); in vcpu_tb_trans()
|
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/ |
H A D | 0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch | 36 -#define EXT2_BAD_INO 1 // Bad blocks inode 94 - uint32_t s_blocks_count; /* Blocks count */ 95 - uint32_t s_r_blocks_count; /* Reserved blocks count */ 96 - uint32_t s_free_blocks_count; /* Free blocks count */ 101 - uint32_t s_blocks_per_group; /* # Blocks per group */ 116 - uint16_t s_def_resuid; /* Default uid for reserved blocks */ 117 - uint16_t s_def_resgid; /* Default gid for reserved blocks */ 129 - uint8_t s_prealloc_blocks; /* Nr of blocks to try to preallocate*/ 148 - uint32_t s_blocks_count_hi; /* Blocks count */ 149 - uint32_t s_r_blocks_count_hi; /* Reserved blocks count */ [all …]
|
/openbmc/phosphor-mboxd/Documentation/ |
H A D | mbox_protocol.md | 209 MARK_WRITE_ERASED and WRITE_FLUSH commands to identify changed blocks and 210 control when the changed blocks are written to flash. 425 or blocks - (blocks) 426 Sizes and addresses specified in blocks must be converted to bytes by 459 Args 1-2: default read window size (blocks) 460 Args 3-4: default write window size (blocks) 507 Args 0-1: Flash size (blocks) 508 Args 2-3: Erase granule (blocks) 515 Args 0-1: Requested flash offset (blocks) 518 Args 0-1: Requested flash offset (blocks) [all …]
|
/openbmc/u-boot/drivers/fastboot/ |
H A D | fb_nand.c | 77 printf("Erasing blocks 0x%llx to 0x%llx\n", in _fb_nand_erase() 120 /* TODO - verify that the value "written" includes the "bad-blocks" ... */ in fb_nand_sparse_write() 123 * the return value must be 'blkcnt' ("good-blocks") plus the in fb_nand_sparse_write() 124 * number of "bad-blocks" encountered within this space... in fb_nand_sparse_write() 136 * of blocks which must be used in order to reserve the specified in fb_nand_sparse_reserve() 137 * number ("blkcnt") of "good-blocks", starting at "blk"... in fb_nand_sparse_reserve() 142 * the return value must be 'blkcnt' ("good-blocks") plus the in fb_nand_sparse_reserve() 143 * number of "bad-blocks" encountered within this space... in fb_nand_sparse_reserve()
|
/openbmc/u-boot/drivers/block/ |
H A D | Kconfig | 8 reading, writing and (in some cases) erasing blocks. Block 25 reading, writing and (in some cases) erasing blocks. Block 37 reading, writing and (in some cases) erasing blocks. Block 64 This allows access to raw blocks and filesystems on an IDE drive
|
/openbmc/phosphor-mboxd/ |
H A D | mboxd_msg.c | 159 * RESP[1:2]: Default read window size (number of blocks) 160 * RESP[3:4]: Default write window size (number of blocks) 167 * RESP[1:2]: Default read window size (number of blocks) 168 * RESP[3:4]: Default write window size (number of blocks) 247 * RESP[0:1]: Flash Size (number of blocks) 248 * RESP[2:3]: Erase Size (number of blocks) 303 * ARGS[0:1]: Window Location as Offset into Flash (number of blocks) 305 * RESP[0:1]: LPC bus address for host to access this window (number of blocks) 308 * ARGS[0:1]: Window Location as Offset into Flash (number of blocks) 309 * ARGS[2:3]: Requested window size (number of blocks) [all …]
|
/openbmc/qemu/tests/image-fuzzer/qcow2/ |
H A D | layout.py | 337 """Generate random refcount blocks and refcount table.""" 339 """Return indices of clusters allocated for refcount blocks.""" 346 # Indices of new refcount blocks necessary to cover clusters 355 and updated indices of clusters allocated for blocks and indices 356 of blocks. 358 blocks = set(init_blocks) 363 # the current number of refcount blocks 364 table_size = int(ceil((max(blocks) + 1) / float(size))) 373 # New refcount blocks necessary for clusters occupied by the 375 diff = set([c // block_size for c in table_clusters]) - blocks [all …]
|
/openbmc/u-boot/include/ |
H A D | blk.h | 77 lbaint_t lba; /* number of blocks */ 117 * blkcache_read() - attempt to read a set of blocks from cache 122 * @param blkcnt - number of blocks to read 139 * @param blkcnt - number of blocks available 149 * blkcache_invalidate() - discard the cache for a set of blocks 160 * @param blocks - maximum blocks per entry 163 void blkcache_configure(unsigned blocks, unsigned entries); 210 * @blkcnt: Number of blocks to read 212 * @return number of blocks read, or -ve error number (see the 223 * @blkcnt: Number of blocks to write [all …]
|
H A D | ubispl.h | 13 * Defines the maximum number of logical erase blocks per loadable 23 * Define the maximum number of physical erase blocks to size the 52 * @peb_count: Number of physical erase blocks in the UBI FLASH area 55 * to the real start of the FLASH in erase blocks.
|
/openbmc/u-boot/board/birdland/bav335x/ |
H A D | README | 21 The following blocks are required: 28 define additional text blocks (such as for NAND or DFU strings). Also 30 the IP blocks, so both areas will need their choices updated to reflect
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/ |
H A D | CVE-2021-33643-CVE-2021-33644.patch | 38 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0); 39 if (blocks > ((size_t)-1 / T_BLOCKSIZE)) 50 blocks = (sz / T_BLOCKSIZE) + (sz % T_BLOCKSIZE ? 1 : 0); 51 if (blocks > ((size_t)-1 / T_BLOCKSIZE))
|
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/ |
H A D | bootimg-pcbios.py | 174 blocks = int(out.split()[0]) 176 extra_blocks = part.get_extra_block_count(blocks) 181 blocks += extra_blocks 183 logger.debug("Added %d extra blocks to %s to get to %d total blocks", 184 extra_blocks, part.mountpoint, blocks) 192 (label, part.fsuuid, bootimg, blocks)
|
/openbmc/u-boot/fs/reiserfs/ |
H A D | reiserfs_private.h | 34 __u32 s_block_count; /* blocks count */ 35 __u32 s_free_blocks; /* free blocks count */ 40 __u32 s_journal_trans_max; /* max number of blocks in a transaction. */ 42 __u32 s_journal_max_batch; /* max number of blocks to batch into a trans */ 51 __u16 s_bmap_nr; /* amount of bitmap blocks needed to address each block of file system */ 82 __u32 j_realblock[JOURNAL_TRANS_HALF]; /* real locations for the first blocks */ 90 __u32 j_realblock[JOURNAL_TRANS_HALF]; /* real locations for the last blocks */ 91 …char j_digest[16]; /* md5 sum of all the blocks involved, including desc and commit. not used, k… 97 fully flushed means all the log blocks and all the real blocks are 109 /* magic string to find desc blocks in the journal */ [all …]
|
/openbmc/u-boot/cmd/ |
H A D | onenand.c | 65 int blocks = (int) len >> this->erase_shift; in onenand_block_read() local 78 while (blocks) { in onenand_block_read() 81 printk("Bad blocks %d at 0x%x\n", in onenand_block_read() 101 blocks--; in onenand_block_read() 136 int blocks = len >> this->erase_shift; in onenand_block_write() local 157 while (blocks) { in onenand_block_write() 160 printk("Bad blocks %d at 0x%x\n", in onenand_block_write() 177 blocks--; in onenand_block_write() 227 int blocks; in onenand_block_test() local 258 blocks = start_block; in onenand_block_test() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/poppler/poppler/ |
H A D | 0001-Do-not-overwrite-all-our-build-flags.patch | 28 set(CMAKE_CXX_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline") 35 set(CMAKE_C_FLAGS_DEBUG "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline") 44 # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2 52 # clang does not support -fno-reorder-blocks -fno-schedule-insns, so do not use -O2
|