Home
last modified time | relevance | path

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

12345678910>>...36

/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
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) | …
/kernel/linux/linux-5.10/crypto/
Daegis128-core.c32 union aegis_block blocks[AEGIS128_STATE_BLOCKS]; member
79 tmp = state->blocks[AEGIS128_STATE_BLOCKS - 1]; in crypto_aegis128_update()
81 crypto_aegis_aesenc(&state->blocks[i], &state->blocks[i - 1], in crypto_aegis128_update()
82 &state->blocks[i]); in crypto_aegis128_update()
83 crypto_aegis_aesenc(&state->blocks[0], &tmp, &state->blocks[0]); in crypto_aegis128_update()
95 crypto_aegis_block_xor(&state->blocks[0], msg); in crypto_aegis128_update_a()
106 crypto_xor(state->blocks[0].bytes, msg, AEGIS_BLOCK_SIZE); in crypto_aegis128_update_u()
119 state->blocks[0] = key_iv; in crypto_aegis128_init()
120 state->blocks[1] = crypto_aegis_const[1]; in crypto_aegis128_init()
121 state->blocks[2] = crypto_aegis_const[0]; in crypto_aegis128_init()
[all …]
/kernel/linux/linux-5.10/crypto/async_tx/
Dasync_pq.c107 do_sync_gen_syndrome(struct page **blocks, unsigned int *offsets, 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]) + offsets[i]; in do_sync_gen_syndrome()
177 async_gen_syndrome(struct page **blocks, unsigned int *offsets, int disks, in async_gen_syndrome() argument
182 &P(blocks, disks), 2, in async_gen_syndrome()
183 blocks, src_cnt, len); in async_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()
213 unmap->addr[j] = dma_map_page(device->dev, blocks[i], in async_gen_syndrome()
[all …]
Dasync_raid6_recov.c154 struct page **blocks, unsigned int *offs, in __2data_recov_4() argument
168 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()
204 struct page **blocks, unsigned int *offs, in __2data_recov_5() argument
222 if (blocks[i] == NULL) in __2data_recov_5()
231 p = blocks[disks-2]; in __2data_recov_5()
233 q = blocks[disks-1]; in __2data_recov_5()
235 g = blocks[good]; in __2data_recov_5()
[all …]
/kernel/linux/linux-5.10/arch/arm64/crypto/
Daes-neonbs-glue.c29 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 …]
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()
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()
Daes-glue.c75 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,
179 unsigned int blocks; in ecb_encrypt() local
183 while ((blocks = (walk.nbytes / AES_BLOCK_SIZE))) { in ecb_encrypt()
[all …]
Dghash-ce-glue.c49 asmlinkage void pmull_ghash_update_p64(int blocks, u64 dg[], const char *src,
52 asmlinkage void pmull_ghash_update_p8(int blocks, u64 dg[], const char *src,
71 static void ghash_do_update(int blocks, u64 dg[], const char *src, in ghash_do_update() argument
81 blocks++; in ghash_do_update()
89 } while (--blocks); in ghash_do_update()
96 void ghash_do_simd_update(int blocks, u64 dg[], const char *src, in ghash_do_simd_update() argument
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()
108 ghash_do_update(blocks, dg, src, key, head); in ghash_do_simd_update()
125 int blocks; in ghash_update() local
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Drfd_ftl.c88 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 …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-edid.rst60 ``start_block``, ``blocks`` and ``edid`` fields, zero the ``reserved``
62 ``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
70 If blocks have to be retrieved from the sink, then this call will block
73 If ``start_block`` and ``blocks`` are both set to 0 when
74 :ref:`VIDIOC_G_EDID <VIDIOC_G_EDID>` is called, then the driver will set ``blocks`` to the
75 total number of available EDID blocks and it will return 0 without
76 copying any data. This is an easy way to discover how many EDID blocks
[all …]
/kernel/linux/linux-5.10/arch/arm/crypto/
Daes-neonbs-glue.c29 int rounds, int blocks);
31 int rounds, int blocks);
34 int rounds, int blocks, u8 iv[]);
37 int rounds, int blocks, u8 ctr[], u8 final[]);
40 int rounds, int blocks, u8 iv[], int);
42 int rounds, int blocks, u8 iv[], int);
87 int rounds, int blocks)) in __ecb_crypt() argument
97 unsigned int blocks = walk.nbytes / AES_BLOCK_SIZE; in __ecb_crypt() local
100 blocks = round_down(blocks, in __ecb_crypt()
105 ctx->rounds, blocks); in __ecb_crypt()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_memory_region.c35 struct list_head *blocks) in intel_memory_region_free_pages() argument
40 list_for_each_entry_safe(block, on, blocks, link) { in intel_memory_region_free_pages()
44 INIT_LIST_HEAD(blocks); in intel_memory_region_free_pages()
51 struct list_head *blocks) in __intel_memory_region_put_pages_buddy() argument
54 mem->avail += intel_memory_region_free_pages(mem, blocks); in __intel_memory_region_put_pages_buddy()
61 struct list_head blocks; in __intel_memory_region_put_block_buddy() local
63 INIT_LIST_HEAD(&blocks); in __intel_memory_region_put_block_buddy()
64 list_add(&block->link, &blocks); in __intel_memory_region_put_block_buddy()
65 __intel_memory_region_put_pages_buddy(block->private, &blocks); in __intel_memory_region_put_block_buddy()
72 struct list_head *blocks) in __intel_memory_region_get_pages_buddy() argument
[all …]
/kernel/linux/linux-5.10/arch/m68k/emu/
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
87 geo->cylinders = dev->blocks >> (6 - dev->bshift); in nfhd_getgeo()
100 static int __init nfhd_init_one(int id, u32 blocks, u32 bsize) in nfhd_init_one() argument
106 blocks, bsize); in nfhd_init_one()
118 dev->blocks = blocks; in nfhd_init_one()
137 set_capacity(dev->disk, (sector_t)blocks * (bsize / 512)); in nfhd_init_one()
156 u32 blocks, bsize; in nfhd_init() local
174 if (nfhd_get_capacity(i, 0, &blocks, &bsize)) in nfhd_init()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/
Di915_buddy.c112 struct list_head *blocks, in igt_check_blocks() argument
125 list_for_each_entry(block, blocks, link) { in igt_check_blocks()
328 LIST_HEAD(blocks); in igt_buddy_alloc_smoke()
364 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_smoke()
381 err = igt_check_blocks(&mm, &blocks, total, false); in igt_buddy_alloc_smoke()
383 i915_buddy_free_list(&mm, &blocks); in igt_buddy_alloc_smoke()
413 LIST_HEAD(blocks); in igt_buddy_alloc_pessimistic()
438 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic()
448 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic()
456 list_add_tail(&block->link, &blocks); in igt_buddy_alloc_pessimistic()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sifive/
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
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
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::
/kernel/linux/linux-5.10/drivers/mfd/
Dstmpe.c39 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 …]
/kernel/linux/linux-5.10/arch/x86/crypto/
Dblake2s-glue.c42 const size_t blocks = min_t(size_t, nblocks, in blake2s_compress() local
48 blake2s_compress_avx512(state, block, blocks, inc); in blake2s_compress()
50 blake2s_compress_ssse3(state, block, blocks, inc); in blake2s_compress()
53 nblocks -= blocks; in blake2s_compress()
54 block += blocks * BLAKE2S_BLOCK_SIZE; in blake2s_compress()
/kernel/linux/linux-5.10/Documentation/filesystems/
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.
63 to 16 * 256 * 256 = 1048576 blocks that can be addressed by such a tree).
66 indirect addressing blocks or inodes.
75 information (total number of filesystem blocks) or by taking the highest
86 The inode structure contains pointers to the filesystem blocks which contain
90 size, number of blocks used, access time, change time and modification time.
[all …]
/kernel/linux/linux-5.10/include/crypto/
Dsha256_base.h19 int blocks);
48 int blocks; in sha256_base_do_update() local
60 blocks = len / SHA256_BLOCK_SIZE; in sha256_base_do_update()
63 if (blocks) { in sha256_base_do_update()
64 block_fn(sctx, data, blocks); in sha256_base_do_update()
65 data += blocks * SHA256_BLOCK_SIZE; in sha256_base_do_update()
Dsm3_base.h18 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()
Dsha1_base.h18 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()
/kernel/linux/linux-5.10/drivers/media/i2c/adv748x/
Dadv748x-hdmi.c471 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 …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree_staging.c566 uint64_t *blocks, in xfs_btree_bload_level_geometry() argument
584 *blocks = div64_u64_rem(nr_this_level, desired_npb, &dontcare); in xfs_btree_bload_level_geometry()
585 *blocks = max(1ULL, *blocks); in xfs_btree_bload_level_geometry()
595 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry()
597 (*blocks)++; in xfs_btree_bload_level_geometry()
598 npb = div64_u64_rem(nr_this_level, *blocks, blocks_with_extra); in xfs_btree_bload_level_geometry()
604 *avg_per_block, desired_npb, *blocks, in xfs_btree_bload_level_geometry()
752 uint64_t blocks; in xfs_btree_bload() local
768 &avg_per_block, &blocks, &blocks_with_extra); in xfs_btree_bload()
771 for (i = 0; i < blocks; i++) { in xfs_btree_bload()
[all …]

12345678910>>...36