Home
last modified time | relevance | path

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

/Linux-v5.4/fs/verity/
Dopen.c31 unsigned int log_blocksize, in fsverity_init_merkle_tree_params() argument
57 if (log_blocksize != PAGE_SHIFT) { in fsverity_init_merkle_tree_params()
59 log_blocksize); in fsverity_init_merkle_tree_params()
63 params->log_blocksize = log_blocksize; in fsverity_init_merkle_tree_params()
64 params->block_size = 1 << log_blocksize; in fsverity_init_merkle_tree_params()
77 params->log_arity = params->log_blocksize - ilog2(params->digest_size); in fsverity_init_merkle_tree_params()
92 blocks = (inode->i_size + params->block_size - 1) >> log_blocksize; in fsverity_init_merkle_tree_params()
116 params->tree_size = offset << log_blocksize; in fsverity_init_merkle_tree_params()
190 desc->log_blocksize, in fsverity_create_info()
Dfsverity_private.h49 unsigned int log_blocksize; /* log2(block_size) */ member
84 __u8 log_blocksize; /* log2 of size of data and tree blocks */ member
144 unsigned int log_blocksize,
Denable.c87 params->log_blocksize); in build_merkle_tree_level()
140 params->log_blocksize; in build_merkle_tree()
174 desc->log_blocksize = ilog2(arg->block_size); in enable_verity()
201 desc->log_blocksize, in enable_verity()
Dverify.c39 (params->log_blocksize - params->log_arity); in hash_at_level()
/Linux-v5.4/fs/f2fs/
Dverity.c234 u64 index, int log_blocksize) in f2fs_write_merkle_tree_block() argument
236 loff_t pos = f2fs_verity_metadata_pos(inode) + (index << log_blocksize); in f2fs_write_merkle_tree_block()
238 return pagecache_write(inode, buf, 1 << log_blocksize, pos); in f2fs_write_merkle_tree_block()
Dsuper.c2541 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super()
2797 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); in init_sb_info()
2798 sbi->blocksize = 1 << sbi->log_blocksize; in init_sb_info()
3259 le32_to_cpu(raw_super->log_blocksize); in f2fs_fill_super()
Dsegment.h69 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
Df2fs.h1242 unsigned int log_blocksize; /* log2 block size */ member
/Linux-v5.4/fs/ext4/
Dverity.c354 u64 index, int log_blocksize) in ext4_write_merkle_tree_block() argument
356 loff_t pos = ext4_verity_metadata_pos(inode) + (index << log_blocksize); in ext4_write_merkle_tree_block()
358 return pagecache_write(inode, buf, 1 << log_blocksize, pos); in ext4_write_merkle_tree_block()
/Linux-v5.4/include/linux/
Dfsverity.h106 u64 index, int log_blocksize);
Df2fs_fs.h83 __le32 log_blocksize; /* log2 block size in bytes */ member
/Linux-v5.4/Documentation/filesystems/
Dfsverity.rst327 __u8 log_blocksize; /* log2 of size of data and tree blocks */