Lines Matching refs:iint
85 static void ima_check_last_writer(struct ima_iint_cache *iint, in ima_check_last_writer() argument
91 mutex_lock(&iint->mutex); in ima_check_last_writer()
94 iint->version != inode->i_version) in ima_check_last_writer()
95 iint->flags &= ~IMA_MEASURED; in ima_check_last_writer()
96 mutex_unlock(&iint->mutex); in ima_check_last_writer()
108 struct ima_iint_cache *iint; in ima_file_free() local
113 iint = ima_iint_find(inode); in ima_file_free()
114 if (!iint) in ima_file_free()
117 ima_check_last_writer(iint, inode, file); in ima_file_free()
124 struct ima_iint_cache *iint; in process_measurement() local
134 iint = ima_iint_find(inode); in process_measurement()
135 if (!iint) { in process_measurement()
142 mutex_lock(&iint->mutex); in process_measurement()
144 rc = iint->flags & IMA_MEASURED ? 1 : 0; in process_measurement()
148 rc = ima_collect_measurement(iint, file); in process_measurement()
150 ima_store_measurement(iint, file, filename); in process_measurement()
152 mutex_unlock(&iint->mutex); in process_measurement()