Home
last modified time | relevance | path

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

/linux-2.6.39/fs/xfs/
Dxfs_mru_cache.c144 while (mru->time_zero <= now - mru->grp_count * mru->grp_time) { in _xfs_mru_cache_migrate()
159 mru->time_zero += mru->grp_time; 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()
215 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert()
346 unsigned int grp_time; in xfs_mru_cache_create() local
354 if (!(grp_time = msecs_to_jiffies(lifetime_ms) / grp_count)) in xfs_mru_cache_create()
381 mru->grp_time = grp_time; in xfs_mru_cache_create()
415 _xfs_mru_cache_migrate(mru, jiffies + mru->grp_count * mru->grp_time); in xfs_mru_cache_flush()
Dxfs_mru_cache.h32 unsigned int grp_time; /* Time period spanned by grps. */ member