Lines Matching refs:file
18 extern int ima_file_check(struct file *file, int mask);
20 extern void ima_file_free(struct file *file);
21 extern int ima_file_mmap(struct file *file, unsigned long prot);
26 extern int ima_read_file(struct file *file, enum kernel_read_file_id id,
28 extern int ima_post_read_file(struct file *file, void *buf, loff_t size,
31 extern int ima_file_hash(struct file *file, char *buf, size_t buf_size);
59 static inline int ima_file_check(struct file *file, int mask) in ima_file_check() argument
68 static inline void ima_file_free(struct file *file) in ima_file_free() argument
73 static inline int ima_file_mmap(struct file *file, unsigned long prot) in ima_file_mmap() argument
96 static inline int ima_read_file(struct file *file, enum kernel_read_file_id id, in ima_read_file() argument
102 static inline int ima_post_read_file(struct file *file, void *buf, loff_t size, in ima_post_read_file() argument
113 static inline int ima_file_hash(struct file *file, char *buf, size_t buf_size) in ima_file_hash() argument