Home
last modified time | relevance | path

Searched refs:blocks (Results 26 – 50 of 1207) sorted by relevance

12345678910>>...49

/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vram_mgr.c38 struct list_head blocks; member
262 list_for_each_entry(block, &vres->blocks, link) in amdgpu_vram_mgr_bo_visible_size()
296 list_move(&rsv->blocks, &mgr->reserved_pages); in amdgpu_vram_mgr_do_reserve()
319 INIT_LIST_HEAD(&rsv->blocks); in amdgpu_vram_mgr_reserve_range()
472 INIT_LIST_HEAD(&vres->blocks); in amdgpu_vram_mgr_new()
522 &vres->blocks, in amdgpu_vram_mgr_new()
540 trim_list = &vres->blocks; in amdgpu_vram_mgr_new()
547 if (!list_is_singular(&vres->blocks)) { in amdgpu_vram_mgr_new()
565 list_splice_tail(trim_list, &vres->blocks); in amdgpu_vram_mgr_new()
598 drm_buddy_free_list(mm, &vres->blocks); in amdgpu_vram_mgr_new()
[all …]
/openbmc/linux/drivers/media/i2c/adv748x/
H A Dadv748x-hdmi.c482 if (edid->start_block == 0 && edid->blocks == 0) { in adv748x_hdmi_get_edid()
483 edid->blocks = hdmi->edid.blocks; in adv748x_hdmi_get_edid()
487 if (edid->start_block >= hdmi->edid.blocks) in adv748x_hdmi_get_edid()
490 if (edid->start_block + edid->blocks > hdmi->edid.blocks) in adv748x_hdmi_get_edid()
491 edid->blocks = hdmi->edid.blocks - edid->start_block; in adv748x_hdmi_get_edid()
494 edid->blocks * 128); in adv748x_hdmi_get_edid()
534 if (edid->blocks == 0) { in adv748x_hdmi_set_edid()
535 hdmi->edid.blocks = 0; in adv748x_hdmi_set_edid()
551 if (edid->blocks > 4) { in adv748x_hdmi_set_edid()
552 edid->blocks = 4; in adv748x_hdmi_set_edid()
[all …]
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree_staging.c563 uint64_t *blocks, in xfs_btree_bload_level_geometry() argument
582 *blocks = max(1ULL, *blocks); in xfs_btree_bload_level_geometry()
594 (*blocks)++; in xfs_btree_bload_level_geometry()
601 *avg_per_block, desired_npb, *blocks, in xfs_btree_bload_level_geometry()
751 uint64_t blocks; in xfs_btree_bload() local
767 &avg_per_block, &blocks, &blocks_with_extra); in xfs_btree_bload()
770 for (i = 0; i < blocks; i++) { in xfs_btree_bload()
802 total_blocks += blocks; in xfs_btree_bload()
809 nr_this_level = blocks; in xfs_btree_bload()
817 for (i = 0; i < blocks; i++) { in xfs_btree_bload()
[all …]
/openbmc/linux/arch/arm64/crypto/
H A Dsha3-ce-glue.c31 asmlinkage int sha3_ce_transform(u64 *st, const u8 *data, int blocks,
44 int blocks; in sha3_update() local
59 blocks = len / sctx->rsiz; in sha3_update()
62 while (blocks) { in sha3_update()
66 rem = sha3_ce_transform(sctx->st, data, blocks, in sha3_update()
69 data += (blocks - rem) * sctx->rsiz; in sha3_update()
70 blocks = rem; in sha3_update()
H A Dsha1-ce-glue.c33 int blocks);
36 int blocks) in __sha1_ce_transform() argument
38 while (blocks) { in __sha1_ce_transform()
43 sst), src, blocks); in __sha1_ce_transform()
45 src += (blocks - rem) * SHA1_BLOCK_SIZE; in __sha1_ce_transform()
46 blocks = rem; in __sha1_ce_transform()
H A Dghash-ce-glue.c84 blocks++; in ghash_do_update()
92 } while (--blocks); in ghash_do_update()
101 void (*simd_update)(int blocks, u64 dg[], in ghash_do_simd_update() argument
108 simd_update(blocks, dg, src, key->h, head); in ghash_do_simd_update()
128 int blocks; in ghash_update() local
138 blocks = len / GHASH_BLOCK_SIZE; in ghash_update()
142 int chunk = min(blocks, MAX_BLOCKS); in ghash_update()
148 blocks -= chunk; in ghash_update()
151 } while (unlikely(blocks > 0)); in ghash_update()
283 int blocks = count / GHASH_BLOCK_SIZE; in gcm_update_mac() local
[all …]
/openbmc/linux/include/crypto/
H A Dsha256_base.h19 int blocks);
47 int blocks; in lib_sha256_base_do_update() local
59 blocks = len / SHA256_BLOCK_SIZE; in lib_sha256_base_do_update()
62 if (blocks) { in lib_sha256_base_do_update()
63 block_fn(sctx, data, blocks); in lib_sha256_base_do_update()
64 data += blocks * SHA256_BLOCK_SIZE; in lib_sha256_base_do_update()
H A Dsha512_base.h20 int blocks);
69 int blocks; in sha512_base_do_update() local
81 blocks = len / SHA512_BLOCK_SIZE; in sha512_base_do_update()
84 if (blocks) { in sha512_base_do_update()
85 block_fn(sctx, data, blocks); in sha512_base_do_update()
86 data += blocks * SHA512_BLOCK_SIZE; in sha512_base_do_update()
/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()
/openbmc/linux/fs/
H A Dmpage.c170 sector_t blocks[MAX_BUF_PER_PAGE]; in do_mpage_readpage() local
216 blocks[page_block] = map_bh->b_blocknr + map_offset + in do_mpage_readpage()
317 args->last_block_in_bio = blocks[blocks_per_page - 1]; in do_mpage_readpage()
480 sector_t blocks[MAX_BUF_PER_PAGE]; in __mpage_writepage() local
518 if (bh->b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
521 blocks[page_block++] = bh->b_blocknr; in __mpage_writepage()
570 if (map_bh.b_blocknr != blocks[page_block-1] + 1) in __mpage_writepage()
573 blocks[page_block++] = map_bh.b_blocknr; in __mpage_writepage()
605 if (bio && mpd->last_block_in_bio != blocks[0] - 1) in __mpage_writepage()
613 bio->bi_iter.bi_sector = blocks[0] << (blkbits - 9); in __mpage_writepage()
[all …]
/openbmc/qemu/hw/block/
H A Dtc58128.c59 int ret, blocks; in init_dev() local
75 blocks = DIV_ROUND_UP(ret, 528 * 32); in init_dev()
76 dev->flash_contents[0] = blocks & 0xff; in init_dev()
77 dev->flash_contents[1] = (blocks >> 8) & 0xff; in init_dev()
78 dev->flash_contents[2] = (blocks >> 16) & 0xff; in init_dev()
79 dev->flash_contents[3] = (blocks >> 24) & 0xff; in init_dev()
/openbmc/linux/Documentation/admin-guide/device-mapper/
H 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 …]
H A Dcache.rst90 blocks should remain clean.
187 cache dev fast device holding cached data blocks
188 origin dev slow device holding original data blocks
210 so they may differ from the corresponding origin blocks.
238 <metadata block size> <#used metadata blocks>/<#total metadata blocks>
239 <cache block size> <#used cache blocks>/<#total cache blocks>
249 #used metadata blocks Number of metadata blocks used
250 #total metadata blocks Total number of metadata blocks
253 #used cache blocks Number of blocks resident in the cache
254 #total cache blocks Total number of cache blocks
[all …]
H A Dverity.rst50 The number of data blocks on the data device. Additional blocks are
55 This is the offset, in <hash_block_size>-blocks, from the start of hash_dev
79 Log corrupted blocks, but allow read operations to proceed normally.
98 may be the same device where data and hash blocks reside, in which case
102 on the hash device after the hash blocks.
113 The number of encoding data blocks on the FEC device. The block size for
117 This is the offset, in <data_block_size> blocks, from the start of the
128 since verification of hash blocks is less performance critical than data
130 blocks it covers have been verified anyway.
204 It only reads the hash blocks which directly follow the header.
[all …]
/openbmc/linux/fs/ext4/
H A Dext4_jbd2.h265 unsigned int line, int type, int blocks,
294 int blocks) in ext4_free_metadata_revoke_credits() argument
297 return blocks * EXT4_SB(sb)->s_cluster_ratio; in ext4_free_metadata_revoke_credits()
313 #define ext4_journal_start_with_reserve(inode, type, blocks, rsv_blocks)\ argument
314 __ext4_journal_start((inode), __LINE__, (type), (blocks), (rsv_blocks),\
317 #define ext4_journal_start_with_revoke(inode, type, blocks, revoke_creds) \ argument
318 __ext4_journal_start((inode), __LINE__, (type), (blocks), 0, \
323 int blocks, int rsv_blocks, in __ext4_journal_start() argument
326 return __ext4_journal_start_sb(inode, inode->i_sb, line, type, blocks, in __ext4_journal_start()
478 static inline int ext4_free_data_revoke_credits(struct inode *inode, int blocks) in ext4_free_data_revoke_credits() argument
[all …]
/openbmc/linux/drivers/mmc/core/
H A Dsdio_ops.c115 unsigned addr, int incr_addr, u8 *buf, unsigned blocks, unsigned blksz) in mmc_io_rw_extended() argument
140 if (blocks == 0) in mmc_io_rw_extended()
143 cmd.arg |= 0x08000000 | blocks; /* block mode */ in mmc_io_rw_extended()
148 data.blocks = blocks ? blocks : 1; in mmc_io_rw_extended()
151 left_size = data.blksz * data.blocks; in mmc_io_rw_extended()
/openbmc/u-boot/drivers/scsi/
H A Dscsi.c57 unsigned long blocks) in scsi_setup_read16() argument
73 pccb->cmd[14] = (unsigned char)blocks & 0xff; in scsi_setup_read16()
86 unsigned short blocks) in scsi_setup_read_ext() argument
96 pccb->cmd[8] = (unsigned char)blocks & 0xff; in scsi_setup_read_ext()
107 unsigned short blocks) in scsi_setup_write_ext() argument
117 pccb->cmd[8] = (unsigned char)blocks & 0xff; in scsi_setup_write_ext()
175 unsigned long blocks; in scsi_read() local
177 pccb->datalen = block_dev->blksz * blocks; in scsi_read()
178 scsi_setup_read16(pccb, start, blocks); in scsi_read()
179 start += blocks; in scsi_read()
[all …]
/openbmc/linux/arch/arm/crypto/
H A Daes-ce-glue.c30 int rounds, int blocks);
32 int rounds, int blocks);
35 int rounds, int blocks, u8 iv[]);
37 int rounds, int blocks, u8 iv[]);
172 unsigned int blocks; in ecb_encrypt() local
192 unsigned int blocks; in ecb_decrypt() local
212 unsigned int blocks; in cbc_encrypt_walk() local
242 unsigned int blocks; in cbc_decrypt_walk() local
388 int err, blocks; in ctr_encrypt() local
409 blocks = -1; in ctr_encrypt()
[all …]
H A Dblake2b-neon-glue.c30 const size_t blocks = min_t(size_t, nblocks, in blake2b_compress_arch() local
34 blake2b_compress_neon(state, block, blocks, inc); in blake2b_compress_arch()
37 nblocks -= blocks; in blake2b_compress_arch()
38 block += blocks * BLAKE2B_BLOCK_SIZE; in blake2b_compress_arch()
/openbmc/linux/drivers/iio/buffer/
H A Dindustrialio-buffer-dma.c307 for (i = 0; i < ARRAY_SIZE(queue->fileio.blocks); i++) { in iio_dma_buffer_request_update()
308 block = queue->fileio.blocks[i]; in iio_dma_buffer_request_update()
325 for (i = 0; i < ARRAY_SIZE(queue->fileio.blocks); i++) { in iio_dma_buffer_request_update()
326 if (queue->fileio.blocks[i]) { in iio_dma_buffer_request_update()
327 block = queue->fileio.blocks[i]; in iio_dma_buffer_request_update()
345 queue->fileio.blocks[i] = block; in iio_dma_buffer_request_update()
644 if (!queue->fileio.blocks[i]) in iio_dma_buffer_exit()
646 queue->fileio.blocks[i]->state = IIO_BLOCK_STATE_DEAD; in iio_dma_buffer_exit()
654 if (!queue->fileio.blocks[i]) in iio_dma_buffer_exit()
656 iio_buffer_block_put(queue->fileio.blocks[i]); in iio_dma_buffer_exit()
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dnilfs2.rst67 blocks to be written to disk without making a
70 filesystem except for the updates on data blocks still
75 blocks. That means, it is guaranteed that no
84 block device when blocks are freed. This is useful
125 due to redundant move of in-use blocks.
194 blocks, and an optional super root block (SR)::
209 | Summary | Payload blocks |SR|
213 data blocks and B-tree node blocks::
217 | Data blocks | B-tree blocks | Data blocks | B-tree blocks | ...
221 Since only the modified blocks are written in the log, it may have
[all …]
/openbmc/linux/block/partitions/
H A Dsgi.c41 unsigned int start, blocks; in sgi_partition() local
75 blocks = be32_to_cpu(p->num_blocks); in sgi_partition()
77 if (blocks) { in sgi_partition()
78 put_partition(state, slot, start, blocks); in sgi_partition()
/openbmc/linux/Documentation/filesystems/ext4/
H A Dbigalloc.rst10 it is desirable to be able to allocate disk blocks in units of multiple
11 blocks to reduce both fragmentation and metadata overhead. The
16 bitmap addresses a power of two number of blocks. For example, if the
20 256 4k blocks. This shrinks the total size of the block allocation
27 on, the block bitmaps track clusters, not individual blocks. This means
31 units of clusters instead of blocks” to the extent tree, though it is
H A Dblocks.rst6 ext4 allocates storage space in units of “blocks”. A block is a group of
11 page size (i.e. 64KiB blocks on a i386 which only has 4KiB memory
12 pages). By default a filesystem can contain 2^32 blocks; if the '64bit'
13 feature is enabled, then a filesystem can have 2^64 blocks. The location
142 placed within the first 2^32 blocks of a filesystem. Files with extents
143 must be placed within the first 2^48 blocks of a filesystem. It's not
/openbmc/linux/drivers/usb/storage/
H A Djumpshot.c478 unsigned long block, blocks; in jumpshot_transport() local
533 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
536 block, blocks); in jumpshot_transport()
537 return jumpshot_read_data(us, info, block, blocks); in jumpshot_transport()
550 block, blocks); in jumpshot_transport()
551 return jumpshot_read_data(us, info, block, blocks); in jumpshot_transport()
558 blocks = ((u32)(srb->cmnd[7]) << 8) | ((u32)(srb->cmnd[8])); in jumpshot_transport()
561 block, blocks); in jumpshot_transport()
562 return jumpshot_write_data(us, info, block, blocks); in jumpshot_transport()
575 block, blocks); in jumpshot_transport()
[all …]

12345678910>>...49