Lines Matching refs:file
199 int ima_eventdigest_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventdigest_init() argument
224 if (!file) /* missing info to re-calculate the digest */ in ima_eventdigest_init()
227 inode = file_inode(file); in ima_eventdigest_init()
230 result = ima_calc_file_hash(file, &hash.hdr); in ima_eventdigest_init()
248 struct file *file, const unsigned char *filename, in ima_eventdigest_ng_init() argument
269 struct file *file, in ima_eventname_init_common() argument
277 BUG_ON(filename == NULL && file == NULL); in ima_eventname_init_common()
287 if (file) { in ima_eventname_init_common()
288 cur_filename = file->f_path.dentry->d_name.name; in ima_eventname_init_common()
304 int ima_eventname_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventname_init() argument
309 return ima_eventname_init_common(iint, file, filename, in ima_eventname_init()
316 int ima_eventname_ng_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventname_ng_init() argument
321 return ima_eventname_init_common(iint, file, filename, in ima_eventname_ng_init()
328 int ima_eventsig_init(struct integrity_iint_cache *iint, struct file *file, in ima_eventsig_init() argument