Searched refs:grp_count (Results 1 – 3 of 3) sorted by relevance
144 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()158 mru->lru_grp = (mru->lru_grp + 1) % mru->grp_count; in _xfs_mru_cache_migrate()165 if (++migrated == mru->grp_count) { in _xfs_mru_cache_migrate()173 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate()176 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate()179 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate()212 mru->grp_count * mru->grp_time); in _xfs_mru_cache_list_insert()216 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert()341 unsigned int grp_count, in xfs_mru_cache_create() argument351 if (!mrup || !grp_count || !lifetime_ms || !free_func) in xfs_mru_cache_create()[all …]
31 unsigned int grp_count; /* Number of discrete groups. */ member43 unsigned int grp_count,
496 unsigned int lifetime, grp_count; in xfs_filestream_mount() local506 grp_count = 10; in xfs_filestream_mount()508 err = xfs_mru_cache_create(&mp->m_filestream, lifetime, grp_count, in xfs_filestream_mount()