Home
last modified time | relevance | path

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

12345678910>>...37

/linux/Documentation/filesystems/ext4/
A Dblockmap.rst6 | 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) | …
30blocks (``$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/crypto/async_tx/
A Dasync_pq.c117 srcs = (void **) blocks; in do_sync_gen_syndrome()
120 if (blocks[i] == NULL) { in do_sync_gen_syndrome()
187 BUG_ON(disks > MAX_DISKS || !(P(blocks, disks) || Q(blocks, disks))); in async_gen_syndrome()
211 if (blocks[i] == NULL) in async_gen_syndrome()
225 if (P(blocks, disks)) in async_gen_syndrome()
235 if (Q(blocks, disks)) in async_gen_syndrome()
257 if (!P(blocks, disks)) { in async_gen_syndrome()
261 if (!Q(blocks, disks)) { in async_gen_syndrome()
325 if (likely(blocks[i])) { in async_syndrome_val()
335 if (!P(blocks, disks)) { in async_syndrome_val()
[all …]
A Dasync_raid6_recov.c168 p = blocks[disks-2]; in __2data_recov_4()
170 q = blocks[disks-1]; in __2data_recov_4()
173 a = blocks[faila]; in __2data_recov_4()
175 b = blocks[failb]; in __2data_recov_4()
235 g = blocks[good]; in __2data_recov_5()
242 dp = blocks[faila]; in __2data_recov_5()
244 dq = blocks[failb]; in __2data_recov_5()
318 dp = blocks[faila]; in __2data_recov_n()
323 dq = blocks[failb]; in __2data_recov_n()
430 if (blocks[i]) in async_raid6_2data_recov()
[all …]
/linux/crypto/
A Daegis128-core.c68 crypto_aegis_aesenc(&state->blocks[i], &state->blocks[i - 1], in crypto_aegis128_update()
69 &state->blocks[i]); in crypto_aegis128_update()
70 crypto_aegis_aesenc(&state->blocks[0], &tmp, &state->blocks[0]); in crypto_aegis128_update()
108 state->blocks[0] = key_iv; in crypto_aegis128_init()
111 state->blocks[3] = *key; in crypto_aegis128_init()
112 state->blocks[4] = *key; in crypto_aegis128_init()
165 tmp = state->blocks[2]; in crypto_aegis128_encrypt_chunk()
181 tmp = state->blocks[2]; in crypto_aegis128_encrypt_chunk()
201 tmp = state->blocks[2]; in crypto_aegis128_encrypt_chunk()
226 tmp = state->blocks[2]; in crypto_aegis128_decrypt_chunk()
[all …]
/linux/arch/arm64/crypto/
A Daes-neonbs-glue.c29 int rounds, int blocks);
31 int rounds, int blocks);
46 int rounds, int blocks);
94 int rounds, int blocks)) in __ecb_crypt() argument
107 blocks = round_down(blocks, in __ecb_crypt()
112 ctx->rounds, blocks); in __ecb_crypt()
190 blocks = round_down(blocks, in cbc_decrypt()
220 blocks = round_down(blocks, in ctr_encrypt()
314 blocks = round_down(blocks, in __xts_crypt()
332 out += blocks * AES_BLOCK_SIZE; in __xts_crypt()
[all …]
A Dsha512-ce-glue.c30 int blocks);
32 asmlinkage void sha512_block_data_order(u64 *digest, u8 const *src, int blocks);
35 int blocks) in __sha512_ce_transform() argument
37 while (blocks) { in __sha512_ce_transform()
41 rem = sha512_ce_transform(sst, src, blocks); in __sha512_ce_transform()
43 src += (blocks - rem) * SHA512_BLOCK_SIZE; in __sha512_ce_transform()
44 blocks = rem; in __sha512_ce_transform()
49 int blocks) in __sha512_block_data_order() argument
51 sha512_block_data_order(sst->state, src, blocks); in __sha512_block_data_order()
A Daes-glue.c181 unsigned int blocks; in ecb_encrypt() local
201 unsigned int blocks; in ecb_decrypt() local
221 unsigned int blocks; in cbc_encrypt_walk() local
250 unsigned int blocks; in cbc_decrypt_walk() local
409 unsigned int blocks; in essiv_cbc_encrypt() local
414 if (blocks) { in essiv_cbc_encrypt()
431 unsigned int blocks; in essiv_cbc_decrypt() local
436 if (blocks) { in essiv_cbc_decrypt()
822 blocks = rem; in mac_do_update()
824 } while (blocks); in mac_do_update()
[all …]
A Dsha2-ce-glue.c34 int blocks);
37 int blocks) in __sha2_ce_transform() argument
39 while (blocks) { in __sha2_ce_transform()
44 sst), src, blocks); in __sha2_ce_transform()
46 src += (blocks - rem) * SHA256_BLOCK_SIZE; in __sha2_ce_transform()
47 blocks = rem; in __sha2_ce_transform()
56 asmlinkage void sha256_block_data_order(u32 *digest, u8 const *src, int blocks);
59 int blocks) in __sha256_block_data_order() argument
61 sha256_block_data_order(sst->state, src, blocks); in __sha256_block_data_order()
A Dghash-ce-glue.c81 blocks++; in ghash_do_update()
89 } while (--blocks); in ghash_do_update()
98 void (*simd_update)(int blocks, u64 dg[], in ghash_do_simd_update() argument
105 simd_update(blocks, dg, src, key->h, head); in ghash_do_simd_update()
125 int blocks; in ghash_update() local
135 blocks = len / GHASH_BLOCK_SIZE; in ghash_update()
139 int chunk = min(blocks, MAX_BLOCKS); in ghash_update()
145 blocks -= chunk; in ghash_update()
148 } while (unlikely(blocks > 0)); in ghash_update()
288 int blocks = count / GHASH_BLOCK_SIZE; in gcm_update_mac() local
[all …]
/linux/drivers/mtd/
A Drfd_ftl.c88 struct block *blocks; member
190 if (!part->blocks) in scan_header()
235 kfree(part->blocks); in scan_header()
281 part->blocks[block].free_sectors = 0; in erase_block()
289 part->blocks[block].free_sectors = 0; in erase_block()
298 part->blocks[block].erases++; in erase_block()
345 part->blocks[block_no].offset); in move_block_contents()
535 part->blocks[block].offset); in find_writable_block()
556 addr = part->blocks[block].offset + in mark_sector_deleted()
572 part->blocks[block].used_sectors--; in mark_sector_deleted()
[all …]
/linux/arch/x86/crypto/
A Decb_cbc_helpers.h31 #define ECB_WALK_ADVANCE(blocks) do { \ argument
32 dst += (blocks) * __bsize; \
33 src += (blocks) * __bsize; \
34 nbytes -= (blocks) * __bsize; \
37 #define ECB_BLOCK(blocks, func) do { \ argument
38 while (nbytes >= (blocks) * __bsize) { \
40 ECB_WALK_ADVANCE(blocks); \
55 #define CBC_DEC_BLOCK(blocks, func) do { \ argument
56 while (nbytes >= (blocks) * __bsize) { \
57 const u8 *__iv = src + ((blocks) - 1) * __bsize; \
[all …]
/linux/Documentation/userspace-api/media/v4l/
A Dvidioc-g-edid.rst62 ``start_block`` and of size ``blocks`` will be placed in the memory
64 ``blocks`` * 128 bytes large (the size of one block is 128 bytes).
66 If there are fewer blocks than specified, then the driver will set
67 ``blocks`` to the actual number of blocks. If there are no EDID blocks
73 If ``start_block`` and ``blocks`` are both set to 0 when
75 total number of available EDID blocks and it will return 0 without
81 If there are no EDID blocks available at all, then
82 the driver will set ``blocks`` to 0 and it returns 0.
121 - ``blocks``
123 (the maximum number of blocks as defined by the standard). When
[all …]
/linux/arch/arm/crypto/
A Daes-neonbs-glue.c32 int rounds, int blocks);
34 int rounds, int blocks);
37 int rounds, int blocks, u8 iv[]);
43 int rounds, int blocks, u8 iv[], int);
45 int rounds, int blocks, u8 iv[], int);
90 int rounds, int blocks)) in __ecb_crypt() argument
103 blocks = round_down(blocks, in __ecb_crypt()
108 ctx->rounds, blocks); in __ecb_crypt()
177 blocks = round_down(blocks, in cbc_decrypt()
250 blocks = round_down(blocks, in ctr_encrypt()
[all …]
/linux/arch/m68k/emu/
A Dnfblock.c41 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
85 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
98 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()
131 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
151 u32 blocks, bsize; in nfhd_init() local
169 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init()
[all …]
/linux/drivers/gpu/drm/i915/selftests/
A Di915_buddy.c112 struct list_head *blocks, in igt_check_blocks() argument
326 LIST_HEAD(blocks); in igt_buddy_alloc_smoke()
411 LIST_HEAD(blocks); in igt_buddy_alloc_pessimistic()
492 i915_buddy_free_list(&mm, &blocks); in igt_buddy_alloc_pessimistic()
502 LIST_HEAD(blocks); in igt_buddy_alloc_optimistic()
542 i915_buddy_free_list(&mm, &blocks); in igt_buddy_alloc_optimistic()
552 LIST_HEAD(blocks); in igt_buddy_alloc_pathological()
624 list_splice_tail(&holes, &blocks); in igt_buddy_alloc_pathological()
625 i915_buddy_free_list(&mm, &blocks); in igt_buddy_alloc_pathological()
634 LIST_HEAD(blocks); in igt_buddy_alloc_range()
[all …]
/linux/drivers/mfd/
A Dstmpe.c39 unsigned int blocks; member
417 if (blocks & STMPE_BLOCK_GPIO) in stmpe801_enable()
429 .blocks = stmpe801_blocks,
541 if (blocks & STMPE_BLOCK_ADC) in stmpe811_enable()
593 .blocks = stmpe811_blocks,
608 .blocks = stmpe811_blocks,
664 .blocks = stmpe1600_blocks,
828 .blocks = stmpe1601_blocks,
937 .blocks = stmpe1801_blocks,
1043 .blocks = stmpe24xx_blocks,
[all …]
/linux/Documentation/devicetree/bindings/sifive/
A Dsifive-blocks-ip-versioning.txt1 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/Documentation/admin-guide/device-mapper/
A Dera.rst9 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::
A Ddm-dust.rst10 requests on specific blocks (to emulate the behavior of a hard disk
14 "dmsetup status" displays "fail_read_on_bad_block"), reads of blocks
28 messages to add arbitrary bad blocks at new locations, and the
30 configured "bad blocks" will be treated as bad, or bypassed.
86 Adding and removing bad blocks
102 These bad blocks will be stored in the "bad block list".
128 ...and writing to the bad blocks will remove the blocks from the list,
157 Counting the number of bad blocks in the bad block list
165 A message will print with the number of bad blocks currently
170 Querying for specific bad blocks
[all …]
/linux/Documentation/filesystems/
A Dqnx6.rst19 concepts of blocks, inodes and directories.
31 The space in the device or file is split up into blocks. These are a fixed
49 are done by copying all modified blocks during that specific write request
57 If the level value is 0, up to 16 direct blocks can be addressed by each
61 addressing block holds up to blocksize / 4 bytes pointers to data blocks.
66 indirect addressing blocks or inodes.
75 information (total number of filesystem blocks) or by taking the highest
95 addressed with 16 direct blocks.
181 blocks represented by the upper half bitmap system area bits.
183 Bitmap blocks, Inode blocks and indirect addressing blocks for those two
[all …]
/linux/drivers/media/i2c/adv748x/
A Dadv748x-hdmi.c472 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
473 edid->blocks = hdmi->edid.blocks; in adv748x_hdmi_get_edid()
477 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
480 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
481 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
484 edid->blocks * 128); in adv748x_hdmi_get_edid()
524 if (edid->blocks == 0) { in adv748x_hdmi_set_edid()
525 hdmi->edid.blocks = 0; in adv748x_hdmi_set_edid()
541 if (edid->blocks > 4) { in adv748x_hdmi_set_edid()
542 edid->blocks = 4; in adv748x_hdmi_set_edid()
[all …]
/linux/fs/xfs/libxfs/
A Dxfs_btree_staging.c565 uint64_t *blocks, in xfs_btree_bload_level_geometry() argument
584 *blocks = max(1ULL, *blocks); in xfs_btree_bload_level_geometry()
596 (*blocks)++; in xfs_btree_bload_level_geometry()
603 *avg_per_block, desired_npb, *blocks, in xfs_btree_bload_level_geometry()
753 uint64_t blocks; in xfs_btree_bload() local
769 &avg_per_block, &blocks, &blocks_with_extra); in xfs_btree_bload()
772 for (i = 0; i < blocks; i++) { in xfs_btree_bload()
804 total_blocks += blocks; in xfs_btree_bload()
811 nr_this_level = blocks; in xfs_btree_bload()
819 for (i = 0; i < blocks; i++) { in xfs_btree_bload()
[all …]
/linux/fs/
A Dmpage.c167 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()
302 if (!bdev_read_page(bdev, blocks[0] << (blkbits - 9), in do_mpage_readpage()
324 args->last_block_in_bio = blocks[blocks_per_page - 1]; in do_mpage_readpage()
490 sector_t blocks[MAX_BUF_PER_PAGE]; in __mpage_writepage() local
529 if (bh->b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
532 blocks[page_block++] = bh->b_blocknr; in __mpage_writepage()
573 if (map_bh.b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
576 blocks[page_block++] = map_bh.b_blocknr; in __mpage_writepage()
608 if (bio && mpd->last_block_in_bio != blocks[0] - 1) in __mpage_writepage()
[all …]
/linux/include/crypto/
A Dsm3_base.h19 typedef void (sm3_block_fn)(struct sm3_state *sst, u8 const *src, int blocks);
49 int blocks; in sm3_base_do_update() local
61 blocks = len / SM3_BLOCK_SIZE; in sm3_base_do_update()
64 if (blocks) { in sm3_base_do_update()
65 block_fn(sctx, data, blocks); in sm3_base_do_update()
66 data += blocks * SM3_BLOCK_SIZE; in sm3_base_do_update()
A Dsha1_base.h19 typedef void (sha1_block_fn)(struct sha1_state *sst, u8 const *src, int blocks);
46 int blocks; in sha1_base_do_update() local
58 blocks = len / SHA1_BLOCK_SIZE; in sha1_base_do_update()
61 if (blocks) { in sha1_base_do_update()
62 block_fn(sctx, data, blocks); in sha1_base_do_update()
63 data += blocks * SHA1_BLOCK_SIZE; in sha1_base_do_update()

Completed in 39 milliseconds

12345678910>>...37