Home
last modified time | relevance | path

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

/Linux-v5.15/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 = ((u64)inode->i_size + params->block_size - 1) >> log_blocksize; in fsverity_init_merkle_tree_params()
117 params->tree_size = offset << log_blocksize; in fsverity_init_merkle_tree_params()
163 desc->log_blocksize, in fsverity_create_info()
Denable.c125 params->log_blocksize); in build_merkle_tree_level()
181 params->log_blocksize; in build_merkle_tree()
215 desc->log_blocksize = ilog2(arg->block_size); in enable_verity()
240 desc->log_blocksize, in enable_verity()
Dfsverity_private.h51 unsigned int log_blocksize; /* log2(block_size) */ member
121 unsigned int log_blocksize,
Dverify.c39 (params->log_blocksize - params->log_arity); in hash_at_level()
/Linux-v5.15/fs/f2fs/
Dverity.c281 u64 index, int log_blocksize) in f2fs_write_merkle_tree_block() argument
283 loff_t pos = f2fs_verity_metadata_pos(inode) + (index << log_blocksize); in f2fs_write_merkle_tree_block()
285 return pagecache_write(inode, buf, 1 << log_blocksize, pos); in f2fs_write_merkle_tree_block()
Dsuper.c3200 if (le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE_BITS) { in sanity_check_raw_super()
3202 le32_to_cpu(raw_super->log_blocksize), in sanity_check_raw_super()
3507 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); in init_sb_info()
3508 sbi->blocksize = 1 << sbi->log_blocksize; in init_sb_info()
3959 le32_to_cpu(raw_super->log_blocksize); in f2fs_fill_super()
Dsegment.h82 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
Dsegment.c4778 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in check_zone_write_pointer()
4886 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in fix_curseg_write_pointer()
Df2fs.h1620 unsigned int log_blocksize; /* log2 block size */ member
/Linux-v5.15/fs/ext4/
Dverity.c384 u64 index, int log_blocksize) in ext4_write_merkle_tree_block() argument
386 loff_t pos = ext4_verity_metadata_pos(inode) + (index << log_blocksize); in ext4_write_merkle_tree_block()
388 return pagecache_write(inode, buf, 1 << log_blocksize, pos); in ext4_write_merkle_tree_block()
/Linux-v5.15/include/uapi/linux/
Dfsverity.h50 __u8 log_blocksize; /* log2 of size of data and tree blocks */ member
/Linux-v5.15/include/linux/
Dfsverity.h111 u64 index, int log_blocksize);
Df2fs_fs.h82 __le32 log_blocksize; /* log2 block size in bytes */ member
/Linux-v5.15/fs/btrfs/
Dverity.c792 u64 index, int log_blocksize) in btrfs_write_merkle_tree_block() argument
794 u64 off = index << log_blocksize; in btrfs_write_merkle_tree_block()
795 u64 len = 1ULL << log_blocksize; in btrfs_write_merkle_tree_block()
/Linux-v5.15/Documentation/filesystems/
Dfsverity.rst411 __u8 log_blocksize; /* log2 of size of data and tree blocks */