Lines Matching refs:grp
130 unsigned int grp; in _xfs_mru_cache_migrate() local
168 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate()
171 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate()
174 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate()
194 unsigned int grp = 0; in _xfs_mru_cache_list_insert() local
210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
211 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert()
215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert()
324 int err = 0, grp; in xfs_mru_cache_create() local
348 for (grp = 0; grp < mru->grp_count; grp++) in xfs_mru_cache_create()
349 INIT_LIST_HEAD(mru->lists + grp); in xfs_mru_cache_create()