/linux-6.14.4/fs/hfsplus/ |
D | wrapper.c | 167 u32 blocksize; in hfsplus_read_wrapper() local 171 blocksize = sb_min_blocksize(sb, HFSPLUS_SECTOR_SIZE); in hfsplus_read_wrapper() 172 if (!blocksize) in hfsplus_read_wrapper() 175 sbi->min_io_size = blocksize; in hfsplus_read_wrapper() 233 blocksize = be32_to_cpu(sbi->s_vhdr->blocksize); in hfsplus_read_wrapper() 238 if (blocksize < HFSPLUS_SECTOR_SIZE || ((blocksize - 1) & blocksize)) in hfsplus_read_wrapper() 240 sbi->alloc_blksz = blocksize; in hfsplus_read_wrapper() 241 sbi->alloc_blksz_shift = ilog2(blocksize); in hfsplus_read_wrapper() 242 blocksize = min_t(u32, sbi->alloc_blksz, PAGE_SIZE); in hfsplus_read_wrapper() 247 while (part_start & ((blocksize >> HFSPLUS_SECTOR_SHIFT) - 1)) in hfsplus_read_wrapper() [all …]
|
/linux-6.14.4/block/partitions/ |
D | ibm.c | 108 int blocksize, in find_label() argument 132 testsect[0] = info->label_block * (blocksize >> 9); in find_label() 136 testsect[1] = (blocksize >> 9); in find_label() 137 testsect[2] = 2 * (blocksize >> 9); in find_label() 170 int blocksize, in find_vol1_partitions() argument 189 secperblk = blocksize >> 9; in find_vol1_partitions() 232 int blocksize, in find_lnx1_partitions() argument 245 secperblk = blocksize >> 9; in find_lnx1_partitions() 279 int blocksize, in find_cms1_partitions() argument 291 blocksize = label->cms.block_size; in find_cms1_partitions() [all …]
|
/linux-6.14.4/fs/nilfs2/ |
D | the_nilfs.c | 200 * @blocksize: place to store block size 203 * exponent information written in @sbp and stores it in @blocksize, 209 struct nilfs_super_block *sbp, int *blocksize) in nilfs_get_blocksize() argument 215 nilfs_err(sb, "too large filesystem blocksize: 2 ^ %u KiB", in nilfs_get_blocksize() 219 *blocksize = BLOCK_SIZE << shift_bits; in nilfs_get_blocksize() 262 int blocksize; in load_nilfs() local 283 err = nilfs_get_blocksize(sb, sbp[0], &blocksize); in load_nilfs() 287 if (blocksize != nilfs->ns_blocksize) { in load_nilfs() 289 "blocksize differs between two super blocks (%d != %d)", in load_nilfs() 290 blocksize, nilfs->ns_blocksize); in load_nilfs() [all …]
|
/linux-6.14.4/include/crypto/ |
D | ctr.h | 25 int blocksize = crypto_skcipher_chunksize(tfm); in crypto_ctr_encrypt_walk() local 30 /* avoid integer division due to variable blocksize parameter */ in crypto_ctr_encrypt_walk() 31 if (WARN_ON_ONCE(!is_power_of_2(blocksize))) in crypto_ctr_encrypt_walk() 43 tail = walk.nbytes & (blocksize - 1); in crypto_ctr_encrypt_walk() 48 int bsize = min(nbytes, blocksize); in crypto_ctr_encrypt_walk() 53 crypto_inc(walk.iv, blocksize); in crypto_ctr_encrypt_walk()
|
/linux-6.14.4/fs/affs/ |
D | super.c | 173 int blocksize; /* Initial device blksize */ member 215 pr_warn("Invalid blocksize (512, 1024, 2048, 4096 allowed)\n"); in affs_parse_param() 218 ctx->blocksize = n; in affs_parse_param() 314 int size, blocksize; in affs_fill_super() local 358 pr_debug("initial blocksize=%d, #blocks=%d\n", 512, size); in affs_fill_super() 365 blocksize = ctx->blocksize; in affs_fill_super() 366 if (blocksize > 0) { in affs_fill_super() 367 i = j = blocksize; in affs_fill_super() 368 size = size / (blocksize / 512); in affs_fill_super() 371 for (blocksize = i; blocksize <= j; blocksize <<= 1, size >>= 1) { in affs_fill_super() [all …]
|
/linux-6.14.4/drivers/mtd/parsers/ |
D | bcm47xxpart.c | 95 uint32_t blocksize = master->erasesize; in bcm47xxpart_parse() local 105 if (blocksize < 0x1000) in bcm47xxpart_parse() 106 blocksize = 0x1000; in bcm47xxpart_parse() 121 for (offset = 0; offset <= master->size - blocksize; in bcm47xxpart_parse() 122 offset += blocksize) { in bcm47xxpart_parse() 206 trx_size = max(trx->length, last_subpart + blocksize); in bcm47xxpart_parse() 212 offset += roundup(trx_size, blocksize) - blocksize; in bcm47xxpart_parse() 228 if (offset != master->size - blocksize && in bcm47xxpart_parse() 236 err = mtd_read(master, offset + (blocksize / 2), 0x4, &bytes_read, in bcm47xxpart_parse() 240 offset + (blocksize / 2), err); in bcm47xxpart_parse() [all …]
|
/linux-6.14.4/sound/pci/emu10k1/ |
D | emu10k1_patch.c | 33 int truesize, size, blocksize; in snd_emu10k1_sample_new() local 99 blocksize = truesize << shift; in snd_emu10k1_sample_new() 100 sp->block = snd_emu10k1_synth_alloc(emu, blocksize); in snd_emu10k1_sample_new() 103 "synth malloc failed (size=%d)\n", blocksize); in snd_emu10k1_sample_new() 108 sp->v.truesize = blocksize; in snd_emu10k1_sample_new() 140 if (offset < blocksize) in snd_emu10k1_sample_new() 141 snd_emu10k1_synth_memset(emu, sp->block, offset, blocksize - offset, fill); in snd_emu10k1_sample_new()
|
/linux-6.14.4/drivers/crypto/qce/ |
D | sha.c | 193 unsigned int blocksize; in qce_ahash_update() local 195 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update() 201 if (total <= blocksize) { in qce_ahash_update() 220 hash_later = total % blocksize; in qce_ahash_update() 238 hash_later = blocksize; in qce_ahash_update() 246 /* here nbytes is multiple of blocksize */ in qce_ahash_update() 337 unsigned int blocksize; in qce_ahash_hmac_setkey() local 343 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey() 346 if (keylen <= blocksize) { in qce_ahash_hmac_setkey() 408 unsigned int blocksize; member [all …]
|
D | skcipher.c | 262 unsigned int blocksize = crypto_skcipher_blocksize(tfm); in qce_skcipher_crypt() local 279 if (!IS_ALIGNED(req->cryptlen, blocksize)) in qce_skcipher_crypt() 353 unsigned int blocksize; member 365 .blocksize = AES_BLOCK_SIZE, 374 .blocksize = AES_BLOCK_SIZE, 383 .blocksize = 1, 393 .blocksize = AES_BLOCK_SIZE, 402 .blocksize = DES_BLOCK_SIZE, 411 .blocksize = DES_BLOCK_SIZE, 420 .blocksize = DES3_EDE_BLOCK_SIZE, [all …]
|
/linux-6.14.4/drivers/gpu/drm/vmwgfx/ |
D | vmw_surface_cache.h | 81 desc->blockSize.width); in vmw_surface_get_size_in_blocks() 83 desc->blockSize.height); in vmw_surface_get_size_in_blocks() 85 desc->blockSize.depth); in vmw_surface_get_size_in_blocks() 203 const u32 bw = desc->blockSize.width, bh = desc->blockSize.height; in vmw_surface_get_pixel_offset() 204 const u32 bd = desc->blockSize.depth; in vmw_surface_get_pixel_offset() 406 desc->blockSize.width) * in vmw_surface_setup_cache() 413 desc->blockSize.height) * in vmw_surface_setup_cache() 462 loc->z *= desc->blockSize.depth; in vmw_surface_get_loc() 465 loc->y *= desc->blockSize.height; in vmw_surface_get_loc() 467 loc->x *= desc->blockSize.width; in vmw_surface_get_loc() [all …]
|
/linux-6.14.4/fs/ocfs2/ |
D | ocfs2_fs.h | 28 * blocksize of 2K, it is 4096 bytes into disk. 40 * Blocks cannot be bigger than clusters, so the maximum blocksize is the 412 on the blocksize. OCFS2's maximum 413 blocksize, 4K, requires 16 parity bits, 533 * 255 * sizeof(__le16) == 512B, within the 512B block minimum blocksize. 599 __le32 s_blocksize_bits; /* Blocksize for this fs */ 624 * our smallest blocksize, which is 512 bytes. To ensure this, 626 * will not be available on the smallest blocksize. 1230 static inline struct ocfs2_disk_dqtrailer *ocfs2_block_dqtrailer(int blocksize, in ocfs2_block_dqtrailer() argument 1234 ptr += blocksize - OCFS2_QBLK_RESERVED_SPACE; in ocfs2_block_dqtrailer() [all …]
|
D | blockcheck.c | 144 u32 ocfs2_hamming_encode_block(void *data, unsigned int blocksize) in ocfs2_hamming_encode_block() argument 146 return ocfs2_hamming_encode(0, data, blocksize * 8, 0); in ocfs2_hamming_encode_block() 212 void ocfs2_hamming_fix_block(void *data, unsigned int blocksize, in ocfs2_hamming_fix_block() argument 215 ocfs2_hamming_fix(data, blocksize * 8, 0, fix); in ocfs2_hamming_fix_block() 349 void ocfs2_block_check_compute(void *data, size_t blocksize, in ocfs2_block_check_compute() argument 357 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute() 358 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_compute() 378 int ocfs2_block_check_validate(void *data, size_t blocksize, in ocfs2_block_check_validate() argument 395 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 405 ecc = ocfs2_hamming_encode_block(data, blocksize); in ocfs2_block_check_validate() [all …]
|
D | blockcheck.h | 42 void ocfs2_block_check_compute(void *data, size_t blocksize, 44 int ocfs2_block_check_validate(void *data, size_t blocksize, 91 extern u32 ocfs2_hamming_encode_block(void *data, unsigned int blocksize); 92 extern void ocfs2_hamming_fix_block(void *data, unsigned int blocksize,
|
/linux-6.14.4/net/sunrpc/auth_gss/ |
D | gss_krb5_keys.c | 154 size_t blocksize, keybytes, keylength, n; in krb5_DK() local 169 blocksize = crypto_sync_skcipher_blocksize(cipher); in krb5_DK() 174 inblockdata = kmalloc(blocksize, gfp_mask); in krb5_DK() 178 outblockdata = kmalloc(blocksize, gfp_mask); in krb5_DK() 183 inblock.len = blocksize; in krb5_DK() 186 outblock.len = blocksize; in krb5_DK() 376 unsigned int blocksize, offset; in krb5_kdf_feedback_cmac() local 395 blocksize = crypto_shash_digestsize(tfm); in krb5_kdf_feedback_cmac() 396 n = (outkey->len + blocksize - 1) / blocksize; in krb5_kdf_feedback_cmac() 400 step.len = blocksize; in krb5_kdf_feedback_cmac() [all …]
|
/linux-6.14.4/drivers/ssb/ |
D | driver_chipcommon_sflash.c | 28 u32 blocksize; member 149 sflash->blocksize = e->blocksize; in ssb_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in ssb_sflash_init() 154 pr_info("Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n", in ssb_sflash_init() 155 e->name, sflash->size / 1024, e->blocksize, e->numblocks); in ssb_sflash_init()
|
/linux-6.14.4/drivers/bcma/ |
D | driver_chipcommon_sflash.c | 29 u32 blocksize; member 149 sflash->blocksize = e->blocksize; in bcma_sflash_init() 151 sflash->size = sflash->blocksize * sflash->numblocks; in bcma_sflash_init() 154 bcma_info(bus, "Found %s serial flash (size: %dKiB, blocksize: 0x%X, blocks: %d)\n", in bcma_sflash_init() 155 e->name, sflash->size / 1024, sflash->blocksize, in bcma_sflash_init()
|
/linux-6.14.4/arch/s390/crypto/ |
D | hmac_s390.c | 20 * blocksize of the used hashing sha2-algorithm function codes. The param block 23 * these are calculated based on the blocksize. 37 * cv | 224/256 | blocksize/2 | 32 | u64[8] 39 * imbl | 224/256 | blocksize/8 | 8 | u64 41 * key | 224/256 | blocksize | 64 | u8[64] 79 * kmac_sha2_set_imbl - sets the input message bit-length based on the blocksize 82 unsigned int blocksize) in kmac_sha2_set_imbl() argument 84 u8 *imbl = param + SHA2_IMBL_OFFSET(blocksize); in kmac_sha2_set_imbl() 86 switch (blocksize) { in kmac_sha2_set_imbl()
|
/linux-6.14.4/fs/ext4/ |
D | namei.c | 315 int count, unsigned int blocksize); 317 unsigned int blocksize); 332 unsigned int blocksize) in ext4_initialize_dirent_tail() argument 334 struct ext4_dir_entry_tail *t = EXT4_DIRENT_TAIL(bh->b_data, blocksize); in ext4_initialize_dirent_tail() 338 sizeof(struct ext4_dir_entry_tail), blocksize); in ext4_initialize_dirent_tail() 347 int blocksize = EXT4_BLOCK_SIZE(inode->i_sb); in get_dirent_tail() local 354 (blocksize - sizeof(struct ext4_dir_entry_tail))); in get_dirent_tail() 355 while (d < top && ext4_rec_len_from_disk(d->rec_len, blocksize)) in get_dirent_tail() 357 ext4_rec_len_from_disk(d->rec_len, blocksize)); in get_dirent_tail() 368 (ext4_rec_len_from_disk(t->det_rec_len, blocksize) != in get_dirent_tail() [all …]
|
D | move_extent.c | 173 unsigned int blocksize, block_start, block_end; in mext_page_mkuptodate() local 183 blocksize = i_blocksize(inode); in mext_page_mkuptodate() 186 head = create_empty_buffers(folio, blocksize, 0); in mext_page_mkuptodate() 193 block_end = block_start + blocksize; in mext_page_mkuptodate() 206 folio_zero_range(folio, block_start, blocksize); in mext_page_mkuptodate() 226 if (bh_offset(bh) + blocksize <= from) in mext_page_mkuptodate() 268 unsigned long blocksize = orig_inode->i_sb->s_blocksize; in move_extent_per_page() local 300 tmp_data_size = orig_inode->i_size & (blocksize - 1); in move_extent_per_page() 303 * blocksize. So we set appropriate value. in move_extent_per_page() 306 tmp_data_size = blocksize; in move_extent_per_page() [all …]
|
/linux-6.14.4/drivers/crypto/marvell/cesa/ |
D | hash.c | 846 unsigned int blocksize; in mv_cesa_ahash_export() local 848 blocksize = crypto_ahash_blocksize(ahash); in mv_cesa_ahash_export() 852 memset(cache, 0, blocksize); in mv_cesa_ahash_export() 864 unsigned int blocksize; in mv_cesa_ahash_import() local 872 blocksize = crypto_ahash_blocksize(ahash); in mv_cesa_ahash_import() 873 if (len >= blocksize) in mv_cesa_ahash_import() 882 cache_ptr = do_div(len, blocksize); in mv_cesa_ahash_import() 1108 void *state, unsigned int blocksize) in mv_cesa_ahmac_iv_state_init() argument 1116 sg_init_one(&sg, pad, blocksize); in mv_cesa_ahmac_iv_state_init() 1117 ahash_request_set_crypt(req, &sg, pad, blocksize); in mv_cesa_ahmac_iv_state_init() [all …]
|
/linux-6.14.4/fs/ |
D | buffer.c | 232 "device %pg blocksize: %d\n", in __find_get_block_slow() 657 sector_t bblock, unsigned blocksize) in write_boundary_block() argument 659 struct buffer_head *bh = __find_get_block(bdev, bblock + 1, blocksize); in write_boundary_block() 1657 unsigned long blocksize, unsigned long b_state) in create_empty_buffers() argument 1662 head = folio_alloc_buffers(folio, blocksize, gfp); in create_empty_buffers() 1814 size_t blocksize; in __block_write_full_folio() local 1832 blocksize = bh->b_size; in __block_write_full_folio() 1834 block = div_u64(folio_pos(folio), blocksize); in __block_write_full_folio() 1835 last_block = div_u64(i_size_read(inode) - 1, blocksize); in __block_write_full_folio() 1855 WARN_ON(bh->b_size != blocksize); in __block_write_full_folio() [all …]
|
/linux-6.14.4/drivers/crypto/ccree/ |
D | cc_cipher.c | 1007 .blocksize = 1, 1025 .blocksize = AES_BLOCK_SIZE, 1043 .blocksize = AES_BLOCK_SIZE, 1061 .blocksize = AES_BLOCK_SIZE, 1079 .blocksize = AES_BLOCK_SIZE, 1097 .blocksize = 1, 1119 .blocksize = 1, 1136 .blocksize = AES_BLOCK_SIZE, 1153 .blocksize = AES_BLOCK_SIZE, 1170 .blocksize = AES_BLOCK_SIZE, [all …]
|
/linux-6.14.4/fs/befs/ |
D | super.c | 71 * Check blocksize of BEFS. in befs_check_sb() 73 * Blocksize of BEFS is 1024, 2048, 4096 or 8192. in befs_check_sb() 80 befs_error(sb, "invalid blocksize: %u", befs_sb->block_size); in befs_check_sb() 85 befs_error(sb, "blocksize(%u) cannot be larger " in befs_check_sb()
|
/linux-6.14.4/drivers/usb/storage/ |
D | alauda.c | 88 unsigned int blocksize; /* number of pages per block */ member 434 MEDIA_INFO(us).blocksize = 1 << media_info->blockshift; in alauda_init_media() 438 MEDIA_INFO(us).blockmask = MEDIA_INFO(us).blocksize - 1; in alauda_init_media() 780 * (pagesize+64)*blocksize bytes in length. 799 (MEDIA_INFO(us).pagesize + 64) * MEDIA_INFO(us).blocksize, in alauda_write_block() 821 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_write_lba() local 849 blocksize, blockbuffer); in alauda_write_lba() 853 memset(blockbuffer, 0, blocksize * (pagesize + 64)); in alauda_write_lba() 861 for (i = 0; i < blocksize; i++) { in alauda_write_lba() 924 unsigned int blocksize = MEDIA_INFO(us).blocksize; in alauda_read_data() local [all …]
|
/linux-6.14.4/drivers/crypto/ccp/ |
D | ccp-crypto-aes.c | 245 unsigned int blocksize; member 256 .blocksize = AES_BLOCK_SIZE, 265 .blocksize = AES_BLOCK_SIZE, 274 .blocksize = 1, 283 .blocksize = 1, 310 alg->base.cra_blocksize = def->blocksize; in ccp_register_aes_alg()
|