Lines Matching refs:file
132 void ima_add_violation(struct file *file, const unsigned char *filename, in ima_add_violation() argument
137 struct inode *inode = file_inode(file); in ima_add_violation()
139 .file = file, in ima_add_violation()
207 struct file *file, void *buf, loff_t size, in ima_collect_measurement() argument
211 struct inode *inode = file_inode(file); in ima_collect_measurement()
212 const char *filename = file->f_path.dentry->d_name.name; in ima_collect_measurement()
247 result = ima_calc_file_hash(file, &hash.hdr); in ima_collect_measurement()
268 if (file->f_flags & O_DIRECT) in ima_collect_measurement()
294 struct file *file, const unsigned char *filename, in ima_store_measurement() argument
302 struct inode *inode = file_inode(file); in ima_store_measurement()
305 .file = file, in ima_store_measurement()
329 if ((!result || result == -EEXIST) && !(file->f_flags & O_DIRECT)) { in ima_store_measurement()