Home
last modified time | relevance | path

Searched refs:grp_time (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/fs/xfs/
Dxfs_mru_cache.c97 unsigned int grp_time; /* Time period spanned by grps. */ member
139 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
154 mru->time_zero += mru->grp_time; 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()
210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
325 unsigned int grp_time; in xfs_mru_cache_create() local
333 if (!(grp_time = msecs_to_jiffies(lifetime_ms) / grp_count)) in xfs_mru_cache_create()
360 mru->grp_time = grp_time; in xfs_mru_cache_create()
394 _xfs_mru_cache_migrate(mru, jiffies + mru->grp_count * mru->grp_time); in xfs_mru_cache_flush()