Searched refs:log_blocksize (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/fs/verity/ |
D | open.c | 31 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()
|
D | fsverity_private.h | 49 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,
|
D | enable.c | 87 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()
|
D | verify.c | 39 (params->log_blocksize - params->log_arity); in hash_at_level()
|
/Linux-v5.4/fs/f2fs/ |
D | verity.c | 234 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()
|
D | super.c | 2541 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()
|
D | segment.h | 69 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
|
D | f2fs.h | 1242 unsigned int log_blocksize; /* log2 block size */ member
|
/Linux-v5.4/fs/ext4/ |
D | verity.c | 354 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/ |
D | fsverity.h | 106 u64 index, int log_blocksize);
|
D | f2fs_fs.h | 83 __le32 log_blocksize; /* log2 block size in bytes */ member
|
/Linux-v5.4/Documentation/filesystems/ |
D | fsverity.rst | 327 __u8 log_blocksize; /* log2 of size of data and tree blocks */
|