/linux-master/drivers/crypto/qce/ |
H A D | common.c | 155 unsigned int blocksize = crypto_tfm_alg_blocksize(async_req->tfm); local 162 if (!rctx->last_blk && req->nbytes % blocksize)
|
/linux-master/fs/ |
H A D | mpage.c | 164 const unsigned blocksize = 1 << blkbits; local 193 last_block_in_file = (i_size_read(inode) + blocksize - 1) >> blkbits; 346 * the end-of-file on blocksize < PAGE_SIZE setups.
|
H A D | dax.c | 1409 unsigned int blocksize = i_blocksize(inode); local 1410 unsigned int off = pos & (blocksize - 1); 1415 return dax_zero_range(inode, pos, blocksize - off, did_zero, ops);
|
/linux-master/drivers/s390/block/ |
H A D | dasd_diag.c | 94 /* Initialize block I/O to DIAG device using the specified blocksize and 99 mdsk_init_io(struct dasd_device *device, unsigned int blocksize, argument 109 iib->block_size = blocksize; 385 /* figure out blocksize of device */ 437 /* get formatted blocksize from label block */
|
/linux-master/fs/bcachefs/ |
H A D | ec.c | 1658 s->nr_data, s->nr_parity, h->blocksize); 1690 h->blocksize = pick_blocksize(c, &h->devs); 1693 if (ca->mi.bucket_size == h->blocksize) 1873 m->sectors == head->blocksize && 1915 ret = ec_stripe_buf_init(&h->s->existing_stripe, 0, h->blocksize); 1921 BUG_ON(h->s->existing_stripe.size != h->blocksize); 1961 h->blocksize, 2081 ret = ec_stripe_buf_init(&h->s->new_stripe, 0, h->blocksize);
|
/linux-master/fs/befs/ |
H A D | linuxvfs.c | 814 int blocksize; local 837 * Set dummy blocksize to read super block. 838 * Will be set to real fs blocksize later. 844 blocksize = sb_min_blocksize(sb, 1024); 845 if (!blocksize) { 847 befs_error(sb, "unable to set blocksize"); 889 /* Set real blocksize of fs */
|
/linux-master/fs/ntfs3/ |
H A D | file.c | 182 u32 blocksize = i_blocksize(inode); local 207 head = create_empty_buffers(folio, blocksize, 0); 212 bh_next = bh_off + blocksize;
|
/linux-master/fs/btrfs/ |
H A D | inode.c | 913 u64 blocksize = fs_info->sectorsize; local 970 * Skip compression for a small file range(<=blocksize) that 973 if (total_compressed <= blocksize && 982 if (blocksize < PAGE_SIZE) { 984 !PAGE_ALIGNED(round_up(actual_end, blocksize))) 1055 total_compressed = ALIGN(total_compressed, blocksize); 1063 if (total_compressed + blocksize > total_in) 1341 u64 blocksize = fs_info->sectorsize; local 1354 num_bytes = ALIGN(end - start + 1, blocksize); 1355 num_bytes = max(blocksize, num_byte 4721 u32 blocksize = fs_info->sectorsize; local 8606 u32 blocksize = btrfs_sb(inode->i_sb)->sectorsize; local [all...] |
/linux-master/fs/ext4/ |
H A D | ext4.h | 1243 size of blocksize * 8 2362 #define EXT4_DIRENT_TAIL(block, blocksize) \ 2364 ((blocksize) - \ 2414 ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) argument 2420 return blocksize; 2427 static inline __le16 ext4_rec_len_to_disk(unsigned len, unsigned blocksize) argument 2429 BUG_ON((len > blocksize) || (blocksize > (1 << 18)) || (len & 3)); 2433 if (len == blocksize) { 2434 if (blocksize [all...] |
H A D | xattr.c | 384 int blocksize = 1 << ea_inode->i_blkbits; local 385 int bh_count = (size + blocksize - 1) >> ea_inode->i_blkbits; 386 int tail_size = (size % blocksize) ?: blocksize; 408 memcpy((char *)buf + blocksize * i, bhs[i]->b_data, 409 i < bh_count - 1 ? blocksize : tail_size); 1388 int blocksize = ea_inode->i_sb->s_blocksize; local 1389 int max_blocks = (bufsize + blocksize - 1) >> ea_inode->i_blkbits; 1419 csize = (bufsize - wsize) > blocksize ? blocksize [all...] |
H A D | super.c | 4485 ext4_msg(sb, KERN_ERR, "blocksize: %lu", sb->s_blocksize); 4706 ext4_msg(sb, KERN_ERR, "unsupported blocksize for DAX\n"); 5001 int blocksize; local 5003 blocksize = sb_min_blocksize(sb, EXT4_MIN_BLOCK_SIZE); 5004 if (!blocksize) { 5005 ext4_msg(sb, KERN_ERR, "unable to set blocksize"); 5013 if (blocksize != EXT4_MIN_BLOCK_SIZE) { 5015 offset = do_div(logical_sb_block, blocksize); 5053 blocksize = EXT4_MIN_BLOCK_SIZE << le32_to_cpu(es->s_log_block_size); 5059 if (sb->s_blocksize == blocksize) { 5825 int hblock, blocksize; local [all...] |
/linux-master/fs/udf/ |
H A D | super.c | 221 unsigned int blocksize; member in struct:udf_options 538 uopt->blocksize = n; 1982 if (!sb_set_blocksize(sb, uopt->blocksize)) { 2174 uopt->blocksize = bdev_logical_block_size(sb->s_bdev); 2175 while (uopt->blocksize <= 4096) { 2179 pr_notice("Scanning with blocksize %u failed\n", 2180 uopt->blocksize); 2193 uopt->blocksize <<= 1;
|
/linux-master/fs/nilfs2/ |
H A D | inode.c | 855 unsigned int blocksize; local 865 blocksize = sb->s_blocksize; 866 blkoff = (inode->i_size + blocksize - 1) >> sb->s_blocksize_bits;
|
H A D | sysfs.c | 902 "(2) blocksize\n\tshow volume block size in bytes.\n\n" 916 NILFS_DEV_RO_ATTR(blocksize); variable 925 NILFS_DEV_ATTR_LIST(blocksize),
|
/linux-master/include/uapi/linux/ |
H A D | fuse.h | 926 uint32_t blocksize; member in struct:fuse_bmap_in
|
/linux-master/crypto/ |
H A D | shash.c | 199 rhash.blocksize = alg->cra_blocksize; 212 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
|
H A D | crypto_user.c | 79 rcipher.blocksize = alg->cra_blocksize;
|
H A D | ahash.c | 512 rhash.blocksize = alg->cra_blocksize; 525 seq_printf(m, "blocksize : %u\n", alg->cra_blocksize);
|
/linux-master/drivers/crypto/caam/ |
H A D | caamalg_qi2.c | 3314 unsigned int blocksize = crypto_tfm_alg_blocksize(&ahash->base); local 3319 dev_dbg(ctx->dev, "keylen %d blocksize %d\n", keylen, blocksize); 3321 if (keylen > blocksize) { 4408 unsigned int blocksize; member in struct:caam_hash_template 4420 .blocksize = SHA1_BLOCK_SIZE, 4441 .blocksize = SHA224_BLOCK_SIZE, 4462 .blocksize = SHA256_BLOCK_SIZE, 4483 .blocksize = SHA384_BLOCK_SIZE, 4504 .blocksize [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | intel-nand-controller.c | 453 u32 blocksize = mtd->erasesize; local 499 pg_per_blk = fls((blocksize / writesize) >> 6) / 8;
|
/linux-master/drivers/crypto/starfive/ |
H A D | jh7110-hash.c | 458 unsigned int blocksize = crypto_ahash_blocksize(hash); local 463 if (keylen <= blocksize) {
|
/linux-master/drivers/crypto/bcm/ |
H A D | spu2.c | 774 * @blocksize: The size of a block of data for this algo 785 unsigned int blocksize) 789 u32 excess = SPU2_MAX_PAYLOAD % blocksize; 783 spu2_ctx_max_payload(enum spu_cipher_alg cipher_alg, enum spu_cipher_mode cipher_mode, unsigned int blocksize) argument
|
/linux-master/fs/f2fs/ |
H A D | data.c | 2078 const unsigned blocksize = blks_to_bytes(inode, 1); local 2089 f2fs_readpage_limit(inode) + blocksize - 1); 2166 if (!bio_add_folio(bio, folio, blocksize, 0)) 2189 const unsigned blocksize = blks_to_bytes(inode, 1); local 2199 f2fs_readpage_limit(inode) + blocksize - 1); 2315 if (bio_add_page(bio, page, blocksize, 0) < blocksize)
|
/linux-master/include/linux/bcma/ |
H A D | bcma_driver_chipcommon.h | 596 u32 blocksize; member in struct:bcma_sflash
|
/linux-master/drivers/md/ |
H A D | md-bitmap.c | 358 unsigned long blocksize = i_blocksize(inode); local 363 bh = alloc_page_buffers(page, blocksize, false); 385 if (count < blocksize) 388 count -= blocksize;
|