| /Linux-v5.4/Documentation/filesystems/ext4/ |
| D | blockmap.rst | 6 | 0 to 11 | Direct map to file blocks 0 to 11. … 8 … | Indirect block: (file blocks 12 to (``$block_size`` / 4) + 11, or 12 to 1035 i… 13 … (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | … 16 …t block: (file blocks ``$block_size``/4 + 12 to (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) … 21 …$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) … 26 … (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | … 30 …blocks (``$block_size`` / 4) ^ 2 + (``$block_size`` / 4) + 12 to (``$block_size`` / 4) ^ 3 + (``$b… 35 …size`` / 4) | Map to (``$block_size`` / 4) double indirect blocks (1024 if 4KiB blocks) … 40 …$block_size`` / 4) | Map to (``$block_size`` / 4) indirect blocks (1024 if 4KiB blocks) … 45 … (``$block_size`` / 4) | Direct map to (``$block_size`` / 4) blocks (1024 if 4KiB blocks) | …
|
| /Linux-v5.4/crypto/ |
| D | aegis128-core.c | 31 union aegis_block blocks[AEGIS128_STATE_BLOCKS]; member 80 tmp = state->blocks[AEGIS128_STATE_BLOCKS - 1]; in crypto_aegis128_update() 82 crypto_aegis_aesenc(&state->blocks[i], &state->blocks[i - 1], in crypto_aegis128_update() 83 &state->blocks[i]); in crypto_aegis128_update() 84 crypto_aegis_aesenc(&state->blocks[0], &tmp, &state->blocks[0]); in crypto_aegis128_update() 96 crypto_aegis_block_xor(&state->blocks[0], msg); in crypto_aegis128_update_a() 107 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u() 120 state->blocks[0] = key_iv; in crypto_aegis128_init() 121 state->blocks[1] = crypto_aegis_const[1]; in crypto_aegis128_init() 122 state->blocks[2] = crypto_aegis_const[0]; in crypto_aegis128_init() [all …]
|
| /Linux-v5.4/crypto/async_tx/ |
| D | async_pq.c | 107 do_sync_gen_syndrome(struct page **blocks, unsigned int offset, int disks, in do_sync_gen_syndrome() argument 117 srcs = (void **) blocks; in do_sync_gen_syndrome() 120 if (blocks[i] == NULL) { in do_sync_gen_syndrome() 124 srcs[i] = page_address(blocks[i]) + offset; in do_sync_gen_syndrome() 163 async_gen_syndrome(struct page **blocks, unsigned int offset, int disks, in async_gen_syndrome() argument 168 &P(blocks, disks), 2, in async_gen_syndrome() 169 blocks, src_cnt, len); in async_gen_syndrome() 173 BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); in async_gen_syndrome() 197 if (blocks[i] == NULL) in async_gen_syndrome() 199 unmap->addr[j] = dma_map_page(device->dev, blocks[i], offset, in async_gen_syndrome() [all …]
|
| D | async_raid6_recov.c | 147 struct page **blocks, struct async_submit_ctl *submit) in __2data_recov_4() argument 158 p = blocks[disks-2]; in __2data_recov_4() 159 q = blocks[disks-1]; in __2data_recov_4() 161 a = blocks[faila]; in __2data_recov_4() 162 b = blocks[failb]; in __2data_recov_4() 186 struct page **blocks, struct async_submit_ctl *submit) in __2data_recov_5() argument 201 if (blocks[i] == NULL) in __2data_recov_5() 210 p = blocks[disks-2]; in __2data_recov_5() 211 q = blocks[disks-1]; in __2data_recov_5() 212 g = blocks[good]; in __2data_recov_5() [all …]
|
| /Linux-v5.4/arch/arm64/crypto/ |
| D | aes-neonbs-glue.c | 29 int rounds, int blocks); 31 int rounds, int blocks); 34 int rounds, int blocks, u8 iv[]); 37 int rounds, int blocks, u8 iv[], u8 final[]); 40 int rounds, int blocks, u8 iv[]); 42 int rounds, int blocks, u8 iv[]); 46 int rounds, int blocks); 48 int rounds, int blocks, u8 iv[]); 99 int rounds, int blocks)) in __ecb_crypt() argument 109 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local [all …]
|
| D | ghash-ce-glue.c | 53 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src, 57 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src, 61 asmlinkage void pmull_gcm_encrypt(int blocks, u64 dg[], u8 dst[], 66 asmlinkage void pmull_gcm_decrypt(int blocks, u64 dg[], u8 dst[], 81 static void ghash_do_update(int blocks, u64 dg[], const char *src, in ghash_do_update() argument 83 void (*simd_update)(int blocks, u64 dg[], in ghash_do_update() argument 90 simd_update(blocks, dg, src, key, head); in ghash_do_update() 100 blocks++; in ghash_do_update() 108 } while (--blocks); in ghash_do_update() 120 void (*simd_update)(int blocks, u64 dg[], in __ghash_update() argument [all …]
|
| D | aes-glue.c | 75 int rounds, int blocks); 77 int rounds, int blocks); 80 int rounds, int blocks, u8 iv[]); 82 int rounds, int blocks, u8 iv[]); 90 int rounds, int blocks, u8 ctr[]); 100 int rounds, int blocks, u8 iv[], 103 int rounds, int blocks, u8 iv[], 107 int blocks, u8 dg[], int enc_before, 197 unsigned int blocks; in ecb_encrypt() local 201 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt() [all …]
|
| /Linux-v5.4/drivers/mtd/ |
| D | rfd_ftl.c | 88 struct block *blocks; member 95 struct block *block = &part->blocks[block_no]; in build_block_map() 188 part->blocks = kcalloc(part->total_blocks, sizeof(struct block), in scan_header() 190 if (!part->blocks) in scan_header() 238 kfree(part->blocks); in scan_header() 280 erase->addr = part->blocks[block].offset; in erase_block() 283 part->blocks[block].state = BLOCK_ERASING; in erase_block() 284 part->blocks[block].free_sectors = 0; in erase_block() 291 part->blocks[block].state = BLOCK_FAILED; in erase_block() 292 part->blocks[block].free_sectors = 0; in erase_block() [all …]
|
| /Linux-v5.4/Documentation/media/uapi/v4l/ |
| D | vidioc-g-edid.rst | 66 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved`` 68 ``start_block`` and of size ``blocks`` will be placed in the memory 70 ``blocks`` * 128 bytes large (the size of one block is 128 bytes). 72 If there are fewer blocks than specified, then the driver will set 73 ``blocks`` to the actual number of blocks. If there are no EDID blocks 76 If blocks have to be retrieved from the sink, then this call will block 79 If ``start_block`` and ``blocks`` are both set to 0 when 80 :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>` is called, then the driver will set ``blocks`` to the 81 total number of available EDID blocks and it will return 0 without 82 copying any data. This is an easy way to discover how many EDID blocks [all …]
|
| /Linux-v5.4/drivers/gpu/drm/i915/selftests/ |
| D | i915_buddy.c | 114 struct list_head *blocks, in igt_check_blocks() argument 127 list_for_each_entry(block, blocks, link) { in igt_check_blocks() 319 LIST_HEAD(blocks); in igt_buddy_alloc_smoke() 354 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_smoke() 366 err = igt_check_blocks(&mm, &blocks, total, false); in igt_buddy_alloc_smoke() 368 i915_buddy_free_list(&mm, &blocks); in igt_buddy_alloc_smoke() 394 LIST_HEAD(blocks); in igt_buddy_alloc_pessimistic() 419 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic() 429 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic() 437 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic() [all …]
|
| /Linux-v5.4/arch/arm/crypto/ |
| D | aes-neonbs-glue.c | 30 int rounds, int blocks); 32 int rounds, int blocks); 35 int rounds, int blocks, u8 iv[]); 38 int rounds, int blocks, u8 ctr[], u8 final[]); 41 int rounds, int blocks, u8 iv[], int); 43 int rounds, int blocks, u8 iv[], int); 88 int rounds, int blocks)) in __ecb_crypt() argument 98 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local 101 blocks = round_down(blocks, in __ecb_crypt() 106 ctx->rounds, blocks); in __ecb_crypt() [all …]
|
| /Linux-v5.4/arch/m68k/emu/ |
| D | nfblock.c | 41 static inline s32 nfhd_get_capacity(u32 major, u32 minor, u32 *blocks, in nfhd_get_capacity() argument 45 virt_to_phys(blocks), virt_to_phys(blocksize)); in nfhd_get_capacity() 56 u32 blocks, bsize; member 87 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo() 99 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument 105 blocks, bsize); in nfhd_init_one() 117 dev->blocks = blocks; in nfhd_init_one() 138 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one() 157 u32 blocks, bsize; in nfhd_init() local 175 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init() [all …]
|
| /Linux-v5.4/arch/x86/crypto/ |
| D | poly1305_glue.c | 31 const u32 *r, unsigned int blocks); 33 unsigned int blocks, const u32 *u); 36 unsigned int blocks, const u32 *u); 67 unsigned int blocks, datalen; in poly1305_simd_blocks() local 92 blocks = srclen / (POLY1305_BLOCK_SIZE * 4); in poly1305_simd_blocks() 93 poly1305_4block_avx2(dctx->h.h, src, dctx->r.r, blocks, in poly1305_simd_blocks() 95 src += POLY1305_BLOCK_SIZE * 4 * blocks; in poly1305_simd_blocks() 96 srclen -= POLY1305_BLOCK_SIZE * 4 * blocks; in poly1305_simd_blocks() 105 blocks = srclen / (POLY1305_BLOCK_SIZE * 2); in poly1305_simd_blocks() 106 poly1305_2block_sse2(dctx->h.h, src, dctx->r.r, blocks, in poly1305_simd_blocks() [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/sifive/ |
| D | sifive-blocks-ip-versioning.txt | 1 DT compatible string versioning for SiFive open-source IP blocks 4 strings for open-source SiFive IP blocks. HDL for these IP blocks 7 https://github.com/sifive/sifive-blocks 14 https://github.com/sifive/sifive-blocks/blob/v1.0/src/main/scala/devices/uart/UART.scala#L43 16 Until these IP blocks (or IP integration) support version 17 auto-discovery, the maintainers of these IP blocks intend to increment 19 interface to these IP blocks changes, or when the functionality of the 20 underlying IP blocks changes in a way that software should be aware of. 25 upstream sifive-blocks commits. It is expected that most drivers will
|
| /Linux-v5.4/Documentation/admin-guide/device-mapper/ |
| D | era.rst | 9 addition it keeps track of which blocks were written within a user 14 Use cases include tracking changed blocks for backup software, and 25 origin dev device holding data blocks that may change 55 <metadata block size> <#used metadata blocks>/<#total metadata blocks> 61 #used metadata blocks Number of metadata blocks used 62 #total metadata blocks Total number of metadata blocks 64 held metadata root The location, in blocks, of the metadata root 89 - Ascertain which blocks have been written since the snapshot was taken 91 - Invalidate those blocks in the caching software 99 that it uses a few 4k blocks for updating metadata::
|
| /Linux-v5.4/drivers/mfd/ |
| D | stmpe.c | 39 unsigned int blocks; member 47 static int __stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_enable() argument 49 return stmpe->variant->enable(stmpe, blocks, true); in __stmpe_enable() 52 static int __stmpe_disable(struct stmpe *stmpe, unsigned int blocks) in __stmpe_disable() argument 54 return stmpe->variant->enable(stmpe, blocks, false); in __stmpe_disable() 132 int stmpe_enable(struct stmpe *stmpe, unsigned int blocks) in stmpe_enable() argument 137 ret = __stmpe_enable(stmpe, blocks); in stmpe_enable() 149 int stmpe_disable(struct stmpe *stmpe, unsigned int blocks) in stmpe_disable() argument 154 ret = __stmpe_disable(stmpe, blocks); in stmpe_disable() 412 static int stmpe801_enable(struct stmpe *stmpe, unsigned int blocks, in stmpe801_enable() argument [all …]
|
| /Linux-v5.4/Documentation/filesystems/ |
| D | qnx6.txt | 16 concepts of blocks, inodes and directories. 26 The space in the device or file is split up into blocks. These are a fixed 43 are done by copying all modified blocks during that specific write request 51 If the level value is 0, up to 16 direct blocks can be addressed by each 54 addressing block holds up to blocksize / 4 bytes pointers to data blocks. 56 to 16 * 256 * 256 = 1048576 blocks that can be addressed by such a tree). 59 indirect addressing blocks or inodes. 66 information (total number of filesystem blocks) or by taking the highest 77 The inode structure contains pointers to the filesystem blocks which contain 81 size, number of blocks used, access time, change time and modification time. [all …]
|
| /Linux-v5.4/include/crypto/ |
| D | sha256_base.h | 19 int blocks); 46 int blocks; in sha256_base_do_update() local 58 blocks = len / SHA256_BLOCK_SIZE; in sha256_base_do_update() 61 if (blocks) { in sha256_base_do_update() 62 block_fn(sctx, data, blocks); in sha256_base_do_update() 63 data += blocks * SHA256_BLOCK_SIZE; in sha256_base_do_update()
|
| D | sha1_base.h | 18 typedef void (sha1_block_fn)(struct sha1_state *sst, u8 const *src, int blocks); 45 int blocks; in sha1_base_do_update() local 57 blocks = len / SHA1_BLOCK_SIZE; in sha1_base_do_update() 60 if (blocks) { in sha1_base_do_update() 61 block_fn(sctx, data, blocks); in sha1_base_do_update() 62 data += blocks * SHA1_BLOCK_SIZE; in sha1_base_do_update()
|
| D | sm3_base.h | 18 typedef void (sm3_block_fn)(struct sm3_state *sst, u8 const *src, int blocks); 48 int blocks; in sm3_base_do_update() local 60 blocks = len / SM3_BLOCK_SIZE; in sm3_base_do_update() 63 if (blocks) { in sm3_base_do_update() 64 block_fn(sctx, data, blocks); in sm3_base_do_update() 65 data += blocks * SM3_BLOCK_SIZE; in sm3_base_do_update()
|
| D | sha512_base.h | 19 int blocks); 68 int blocks; in sha512_base_do_update() local 80 blocks = len / SHA512_BLOCK_SIZE; in sha512_base_do_update() 83 if (blocks) { in sha512_base_do_update() 84 block_fn(sctx, data, blocks); in sha512_base_do_update() 85 data += blocks * SHA512_BLOCK_SIZE; in sha512_base_do_update()
|
| /Linux-v5.4/drivers/media/i2c/adv748x/ |
| D | adv748x-hdmi.c | 471 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid() 472 edid->blocks = hdmi->edid.blocks; in adv748x_hdmi_get_edid() 476 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid() 479 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid() 480 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid() 483 edid->blocks * 128); in adv748x_hdmi_get_edid() 523 if (edid->blocks == 0) { in adv748x_hdmi_set_edid() 524 hdmi->edid.blocks = 0; in adv748x_hdmi_set_edid() 533 edid->blocks << ADV748X_REPEATER_EDID_SZ_SHIFT); in adv748x_hdmi_set_edid() 540 if (edid->blocks > 4) { in adv748x_hdmi_set_edid() [all …]
|
| /Linux-v5.4/drivers/ide/ |
| D | ide-floppy.c | 197 int blocks = blk_rq_sectors(rq) / floppy->bs_factor; in idefloppy_create_rw_cmd() local 200 ide_debug_log(IDE_DBG_FUNC, "block: %d, blocks: %d", block, blocks); in idefloppy_create_rw_cmd() 204 put_unaligned(cpu_to_be16(blocks), (unsigned short *)&pc->c[7]); in idefloppy_create_rw_cmd() 360 lba_capacity = floppy->blocks * floppy->block_size; in ide_floppy_get_flexible_disk_page() 366 floppy->blocks = floppy->block_size ? in ide_floppy_get_flexible_disk_page() 368 drive->capacity64 = floppy->blocks * floppy->bs_factor; in ide_floppy_get_flexible_disk_page() 385 int i, rc = 1, blocks, length; in ide_floppy_get_capacity() local 391 floppy->blocks = 0; in ide_floppy_get_capacity() 407 blocks = be32_to_cpup((__be32 *)&pc_buf[desc_start]); in ide_floppy_get_capacity() 412 i, blocks * length / 1024, in ide_floppy_get_capacity() [all …]
|
| /Linux-v5.4/fs/verity/ |
| D | open.c | 36 u64 blocks; in fsverity_init_merkle_tree_params() local 92 blocks = (inode->i_size + params->block_size - 1) >> log_blocksize; in fsverity_init_merkle_tree_params() 93 pr_debug("Data is %lld bytes (%llu blocks)\n", inode->i_size, blocks); in fsverity_init_merkle_tree_params() 94 while (blocks > 1) { in fsverity_init_merkle_tree_params() 100 blocks = (blocks + params->hashes_per_block - 1) >> in fsverity_init_merkle_tree_params() 103 params->level_start[params->num_levels++] = blocks; in fsverity_init_merkle_tree_params() 109 blocks = params->level_start[level]; in fsverity_init_merkle_tree_params() 112 level, blocks, offset); in fsverity_init_merkle_tree_params() 113 offset += blocks; in fsverity_init_merkle_tree_params()
|
| /Linux-v5.4/fs/ |
| D | mpage.c | 167 sector_t blocks[MAX_BUF_PER_PAGE]; in do_mpage_readpage() local 213 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage() 260 if (page_block && blocks[page_block-1] != map_bh->b_blocknr-1) in do_mpage_readpage() 269 blocks[page_block] = map_bh->b_blocknr+relative_block; in do_mpage_readpage() 296 if (args->bio && (args->last_block_in_bio != blocks[0] - 1)) in do_mpage_readpage() 302 if (!bdev_read_page(bdev, blocks[0] << (blkbits - 9), in do_mpage_readpage() 306 args->bio = mpage_alloc(bdev, blocks[0] << (blkbits - 9), in do_mpage_readpage() 326 args->last_block_in_bio = blocks[blocks_per_page - 1]; in do_mpage_readpage() 508 sector_t blocks[MAX_BUF_PER_PAGE]; in __mpage_writepage() local 547 if (bh->b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage() [all …]
|