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()
249 trace_xfs_filestream_pick(ip, *agp, free, nscan); in xfs_filestream_pick_ag()
254 trace_xfs_filestream_pick(ip, *agp, free, nscan); in xfs_filestream_pick_ag()
265 item->ip = ip; in xfs_filestream_pick_ag()
267 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag()
285 struct xfs_inode *ip) in xfs_filestream_get_parent() argument
287 struct inode *inode = VFS_I(ip), *dir = NULL; in xfs_filestream_get_parent()
315 struct xfs_inode *ip) in xfs_filestream_lookup_ag() argument
317 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_lookup_ag()
322 ASSERT(S_ISREG(ip->i_d.di_mode)); in xfs_filestream_lookup_ag()
324 pip = xfs_filestream_get_parent(ip); in xfs_filestream_lookup_ag()
333 trace_xfs_filestream_lookup(ip, ag); in xfs_filestream_lookup_ag()
367 struct xfs_inode *ip = ap->ip, *pip; in xfs_filestream_new_ag() local
368 struct xfs_mount *mp = ip->i_mount; in xfs_filestream_new_ag()
376 pip = xfs_filestream_get_parent(ip); in xfs_filestream_new_ag()
407 struct xfs_inode *ip) in xfs_filestream_deassociate() argument
409 xfs_mru_cache_delete(ip->i_mount->m_filestream, ip->i_ino); in xfs_filestream_deassociate()