Lines Matching refs:desc_size
173 size_t desc_size, u64 merkle_tree_size) in ext4_write_verity_descriptor() argument
177 const u64 desc_end = desc_pos + desc_size; in ext4_write_verity_descriptor()
178 const __le32 desc_size_disk = cpu_to_le32(desc_size); in ext4_write_verity_descriptor()
184 err = pagecache_write(inode, desc, desc_size, desc_pos); in ext4_write_verity_descriptor()
193 size_t desc_size, u64 merkle_tree_size) in ext4_end_enable_verity() argument
209 err = ext4_write_verity_descriptor(inode, desc, desc_size, in ext4_end_enable_verity()
279 u32 desc_size; in ext4_get_verity_descriptor_location() local
319 desc_size = le32_to_cpu(desc_size_disk); in ext4_get_verity_descriptor_location()
326 if (desc_size > INT_MAX || desc_size > desc_size_pos) in ext4_get_verity_descriptor_location()
329 desc_pos = round_down(desc_size_pos - desc_size, i_blocksize(inode)); in ext4_get_verity_descriptor_location()
333 *desc_size_ret = desc_size; in ext4_get_verity_descriptor_location()
345 size_t desc_size = 0; in ext4_get_verity_descriptor() local
349 err = ext4_get_verity_descriptor_location(inode, &desc_size, &desc_pos); in ext4_get_verity_descriptor()
354 if (desc_size > buf_size) in ext4_get_verity_descriptor()
356 err = pagecache_read(inode, buf, desc_size, desc_pos); in ext4_get_verity_descriptor()
360 return desc_size; in ext4_get_verity_descriptor()