Home
last modified time | relevance | path

Searched refs:log_blocksize (Results 1 – 10 of 10) sorted by relevance

/fs/verity/
Dopen.c32 unsigned int log_blocksize, in fsverity_init_merkle_tree_params() argument
74 if (log_blocksize < 10 || log_blocksize > PAGE_SHIFT || in fsverity_init_merkle_tree_params()
75 log_blocksize > inode->i_blkbits) { in fsverity_init_merkle_tree_params()
77 log_blocksize); in fsverity_init_merkle_tree_params()
81 params->log_blocksize = log_blocksize; in fsverity_init_merkle_tree_params()
82 params->block_size = 1 << log_blocksize; in fsverity_init_merkle_tree_params()
83 params->log_blocks_per_page = PAGE_SHIFT - log_blocksize; in fsverity_init_merkle_tree_params()
98 params->log_arity = log_blocksize - params->log_digestsize; in fsverity_init_merkle_tree_params()
109 blocks = ((u64)inode->i_size + params->block_size - 1) >> log_blocksize; in fsverity_init_merkle_tree_params()
147 params->tree_size = offset << log_blocksize; in fsverity_init_merkle_tree_params()
[all …]
Dfsverity_private.h47 u8 log_blocksize; /* log2(block_size) */ member
117 unsigned int log_blocksize,
Denable.c54 u64 pos = (u64)index << params->log_blocksize; in write_merkle_tree_block()
208 desc->log_blocksize = ilog2(arg->block_size); in enable_verity()
233 desc->log_blocksize, in enable_verity()
Dverify.c150 u64 hidx = data_pos >> params->log_blocksize; in verify_data_block()
193 (hblock_idx << params->log_blocksize) & ~PAGE_MASK; in verify_data_block()
/fs/f2fs/
Dsuper.c3420 if (le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE_BITS) { in sanity_check_raw_super()
3422 le32_to_cpu(raw_super->log_blocksize), in sanity_check_raw_super()
3727 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); in init_sb_info()
3728 sbi->blocksize = BIT(sbi->log_blocksize); in init_sb_info()
4287 le32_to_cpu(raw_super->log_blocksize); in f2fs_fill_super()
Dsegment.h83 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
Dsegment.c4774 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in check_zone_write_pointer()
4913 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in fix_curseg_write_pointer()
Df2fs.h1592 unsigned int log_blocksize; /* log2 block size */ member
/fs/incfs/
Dverity.c266 .log_blocksize = ilog2(INCFS_DATA_FILE_BLOCK_SIZE), in incfs_get_fsverity_descriptor()
/fs/btrfs/
Dsend.c4916 1U << le8_to_cpu(desc->log_blocksize)); in send_verity()