Home
last modified time | relevance | path

Searched refs:tree_offset (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/common_modules/code_sign/
H A Dcode_sign_ext.c23 u64 tree_offset = le64_to_cpu(desc->tree_offset); in check_code_sign_descriptor() local
48 if ((tree_offset > inode->i_size) || (tree_offset % PAGE_SIZE != 0)) { in check_code_sign_descriptor()
50 "Wrong tree_offset: %llu (desc) > %lld (file size) or alignment is wrong", in check_code_sign_descriptor()
51 tree_offset, inode->i_size); in check_code_sign_descriptor()
55 if (tree_offset != 0) { in check_code_sign_descriptor()
57 "Wrong tree_offset without tree: %llu (desc) != 0", in check_code_sign_descriptor()
58 tree_offset); in check_code_sign_descriptor()
/kernel/linux/linux-6.6/fs/verity/
H A Denable.c486 u64 tree_offset; in code_sign_copy_merkle_tree() local
491 tree_offset = get_tree_offset_compact(_desc); in code_sign_copy_merkle_tree()
493 if (inode->i_size < tree_offset + params->tree_size) { in code_sign_copy_merkle_tree()
502 for (offset = tree_offset; offset < tree_offset + params->tree_size; offset += params->block_size) { in code_sign_copy_merkle_tree()
522 (offset - tree_offset) / params->block_size, in code_sign_copy_merkle_tree()
549 desc->tree_offset = cpu_to_le64(arg->tree_offset); in code_sign_init_descriptor()
601 if (arg.tree_offset % arg.block_size != 0) in fsverity_ioctl_enable_code_sign()
/kernel/linux/linux-5.10/fs/verity/
H A Denable.c504 u64 tree_offset, tree_start_index; in code_sign_copy_merkle_tree() local
509 tree_offset = get_tree_offset_compact(_desc); in code_sign_copy_merkle_tree()
511 if (inode->i_size < tree_offset + params->tree_size) { in code_sign_copy_merkle_tree()
522 tree_start_index = tree_offset >> PAGE_SHIFT; in code_sign_copy_merkle_tree()
570 desc->tree_offset = cpu_to_le64(arg->tree_offset); in code_sign_init_descriptor()
622 if (arg.tree_offset % PAGE_SIZE != 0) in fsverity_ioctl_enable_code_sign()
/kernel/linux/linux-5.10/include/linux/
H A Dcode_sign.h27 __u64 tree_offset; /* merkle tree offset in file */ member
61 return CONST_CAST_CODE_SIGN_DESC(desc)->tree_offset; in get_tree_offset_compact()
/kernel/linux/linux-6.6/include/linux/
H A Dcode_sign.h27 __u64 tree_offset; /* merkle tree offset in file */ member
61 return CONST_CAST_CODE_SIGN_DESC(desc)->tree_offset; in get_tree_offset_compact()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dfsverity.h53 __u64 tree_offset; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dfsverity.h53 __u64 tree_offset; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dfsverity.h56 __u64 tree_offset; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dfsverity.h116 __u64 tree_offset; member

Completed in 4 milliseconds