Lines Matching refs:ip
35 struct xfs_inode *ip; member
128 xfs_filestream_put_ag(item->ip->i_mount, item->ag); in xfs_fstrm_free_func()
130 trace_xfs_filestream_free(item->ip, item->ag); in xfs_fstrm_free_func()
141 struct xfs_inode *ip, in xfs_filestream_pick_ag() argument
147 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_pick_ag()
154 ASSERT(S_ISDIR(ip->i_d.di_mode)); in xfs_filestream_pick_ag()
166 trace_xfs_filestream_scan(ip, ag); in xfs_filestream_pick_ag()
248 trace_xfs_filestream_pick(ip, *agp, free, nscan); in xfs_filestream_pick_ag()
253 trace_xfs_filestream_pick(ip, *agp, free, nscan); in xfs_filestream_pick_ag()
264 item->ip = ip; in xfs_filestream_pick_ag()
266 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag()
284 struct xfs_inode *ip) in xfs_filestream_get_parent() argument
286 struct inode *inode = VFS_I(ip), *dir = NULL; in xfs_filestream_get_parent()
314 struct xfs_inode *ip) in xfs_filestream_lookup_ag() argument
316 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_lookup_ag()
321 ASSERT(S_ISREG(ip->i_d.di_mode)); in xfs_filestream_lookup_ag()
323 pip = xfs_filestream_get_parent(ip); in xfs_filestream_lookup_ag()
332 trace_xfs_filestream_lookup(ip, ag); in xfs_filestream_lookup_ag()
366 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
367 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_new_ag()
375 pip = xfs_filestream_get_parent(ip); in xfs_filestream_new_ag()
406 struct xfs_inode *ip) in xfs_filestream_deassociate() argument
408 xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino); in xfs_filestream_deassociate()