Home
last modified time | relevance | path

Searched refs:ima_iint_cache (Results 1 – 7 of 7) sorted by relevance

/linux/security/integrity/ima/
H A Dima_iint.c16 static struct kmem_cache *ima_iint_cache __ro_after_init;
27 struct ima_iint_cache *ima_iint_find(struct inode *inode) in ima_iint_find()
43 static inline void ima_iint_lockdep_annotate(struct ima_iint_cache *iint, in ima_iint_lockdep_annotate()
58 static void ima_iint_init_always(struct ima_iint_cache *iint, in ima_iint_init_always()
75 static void ima_iint_free(struct ima_iint_cache *iint) in ima_iint_free()
79 kmem_cache_free(ima_iint_cache, iint); in ima_iint_free()
91 struct ima_iint_cache *ima_inode_get(struct inode *inode) in ima_inode_get()
93 struct ima_iint_cache *iint; in ima_inode_get()
99 iint = kmem_cache_alloc(ima_iint_cache, GFP_NOFS); in ima_inode_get()
119 struct ima_iint_cache **iint_ in ima_inode_free_rcu()
[all...]
H A Dima.h71 struct ima_iint_cache *iint;
188 struct ima_iint_cache { struct
204 static inline struct ima_iint_cache * argument
207 struct ima_iint_cache **iint_sec; in ima_inode_get_iint()
217 struct ima_iint_cache *iint) in ima_inode_set_iint()
219 struct ima_iint_cache **iint_sec; in ima_inode_set_iint()
228 struct ima_iint_cache *ima_iint_find(struct inode *inode);
229 struct ima_iint_cache *ima_inode_get(struct inode *inode);
272 struct ima_iint_cache *iint, const char *op,
388 int ima_collect_measurement(struct ima_iint_cache *iin
[all...]
H A Dima_appraise.c88 static int ima_fix_xattr(struct dentry *dentry, struct ima_iint_cache *iint) in ima_fix_xattr()
109 enum integrity_status ima_get_cache_status(struct ima_iint_cache *iint, in ima_get_cache_status()
129 static void ima_set_cache_status(struct ima_iint_cache *iint, in ima_set_cache_status()
155 static void ima_cache_flags(struct ima_iint_cache *iint, enum ima_hooks func) in ima_cache_flags()
278 static int xattr_verify(enum ima_hooks func, struct ima_iint_cache *iint, in xattr_verify()
447 int ima_check_blacklist(struct ima_iint_cache *iint, in ima_check_blacklist()
492 int ima_appraise_measurement(enum ima_hooks func, struct ima_iint_cache *iint, in ima_appraise_measurement()
628 void ima_update_xattr(struct ima_iint_cache *iint, struct file *file) in ima_update_xattr()
665 struct ima_iint_cache *iint; in ima_inode_post_setattr()
699 struct ima_iint_cache *iin in ima_reset_appraise_flags()
[all...]
H A Dima_api.c134 struct ima_iint_cache *iint, const char *op, in ima_add_violation()
204 static bool ima_get_verity_digest(struct ima_iint_cache *iint, in ima_get_verity_digest()
241 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file, in ima_collect_measurement()
348 void ima_store_measurement(struct ima_iint_cache *iint, struct file *file, in ima_store_measurement()
392 void ima_audit_measurement(struct ima_iint_cache *iint, in ima_audit_measurement()
H A Dima_main.c138 struct ima_iint_cache *iint, in ima_rdwr_violation_check()
183 static void ima_check_last_writer(struct ima_iint_cache *iint, in ima_check_last_writer()
224 struct ima_iint_cache *iint; in ima_file_free()
241 struct ima_iint_cache *iint = NULL; in process_measurement()
641 struct ima_iint_cache *iint = NULL, tmp_iint; in __ima_inode_hash()
764 struct ima_iint_cache *iint; in ima_post_create_tmpfile()
795 struct ima_iint_cache *iint; in ima_post_path_mknod()
1018 struct ima_iint_cache iint = {}; in process_buffer_measurement()
1278 .lbs_inode = sizeof(struct ima_iint_cache *),
H A Dima_init.c47 struct ima_iint_cache tmp_iint, *iint = &tmp_iint; in ima_add_boot_aggregate()
H A Dima_policy.c52 (a) >= (sizeof_field(struct ima_iint_cache, measured_pcrs) * 8))