Searched refs:grp_count (Results 1 – 2 of 2) sorted by relevance
96 unsigned int grp_count; /* Number of discrete groups. */ member153 mru->lru_grp = (mru->lru_grp + 1) % mru->grp_count; in _xfs_mru_cache_migrate()160 if (++migrated == mru->grp_count) { in _xfs_mru_cache_migrate()168 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate()174 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate()207 mru->grp_count * mru->grp_time); in _xfs_mru_cache_list_insert()211 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert()320 unsigned int grp_count, in xfs_mru_cache_create() argument330 if (!mrup || !grp_count || !lifetime_ms || !free_func) in xfs_mru_cache_create()340 mru->grp_count = grp_count + 1; in xfs_mru_cache_create()[all …]
22 unsigned int lifetime_ms, unsigned int grp_count,