Home
last modified time | relevance | path

Searched refs:ima_iint_cache (Results 1 – 4 of 4) 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_p = inode_security + ima_blob_sizes.lbs_inode; in ima_inode_free_rcu()
[all …]
H A Dima.h71 struct ima_iint_cache *iint;
187 struct ima_iint_cache { struct
203 static inline struct ima_iint_cache * argument
206 struct ima_iint_cache **iint_sec; in ima_inode_get_iint()
216 struct ima_iint_cache *iint) in ima_inode_set_iint()
218 struct ima_iint_cache **iint_sec; in ima_inode_set_iint()
227 struct ima_iint_cache *ima_iint_find(struct inode *inode);
228 struct ima_iint_cache *ima_inode_get(struct inode *inode);
265 struct ima_iint_cache *iint, const char *op,
381 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file,
[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 *iint; in ima_reset_appraise_flags()
H A Dima_main.c118 struct ima_iint_cache *iint, in ima_rdwr_violation_check()
157 static void ima_check_last_writer(struct ima_iint_cache *iint, in ima_check_last_writer()
196 struct ima_iint_cache *iint; in ima_file_free()
213 struct ima_iint_cache *iint = NULL; in process_measurement()
611 struct ima_iint_cache *iint = NULL, tmp_iint; in __ima_inode_hash()
734 struct ima_iint_cache *iint; in ima_post_create_tmpfile()
765 struct ima_iint_cache *iint; in ima_post_path_mknod()
988 struct ima_iint_cache iint = {}; in process_buffer_measurement()
1242 .lbs_inode = sizeof(struct ima_iint_cache *),