Lines Matching defs:inode
20 static inline int check_code_sign_descriptor(const struct inode *inode,
36 if (le64_to_cpu(desc->data_size) > inode->i_size) {
37 code_sign_log_error("Wrong data_size: %llu (desc) > %lld (inode)",
38 le64_to_cpu(desc->data_size), inode->i_size);
48 if ((tree_offset > inode->i_size) || (tree_offset % PAGE_SIZE != 0)) {
51 tree_offset, inode->i_size);
65 void code_sign_check_descriptor(const struct inode *inode, const void *desc, int *ret)
67 *ret = check_code_sign_descriptor(inode, CONST_CAST_CODE_SIGN_DESC(desc));