Lines Matching refs:ip

75 	xfs_inode_t	*ip)  in xfs_refcache_insert()  argument
81 ASSERT(ismrlocked(&(ip->i_iolock), MR_UPDATE)); in xfs_refcache_insert()
102 if (ip->i_refcache != NULL) { in xfs_refcache_insert()
106 vp = XFS_ITOV(ip); in xfs_refcache_insert()
159 xfs_refcache[xfs_refcache_index] = ip; in xfs_refcache_insert()
160 ASSERT(ip->i_refcache == NULL); in xfs_refcache_insert()
161 ip->i_refcache = &(xfs_refcache[xfs_refcache_index]); in xfs_refcache_insert()
175 ip->i_release = release_ip; in xfs_refcache_insert()
194 xfs_inode_t *ip) in xfs_refcache_purge_ip() argument
203 if (ip->i_refcache == NULL) { in xfs_refcache_purge_ip()
208 if (ip->i_refcache == NULL) { in xfs_refcache_purge_ip()
217 ASSERT(*(ip->i_refcache) == ip); in xfs_refcache_purge_ip()
218 *(ip->i_refcache) = NULL; in xfs_refcache_purge_ip()
219 ip->i_refcache = NULL; in xfs_refcache_purge_ip()
224 vp = XFS_ITOV(ip); in xfs_refcache_purge_ip()
242 xfs_inode_t *ip; in xfs_refcache_purge_mp() local
257 ip = xfs_refcache[i]; in xfs_refcache_purge_mp()
258 if ((ip != NULL) && (ip->i_mount == mp)) { in xfs_refcache_purge_mp()
260 ip->i_refcache = NULL; in xfs_refcache_purge_mp()
264 vp = XFS_ITOV(ip); in xfs_refcache_purge_mp()
286 xfs_inode_t *ip; in xfs_refcache_purge_some() local
309 ip = xfs_refcache[xfs_refcache_index]; in xfs_refcache_purge_some()
310 if (ip != NULL) { in xfs_refcache_purge_some()
312 ip->i_refcache = NULL; in xfs_refcache_purge_some()
315 iplist[iplist_index] = ip; in xfs_refcache_purge_some()
355 xfs_inode_t *ip; in xfs_refcache_resize() local
374 ip = xfs_refcache[i]; in xfs_refcache_resize()
375 if (ip != NULL) { in xfs_refcache_resize()
377 ip->i_refcache = NULL; in xfs_refcache_resize()
380 iplist[iplist_index] = ip; in xfs_refcache_resize()
414 xfs_inode_t *ip, in xfs_refcache_iunlock() argument
420 release_ip = ip->i_release; in xfs_refcache_iunlock()
421 ip->i_release = NULL; in xfs_refcache_iunlock()
423 xfs_iunlock(ip, lock_flags); in xfs_refcache_iunlock()