Searched refs:log_blocksize (Results 1 – 15 of 15) sorted by relevance
/Linux-v5.15/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 = ((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()
|
D | enable.c | 125 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()
|
D | fsverity_private.h | 51 unsigned int log_blocksize; /* log2(block_size) */ member 121 unsigned int log_blocksize,
|
D | verify.c | 39 (params->log_blocksize - params->log_arity); in hash_at_level()
|
/Linux-v5.15/fs/f2fs/ |
D | verity.c | 281 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()
|
D | super.c | 3200 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()
|
D | segment.h | 82 #define SEGMENT_SIZE(sbi) (1ULL << ((sbi)->log_blocksize + \
|
D | segment.c | 4778 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()
|
D | f2fs.h | 1620 unsigned int log_blocksize; /* log2 block size */ member
|
/Linux-v5.15/fs/ext4/ |
D | verity.c | 384 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/ |
D | fsverity.h | 50 __u8 log_blocksize; /* log2 of size of data and tree blocks */ member
|
/Linux-v5.15/include/linux/ |
D | fsverity.h | 111 u64 index, int log_blocksize);
|
D | f2fs_fs.h | 82 __le32 log_blocksize; /* log2 block size in bytes */ member
|
/Linux-v5.15/fs/btrfs/ |
D | verity.c | 792 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/ |
D | fsverity.rst | 411 __u8 log_blocksize; /* log2 of size of data and tree blocks */
|