Lines Matching refs:cur_ts
693 const unix_time64_t cur_ts = log_monotonic_secs; in fam_dir_monitor() local
696 if (!fn_is_dir && (NULL==fam_dir || cur_ts - fam_dir->stat_ts >= 16)) { in fam_dir_monitor()
743 fam_dir->stat_ts = cur_ts; in fam_dir_monitor()
769 fam_dir->stat_ts= cur_ts; in fam_dir_monitor()
1284 const unix_time64_t cur_ts = log_monotonic_secs; in stat_cache_get_entry() local
1299 if (sce->stat_ts == cur_ts) { in stat_cache_get_entry()
1313 if (cur_ts - sce->stat_ts < 16) { in stat_cache_get_entry()
1384 sce->stat_ts = cur_ts; in stat_cache_get_entry()
1390 sce->stat_ts = cur_ts; in stat_cache_get_entry()
1485 …e * const t, int * const keys, int * const ndx, const time_t max_age, const unix_time64_t cur_ts) { in stat_cache_tag_old_entries() argument
1488 stat_cache_tag_old_entries(t->left, keys, ndx, max_age, cur_ts); in stat_cache_tag_old_entries()
1490 stat_cache_tag_old_entries(t->right, keys, ndx, max_age, cur_ts); in stat_cache_tag_old_entries()
1494 if (cur_ts - sce->stat_ts > max_age) in stat_cache_tag_old_entries()
1498 static void stat_cache_periodic_cleanup(const time_t max_age, const unix_time64_t cur_ts) { in stat_cache_periodic_cleanup() argument
1505 stat_cache_tag_old_entries(sptree, keys, &max_ndx, max_age, cur_ts); in stat_cache_periodic_cleanup()