Lines Matching refs:ih
104 xfs_ihash_t *ih;
119 ih = XFS_IHASH(mp, ino);
122 read_lock(&ih->ih_lock);
124 for (ip = ih->ih_next; ip != NULL; ip = ip->i_next) {
134 if (ip->i_prevp != &ih->ih_next
135 && rwlock_trypromote(&ih->ih_lock)) {
141 iq = ih->ih_next;
144 ip->i_prevp = &ih->ih_next;
145 ih->ih_next = ip;
146 write_unlock(&ih->ih_lock);
148 read_unlock(&ih->ih_lock);
192 version = ih->ih_version;
194 read_unlock(&ih->ih_lock);
222 write_lock(&ih->ih_lock);
224 if (ih->ih_version != version) {
225 for (iq = ih->ih_next; iq != NULL; iq = iq->i_next) {
227 write_unlock(&ih->ih_lock);
239 ip->i_hash = ih;
240 if ((iq = ih->ih_next)) {
244 ip->i_prevp = &ih->ih_next;
245 ih->ih_next = ip;
247 ih->ih_version++;
249 write_unlock(&ih->ih_lock);