Searched refs:iint (Results 1 - 4 of 4) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/security/integrity/ima/ |
H A D | ima_iint.c | 29 /* ima_iint_find_get - return the iint associated with an inode 31 * ima_iint_find_get gets a reference to the iint. Caller must 32 * remember to put the iint reference. 36 struct ima_iint_cache *iint; local 39 iint = radix_tree_lookup(&ima_iint_store, (unsigned long)inode); 40 if (!iint) 42 kref_get(&iint->refcount); 45 return iint; 49 * ima_inode_alloc - allocate an iint associated with an inode 54 struct ima_iint_cache *iint local 79 struct ima_iint_cache *iint = container_of(kref, struct ima_iint_cache, local 104 struct ima_iint_cache *iint = container_of(rcu_head, local 117 struct ima_iint_cache *iint; local 128 struct ima_iint_cache *iint = foo; local [all...] |
H A D | ima_main.c | 100 struct ima_iint_cache *iint, 106 if (iint->readcount > 0) 111 if (iint->writecount > 0) 121 static void ima_inc_counts(struct ima_iint_cache *iint, fmode_t mode) argument 123 BUG_ON(!mutex_is_locked(&iint->mutex)); 125 iint->opencount++; 127 iint->readcount++; 129 iint->writecount++; 148 struct ima_iint_cache *iint; local 153 iint 99 ima_read_write_check(enum iint_pcr_error error, struct ima_iint_cache *iint, struct inode *inode, const unsigned char *filename) argument 178 ima_dec_counts(struct ima_iint_cache *iint, struct inode *inode, struct file *file) argument 216 struct ima_iint_cache *iint; local 234 struct ima_iint_cache *iint; local [all...] |
H A D | ima_api.c | 108 * Must be called with iint->mutex held. 114 int ima_must_measure(struct ima_iint_cache *iint, struct inode *inode, argument 119 if (iint->flags & IMA_MEASURED) 130 * storing the measurement and i_version in the iint. 132 * Must be called with iint->mutex held. 136 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file) argument 140 if (!(iint->flags & IMA_MEASURED)) { 143 memset(iint->digest, 0, IMA_DIGEST_SIZE); 144 result = ima_calc_hash(file, iint->digest); 146 iint 166 ima_store_measurement(struct ima_iint_cache *iint, struct file *file, const unsigned char *filename) argument [all...] |
H A D | ima.h | 98 /* iint cache flags */ 115 int ima_must_measure(struct ima_iint_cache *iint, struct inode *inode, 117 int ima_collect_measurement(struct ima_iint_cache *iint, struct file *file); 118 void ima_store_measurement(struct ima_iint_cache *iint, struct file *file,
|
Completed in 76 milliseconds