Lines Matching defs:ih
128 xfs_ihash_t *ih,
134 if ((ip->i_prevp != &ih->ih_next) && write_trylock(&ih->ih_lock)) {
135 if (likely(version == ih->ih_version)) {
143 iq = ih->ih_next;
146 ip->i_prevp = &ih->ih_next;
147 ih->ih_next = ip;
149 write_unlock(&ih->ih_lock);
195 xfs_ihash_t *ih;
207 ih = XFS_IHASH(mp, ino);
210 read_lock(&ih->ih_lock);
212 for (ip = ih->ih_next; ip != NULL; ip = ip->i_next) {
219 read_unlock(&ih->ih_lock);
234 read_unlock(&ih->ih_lock);
250 read_unlock(&ih->ih_lock);
264 read_unlock(&ih->ih_lock);
277 version = ih->ih_version;
278 read_unlock(&ih->ih_lock);
279 xfs_ihash_promote(ih, ip, version);
294 read_unlock(&ih->ih_lock);
315 version = ih->ih_version;
316 read_unlock(&ih->ih_lock);
317 xfs_ihash_promote(ih, ip, version);
343 version = ih->ih_version;
345 read_unlock(&ih->ih_lock);
373 write_lock(&ih->ih_lock);
375 if (ih->ih_version != version) {
376 for (iq = ih->ih_next; iq != NULL; iq = iq->i_next) {
378 write_unlock(&ih->ih_lock);
390 ip->i_hash = ih;
391 if ((iq = ih->ih_next)) {
395 ip->i_prevp = &ih->ih_next;
396 ih->ih_next = ip;
398 ih->ih_version++;
400 write_unlock(&ih->ih_lock);
590 xfs_ihash_t *ih;
594 ih = XFS_IHASH(mp, ino);
595 read_lock(&ih->ih_lock);
596 for (ip = ih->ih_next; ip != NULL; ip = ip->i_next) {
606 version = ih->ih_version;
607 read_unlock(&ih->ih_lock);
608 xfs_ihash_promote(ih, ip, version);
614 read_unlock(&ih->ih_lock);
721 xfs_ihash_t *ih;
728 ih = ip->i_hash;
729 write_lock(&ih->ih_lock);
734 ih->ih_version++;
735 write_unlock(&ih->ih_lock);