/openbmc/qemu/hw/s390x/ |
H A D | s390-skeys.c | 150 GuestPhysBlock *block; in qmp_dump_skeys() local 187 QTAILQ_FOREACH(block, &guest_phys_blocks.head, next) { in qmp_dump_skeys() 188 assert(QEMU_IS_ALIGNED(block->target_start, TARGET_PAGE_SIZE)); in qmp_dump_skeys() 189 assert(QEMU_IS_ALIGNED(block->target_end, TARGET_PAGE_SIZE)); in qmp_dump_skeys() 191 gfn = block->target_start / TARGET_PAGE_SIZE; in qmp_dump_skeys() 192 pages = (block->target_end - block->target_start) / TARGET_PAGE_SIZE; in qmp_dump_skeys() 332 GuestPhysBlock *block; in s390_storage_keys_save() local 351 QTAILQ_FOREACH(block, &guest_phys_blocks.head, next) { in s390_storage_keys_save() 353 assert(QEMU_IS_ALIGNED(block->target_end, TARGET_PAGE_SIZE)); in s390_storage_keys_save() 355 gfn = block->target_start / TARGET_PAGE_SIZE; in s390_storage_keys_save() [all …]
|
/openbmc/linux/arch/powerpc/lib/ |
H A D | rheap.c | 47 rh_block_t *block, *blk; in grow() local 58 if (block == NULL) in grow() 64 memcpy(block, info->block, in grow() 67 delta = (char *)block - (char *)info->block; in grow() 70 blks = (unsigned long)info->block; in grow() 82 kfree(info->block); in grow() 85 info->block = block; in grow() 268 info->block = NULL; in rh_create() 288 kfree(info->block); in rh_destroy() 301 rh_block_t * block) in rh_init() argument [all …]
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_rtbitmap.c | 104 xfs_rtblock_t block; /* bitmap block number */ in xfs_rtfind_back() local 119 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_back() 120 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_back() 172 error = xfs_rtbuf_get(mp, tp, --block, 0, &bp); in xfs_rtfind_back() 279 xfs_rtblock_t block; /* bitmap block number */ in xfs_rtfind_forw() local 294 block = XFS_BITTOBLOCK(mp, start); in xfs_rtfind_forw() 295 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtfind_forw() 555 block = XFS_BITTOBLOCK(mp, start); in xfs_rtmodify_range() 559 error = xfs_rtbuf_get(mp, tp, block, 0, &bp); in xfs_rtmodify_range() 789 block = XFS_BITTOBLOCK(mp, start); in xfs_rtcheck_range() [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | squashfs.rst | 12 maximum of 1Mbytes (default block size 128K). 35 Max block size 1 MiB 4 KiB 117 block is uncompressed. A block will be uncompressed if the -noI option is set, 118 or if the compressed block was larger than the uncompressed block. 124 placed (<block, offset>). 141 decompressed block (<block, offset>). 146 compressed metadata block, and therefore, can share the start block. 150 is written once/if the inode start block changes. The directory 169 compressed fragment block (tail-end packed block). The compressed size 170 of each datablock is stored in a block list contained within the [all …]
|
/openbmc/linux/Documentation/driver-api/nvdimm/ |
H A D | btt.rst | 11 storage as traditional block devices. The block drivers for persistent memory 21 being torn can continue to do so. The BTT manifests itself as a stacked block 42 | | | | Arena info block | 67 | Info block copy | 81 flags, and the remaining form the internal block number. 108 Postmap ABA The block number in the "Data Blocks" area obtained after 120 'X' (256G) points to block 'Y', say '64'. Thus the postmap ABA is 64. 134 free block. 234 7. Read data from this block 245 5. Write data to this free block [all …]
|
/openbmc/linux/fs/efs/ |
H A D | namei.c | 25 efs_block_t block; in efs_find_entry() local 31 for(block = 0; block < inode->i_blocks; block++) { in efs_find_entry() 33 bh = sb_bread(inode->i_sb, efs_bmap(inode, block)); in efs_find_entry() 36 __func__, block); in efs_find_entry()
|
/openbmc/webui-vue/docs/guide/quickstart/ |
H A D | page-anatomy.md | 4 block. 6 ## Template block 28 ## Scripts block 33 Importing `BContainer` in the [scripts block](#scripts-block) is not required as 47 ## Style block 49 Add the `scoped` attribute to the style block to keep the styles isolated to the
|
/openbmc/qemu/qapi/ |
H A D | block-core.json | 758 # @query-block: 924 # Statistics of a virtual block device or a block backing device. 1123 # Statistics of a virtual block device or a block backing device. 1435 # @query-block-jobs: 1767 # @block-commit: 2014 'data': [ 'block-backend', 'block-job', 'block-driver' ] } 2023 # @type: Type of graph node. Can be one of block-backend, block-job 2028 # the whole graph (with block-jobs and block-backends). 2766 # @block-stream: 2948 # @block-job-pause: [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | mtdnand.rst | 425 with the bad block marker positions. See bad block table support for 433 block information would be lost. It is possible to check the bad block 435 the first page in the block. This is time consuming so a bad block table 442 The bad block table contains all bad block information of the device 447 A bad block table is used per chip and contains the bad block 548 of the first page in the block which holds the bad block table. Store 563 This allows the update of the bad block table(s) in case a block has 584 In case that the block which holds the bad block table does contain 586 the bad block table is written then the whole block is read the bad 587 block table is updated and the block is erased and everything is [all …]
|
/openbmc/linux/Documentation/block/ |
H A D | blk-mq.rst | 9 through queueing and submitting IO requests to block devices simultaneously, 32 The former design had a single queue to store block IO requests with a single 44 When the userspace performs IO to a block device (reading or writing a file, 46 the block device, acting as middleware between the userspace (and a file 47 system, if present) and the block device driver. 65 The block IO subsystem adds requests in the software staging queues 68 block layer through the data structure struct bio. The block layer 91 <https://www.kernel.org/doc/html/latest/block/index.html>`_. The scheduling 124 Neither the block layer nor the device protocols guarantee 146 - `Null block device driver <https://www.kernel.org/doc/html/latest/block/null_blk.html>`_ [all …]
|
/openbmc/linux/fs/squashfs/ |
H A D | dir.c | 101 u64 block = squashfs_i(inode)->start + msblk->directory_table; in squashfs_readdir() local 107 TRACE("Entered squashfs_readdir [%llx:%x]\n", block, offset); in squashfs_readdir() 144 length = get_dir_index_using_offset(inode->i_sb, &block, &offset, in squashfs_readdir() 154 err = squashfs_read_metadata(inode->i_sb, &dirh, &block, in squashfs_readdir() 170 err = squashfs_read_metadata(inode->i_sb, dire, &block, in squashfs_readdir() 182 &block, &offset, size); in squashfs_readdir() 213 ERROR("Unable to read directory block [%llx:%x]\n", block, offset); in squashfs_readdir()
|
H A D | symlink.c | 40 u64 block = squashfs_i(inode)->start; in squashfs_symlink_read_folio() local 48 "%llx, offset %x\n", page->index, block, offset); in squashfs_symlink_read_folio() 54 bytes = squashfs_read_metadata(sb, NULL, &block, &offset, in squashfs_symlink_read_folio() 72 entry = squashfs_cache_get(sb, msblk->block_cache, block, 0); in squashfs_symlink_read_folio() 87 block = entry->next_index; in squashfs_symlink_read_folio()
|
/openbmc/linux/Documentation/translations/zh_CN/rust/ |
H A D | coding-guidelines.rst | 48 .. code-block:: rust 56 .. code-block:: rust 65 .. code-block:: rust 83 .. code-block:: rust 106 .. code-block:: rust 175 .. code-block:: c 182 .. code-block:: rust
|
/openbmc/linux/fs/omfs/ |
H A D | dir.c | 43 while (block != ~0) { in omfs_scan_list() 44 bh = omfs_bread(dir->i_sb, block); in omfs_scan_list() 59 *prev_block = block; in omfs_scan_list() 60 block = be64_to_cpu(oi->i_sibling); in omfs_scan_list() 72 u64 block, dummy; in omfs_find_entry() local 78 block = be64_to_cpu(*((__be64 *) &bh->b_data[ofs])); in omfs_find_entry() 118 u64 block; in omfs_add_link() local 128 block = be64_to_cpu(*entry); in omfs_add_link() 141 oi->i_sibling = cpu_to_be64(block); in omfs_add_link() 165 u64 block, prev; in omfs_delete_entry() local [all …]
|
/openbmc/linux/sound/soc/intel/atom/sst/ |
H A D | sst_ipc.c | 65 struct sst_block *block; in sst_wake_up_block() local 70 list_for_each_entry(block, &ctx->block_list, node) { in sst_wake_up_block() 71 dev_dbg(ctx->dev, "Block ipc %d, drv_id %d\n", block->msg_id, in sst_wake_up_block() 72 block->drv_id); in sst_wake_up_block() 73 if (block->msg_id == ipc && block->drv_id == drv_id) { in sst_wake_up_block() 75 block->ret_code = result; in sst_wake_up_block() 76 block->data = data; in sst_wake_up_block() 77 block->size = size; in sst_wake_up_block() 78 block->condition = true; in sst_wake_up_block() 93 struct sst_block *block, *__block; in sst_free_block() local [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | blake2b-neon-glue.c | 19 const u8 *block, size_t nblocks, u32 inc); 22 const u8 *block, size_t nblocks, u32 inc) in blake2b_compress_arch() argument 25 blake2b_compress_generic(state, block, nblocks, inc); in blake2b_compress_arch() 34 blake2b_compress_neon(state, block, blocks, inc); in blake2b_compress_arch() 38 block += blocks * BLAKE2B_BLOCK_SIZE; in blake2b_compress_arch()
|
/openbmc/linux/fs/sysv/ |
H A D | inode.c | 177 unsigned int block; in sysv_iget() local 211 for (block = 0; block < 10+1+1+1; block++) in sysv_iget() 212 read3byte(sbi, &raw_inode->i_data[3*block], in sysv_iget() 213 (u8 *)&si->i_data[block]); in sysv_iget() 236 unsigned int ino, block; in __sysv_write_inode() local 263 for (block = 0; block < 10+1+1+1; block++) in __sysv_write_inode() 264 write3byte(sbi, (u8 *)&si->i_data[block], in __sysv_write_inode() 265 &raw_inode->i_data[3*block]); in __sysv_write_inode()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.h | 911 return block->mlxsw_sp; in mlxsw_sp_flow_block_mlxsw_sp() 917 return block ? block->rule_count : 0; in mlxsw_sp_flow_block_rule_count() 923 if (block) in mlxsw_sp_flow_block_disable_inc() 924 block->disable_count++; in mlxsw_sp_flow_block_disable_inc() 930 if (block) in mlxsw_sp_flow_block_disable_dec() 931 block->disable_count--; in mlxsw_sp_flow_block_disable_dec() 937 return block->disable_count; in mlxsw_sp_flow_block_disabled() 943 return block->egress_binding_count; in mlxsw_sp_flow_block_is_egress_bound() 949 return block->ingress_binding_count; in mlxsw_sp_flow_block_is_ingress_bound() 955 return block->ingress_binding_count && block->egress_binding_count; in mlxsw_sp_flow_block_is_mixed_bound() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn302/ |
H A D | irq_service_dcn302.c | 187 #define SRI(reg_name, block, id)\ argument 188 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 189 mm ## block ## id ## _ ## reg_name 195 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 196 .enable_reg = SRI(reg1, block, reg_num),\ 197 .enable_mask = block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 199 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 200 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 202 .ack_reg = SRI(reg2, block, reg_num),\ 203 .ack_mask = block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn21/ |
H A D | irq_service_dcn21.c | 207 #define SRI(reg_name, block, id)\ argument 208 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 209 mm ## block ## id ## _ ## reg_name 215 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 216 .enable_reg = SRI(reg1, block, reg_num),\ 218 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 220 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 221 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 223 .ack_reg = SRI(reg2, block, reg_num),\ 225 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn314/ |
H A D | irq_service_dcn314.c | 202 #define SRI(reg_name, block, id)\ argument 203 (BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 204 reg ## block ## id ## _ ## reg_name) 210 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 211 .enable_reg = SRI(reg1, block, reg_num),\ 213 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 215 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 216 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 218 .ack_reg = SRI(reg2, block, reg_num),\ 220 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn315/ |
H A D | irq_service_dcn315.c | 207 #define SRI(reg_name, block, id)\ argument 208 BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 209 reg ## block ## id ## _ ## reg_name 215 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 216 .enable_reg = SRI(reg1, block, reg_num),\ 218 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 220 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 221 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 223 .ack_reg = SRI(reg2, block, reg_num),\ 225 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn31/ |
H A D | irq_service_dcn31.c | 200 #define SRI(reg_name, block, id)\ argument 201 BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 202 reg ## block ## id ## _ ## reg_name 208 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 209 .enable_reg = SRI(reg1, block, reg_num),\ 211 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 213 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 214 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 216 .ack_reg = SRI(reg2, block, reg_num),\ 218 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn32/ |
H A D | irq_service_dcn32.c | 201 #define SRI(reg_name, block, id)\ argument 202 BASE(reg ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 203 reg ## block ## id ## _ ## reg_name 209 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 210 .enable_reg = SRI(reg1, block, reg_num),\ 212 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 214 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 215 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 217 .ack_reg = SRI(reg2, block, reg_num),\ 219 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/irq/dcn30/ |
H A D | irq_service_dcn30.c | 212 #define SRI(reg_name, block, id)\ argument 213 BASE(mm ## block ## id ## _ ## reg_name ## _BASE_IDX) + \ 214 mm ## block ## id ## _ ## reg_name 220 #define IRQ_REG_ENTRY(block, reg_num, reg1, mask1, reg2, mask2)\ argument 221 .enable_reg = SRI(reg1, block, reg_num),\ 223 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 225 block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK,\ 226 ~block ## reg_num ## _ ## reg1 ## __ ## mask1 ## _MASK \ 228 .ack_reg = SRI(reg2, block, reg_num),\ 230 block ## reg_num ## _ ## reg2 ## __ ## mask2 ## _MASK,\ [all …]
|