Searched refs:desc_size (Results 1 – 7 of 7) sorted by relevance
/fs/ext4/ |
D | verity.c | 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() [all …]
|
/fs/verity/ |
D | fsverity_private.h | 155 void *desc, size_t desc_size); 169 size_t desc_size); 176 size_t desc_size) in fsverity_verify_signature() argument
|
D | open.c | 149 void *_desc, size_t desc_size) in fsverity_create_info() argument 155 if (desc_size < sizeof(*desc)) { in fsverity_create_info() 157 desc_size); in fsverity_create_info() 212 err = fsverity_verify_signature(vi, desc, desc_size); in fsverity_create_info()
|
D | enable.c | 205 size_t desc_size = sizeof(*desc) + arg->sig_size; in enable_verity() local 210 desc = kzalloc(desc_size, GFP_KERNEL); in enable_verity() 284 vi = fsverity_create_info(inode, desc, desc_size); in enable_verity() 299 err = vops->end_enable_verity(filp, desc, desc_size, params.tree_size); in enable_verity()
|
D | signature.c | 42 size_t desc_size) in fsverity_verify_signature() argument 59 if (sig_size > desc_size - sizeof(*desc)) { in fsverity_verify_signature()
|
/fs/orangefs/ |
D | orangefs-bufmap.c | 148 int desc_size; member 198 size = bufmap->desc_size; in orangefs_bufmap_size_query() 229 bufmap->desc_size = user_desc->size; in orangefs_bufmap_alloc() 230 bufmap->desc_shift = ilog2(bufmap->desc_size); in orangefs_bufmap_alloc() 266 int pages_per_desc = bufmap->desc_size / PAGE_SIZE; in orangefs_bufmap_map()
|
/fs/f2fs/ |
D | verity.c | 144 size_t desc_size, u64 merkle_tree_size) in f2fs_end_enable_verity() argument 151 .size = cpu_to_le32(desc_size), in f2fs_end_enable_verity() 164 err = pagecache_write(inode, desc, desc_size, desc_pos); in f2fs_end_enable_verity()
|