Home
last modified time | relevance | path

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

/linux-6.12.1/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.h43 u8 log_blocksize; /* log2(block_size) */ member
117 unsigned int log_blocksize,
Denable.c53 u64 pos = (u64)index << params->log_blocksize; in write_merkle_tree_block()
200 desc->log_blocksize = ilog2(arg->block_size); in enable_verity()
225 desc->log_blocksize, in enable_verity()
Dverify.c116 u64 hidx = data_pos >> params->log_blocksize; in verify_data_block()
166 (hblock_idx << params->log_blocksize) & ~PAGE_MASK; in verify_data_block()
/linux-6.12.1/include/uapi/linux/
Dfsverity.h50 __u8 log_blocksize; /* log2 of size of data and tree blocks */ member
/linux-6.12.1/include/linux/
Df2fs_fs.h115 __le32 log_blocksize; /* log2 block size in bytes */ member
/linux-6.12.1/fs/f2fs/
Dsuper.c3484 if (le32_to_cpu(raw_super->log_blocksize) != F2FS_BLKSIZE_BITS) { in sanity_check_raw_super()
3486 le32_to_cpu(raw_super->log_blocksize), in sanity_check_raw_super()
3791 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); in init_sb_info()
3792 sbi->blocksize = BIT(sbi->log_blocksize); in init_sb_info()
4469 le32_to_cpu(raw_super->log_blocksize); in f2fs_fill_super()
Dsegment.h83 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
Dsegment.c5113 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in check_zone_write_pointer()
5217 unsigned int log_sectors_per_block = sbi->log_blocksize - SECTOR_SHIFT; in fix_curseg_write_pointer()
Df2fs.h1630 unsigned int log_blocksize; /* log2 block size */ member
/linux-6.12.1/Documentation/filesystems/
Dfsverity.rst438 __u8 log_blocksize; /* log2 of size of data and tree blocks */
/linux-6.12.1/fs/btrfs/
Dsend.c5177 1U << le8_to_cpu(desc->log_blocksize)); in send_verity()