Lines Matching refs:item
118 struct xfs_fstrm_item *item = in xfs_fstrm_free_func() local
121 xfs_filestream_put_ag(mp, item->ag); in xfs_fstrm_free_func()
122 trace_xfs_filestream_free(mp, mru->key, item->ag); in xfs_fstrm_free_func()
124 kmem_free(item); in xfs_fstrm_free_func()
140 struct xfs_fstrm_item *item; in xfs_filestream_pick_ag() local
253 item = kmem_alloc(sizeof(*item), KM_MAYFAIL); in xfs_filestream_pick_ag()
254 if (!item) in xfs_filestream_pick_ag()
257 item->ag = *agp; in xfs_filestream_pick_ag()
259 err = xfs_mru_cache_insert(mp->m_filestream, ip->i_ino, &item->mru); in xfs_filestream_pick_ag()
269 kmem_free(item); in xfs_filestream_pick_ag()
375 struct xfs_fstrm_item *item = in xfs_filestream_new_ag() local
377 startag = (item->ag + 1) % mp->m_sb.sb_agcount; in xfs_filestream_new_ag()