Home
last modified time | relevance | path

Searched refs:blocks (Results 1 – 25 of 243) sorted by relevance

12345678910

/openbmc/qemu/include/system/
H A Dram_addr.h163 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/contrib/plugins/
H A Ddrcov.c42 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()
H A Dlockstep.c70 static GSList *blocks; variable
83 g_slist_free_full(blocks, &g_free); in plugin_cleanup()
259 blocks = g_slist_prepend(blocks, bi); in vcpu_tb_trans()
/openbmc/u-boot/drivers/scsi/
H A Dscsi.c57 unsigned long blocks) in scsi_setup_read16() argument
70 pccb->cmd[11] = (unsigned char)(blocks >> 24) & 0xff; in scsi_setup_read16()
71 pccb->cmd[12] = (unsigned char)(blocks >> 16) & 0xff; in scsi_setup_read16()
72 pccb->cmd[13] = (unsigned char)(blocks >> 8) & 0xff; in scsi_setup_read16()
73 pccb->cmd[14] = (unsigned char)blocks & 0xff; in scsi_setup_read16()
86 unsigned short blocks) in scsi_setup_read_ext() argument
95 pccb->cmd[7] = (unsigned char)(blocks >> 8) & 0xff; in scsi_setup_read_ext()
96 pccb->cmd[8] = (unsigned char)blocks & 0xff; in scsi_setup_read_ext()
107 unsigned short blocks) in scsi_setup_write_ext() argument
116 pccb->cmd[7] = ((unsigned char)(blocks >> 8)) & 0xff; in scsi_setup_write_ext()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A DCVE-2021-33643-CVE-2021-33644.patch38 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/qemu/include/exec/
H A Dramlist.h44 unsigned long *blocks[]; member
51 QLIST_HEAD(, RAMBlock) blocks;
61 QLIST_FOREACH_RCU(block, &ram_list.blocks, next)
/openbmc/openbmc/poky/scripts/lib/wic/plugins/source/
H A Dbootimg-pcbios.py174 blocks = int(out.split()[0])
176 extra_blocks = part.get_extra_block_count(blocks)
181 blocks += extra_blocks
184 extra_blocks, part.mountpoint, blocks)
192 (label, part.fsuuid, bootimg, blocks)
H A Dbootimg-efi.py387 blocks = int(out.split()[0])
389 extra_blocks = part.get_extra_block_count(blocks)
394 blocks += extra_blocks
397 extra_blocks, part.mountpoint, blocks)
401 if blocks < part.fixed_size:
402 blocks = part.fixed_size
404 part.mountpoint, blocks)
412 (label, part.fsuuid, bootimg, blocks)
/openbmc/u-boot/test/py/
H A Dmultiplexed_log.py220 self.blocks = []
397 self.blocks.append(marker)
402 blk_path = '/'.join(self.blocks)
424 if (not self.blocks) or (marker != self.blocks[-1]):
426 (marker, '/'.join(self.blocks)))
433 blk_path = '/'.join(self.blocks)
438 self.blocks.pop()
/openbmc/u-boot/board/birdland/bav335x/
H A DREADME21 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-security/recipes-ids/suricata/files/
H A DCVE-2024-38535_pre.patch40 if let Some(blocks) = http2_header_blocks(frame) {
41 for block in blocks.iter() {
49 if let Some(blocks) = http2_header_blocks(frame) {
50 for block in blocks.iter() {
58 if let Some(blocks) = http2_header_blocks(frame) {
59 for block in blocks.iter() {
67 let mut blocks = Vec::new();
78 let mut blocks = Vec::new();
87 blocks.push(b);
102 fn handle_headers(&mut self, blocks: &[parser::HTTP2FrameHeaderBlock], dir: Direction) {
[all …]
/openbmc/u-boot/cmd/
H A Donenand.c65 int blocks = (int) len >> this->erase_shift; in onenand_block_read() local
78 while (blocks) { 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()
177 blocks--; in onenand_block_write()
227 int blocks; in onenand_block_test() local
258 blocks = start_block; in onenand_block_test()
260 while (blocks < end_block) { in onenand_block_test()
295 blocks++; in onenand_block_test()
H A Dfdc.c405 int fdc_read_data(unsigned char *buffer, unsigned long blocks,FDC_COMMAND_STRUCT *pCMD, FD_GEO_STRU… in fdc_read_data() argument
438 if(readblk>blocks) /* is end within 1st track */ in fdc_read_data()
439 readblk=blocks; /* yes, correct it */ in fdc_read_data()
500 blocks-=readblk; /* update blocks */ in fdc_read_data()
501 if(blocks==0) in fdc_read_data()
506 if(readblk>blocks) in fdc_read_data()
507 readblk=blocks; in fdc_read_data()
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0001-ext2_fs.h-do-not-carry-an-outdated-copy.patch36 -#define EXT2_BAD_INO 1 // Bad blocks inode
95 - uint32_t s_r_blocks_count; /* Reserved blocks count */
96 - uint32_t s_free_blocks_count; /* Free blocks count */
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*/
149 - uint32_t s_r_blocks_count_hi; /* Reserved blocks count */
150 - uint32_t s_free_blocks_count_hi;/* Free blocks count */
157 - uint32_t s_raid_stripe_width; /* blocks on all data disks (N*stride)*/
179 - uint16_t bg_free_blocks_count; /* Free blocks count */
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/poppler/poppler/
H A D0001-Do-not-overwrite-all-our-build-flags.patch28 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
/openbmc/u-boot/lib/efi_loader/
H A Defi_disk.c63 int blocks; in efi_disk_rw_blocks() local
69 blocks = buffer_size / blksz; in efi_disk_rw_blocks()
73 __LINE__, blocks, lba, blksz, direction); in efi_disk_rw_blocks()
80 n = blk_dread(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
82 n = blk_dwrite(desc, lba, blocks, buffer); in efi_disk_rw_blocks()
87 debug("EFI: %s:%d n=%lx blocks=%x\n", __func__, __LINE__, n, blocks); in efi_disk_rw_blocks()
89 if (n != blocks) in efi_disk_rw_blocks()
/openbmc/u-boot/drivers/mmc/
H A Dmxsmmc.c59 uint32_t data_count = data->blocksize * data->blocks; in mxsmmc_send_cmd_pio()
91 uint32_t data_count = data->blocksize * data->blocks; in mxsmmc_send_cmd_dma()
180 if (data && (data->blocksize * data->blocks < MXSMMC_SMALL_TRANSFER)) in mxsmmc_send_cmd()
210 reg = data->blocksize * data->blocks; in mxsmmc_send_cmd()
216 ((data->blocks - 1) << SSP_CMD0_BLOCK_COUNT_OFFSET) | in mxsmmc_send_cmd()
222 reg = ((data->blocks - 1) << in mxsmmc_send_cmd()
276 if (data->blocksize * data->blocks < MXSMMC_SMALL_TRANSFER) { in mxsmmc_send_cmd()
H A Ddw_mmc.c55 blk_cnt = data->blocks; in dwmci_prepare_data()
96 dwmci_writel(host, DWMCI_BYTCNT, data->blocksize * data->blocks); in dwmci_prepare_data()
127 size = data->blocksize * data->blocks / 4; in dwmci_data_transfer()
230 data ? DIV_ROUND_UP(data->blocks, 8) : 0);
251 data->blocksize * data->blocks);
257 data->blocks, GEN_BB_WRITE);
261 data->blocks, GEN_BB_READ);
/openbmc/u-boot/drivers/block/
H A DKconfig8 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
H A Dblkcache.c145 void blkcache_configure(unsigned blocks, unsigned entries) in blkcache_configure() argument
148 if ((blocks != _stats.max_blocks_per_entry) || in blkcache_configure()
160 _stats.max_blocks_per_entry = blocks; in blkcache_configure()
/openbmc/u-boot/lib/
H A Dsha512.c194 int blocks) in sha512_block_fn() argument
196 while (blocks--) { in sha512_block_fn()
213 int blocks; in sha512_base_do_update() local
225 blocks = len / SHA512_BLOCK_SIZE; in sha512_base_do_update()
228 if (blocks) { in sha512_base_do_update()
229 sha512_block_fn(sctx, data, blocks); in sha512_base_do_update()
230 data += blocks * SHA512_BLOCK_SIZE; in sha512_base_do_update()
/openbmc/u-boot/doc/
H A DREADME.nand13 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
52 for bad blocks or ECC errors.
59 As JFFS2 skips blocks similarly, this allows writing a JFFS2 image,
61 bad blocks. Compact images, such as those produced by mkfs.jffs2
63 going to be trouble if there are any bad blocks.
79 for bad blocks.
[all …]
/openbmc/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py358 blocks = set(init_blocks)
364 table_size = int(ceil((max(blocks) + 1) / float(size)))
375 diff = set([c // block_size for c in table_clusters]) - blocks
376 blocks |= diff
384 diff = set([x // block_size for x in new]) - blocks
386 blocks |= diff
388 if int(ceil((max(blocks) + 1) / float(size))) > table_size:
392 if new_block_id not in blocks:
396 return table_clusters, blocks, clusters
/openbmc/u-boot/doc/device-tree-bindings/misc/
H A Dcros-ec.txt17 - optimise-flash-write : Boolean property - if present then flash blocks
19 uses that pattern for erased blocks
/openbmc/openbmc/poky/meta/recipes-extended/unzip/unzip/
H A Dcve-2014-9636.patch10 purport to have compressed blocks larger than the corresponding
11 uncompressed blocks in STORED no-compression mode, an attacker can

12345678910