Searched refs:max_age (Results 1 – 5 of 5) sorted by relevance
45 diag->max_age = (5 * 1000); /* default value: 5 s */ in zfcp_diag_adapter_setup()54 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()63 hdr->timestamp = jiffies - msecs_to_jiffies(diag->max_age); in zfcp_diag_adapter_setup()254 if (jiffies_to_msecs(now - hdr->timestamp) >= diag->max_age) in __zfcp_diag_test_buffer_age_isfresh()
57 unsigned long max_age; member
352 rc = scnprintf(buf, 20 + 2, "%lu\n", adapter->diagnostics->max_age); in zfcp_sysfs_adapter_diag_max_age_show()364 unsigned long max_age; in zfcp_sysfs_adapter_diag_max_age_store() local370 rc = kstrtoul(buf, 10, &max_age); in zfcp_sysfs_adapter_diag_max_age_store()374 adapter->diagnostics->max_age = max_age; in zfcp_sysfs_adapter_diag_max_age_store()
125 unsigned long max_age; member691 mod_timer(&wc->max_age_timer, jiffies + wc->max_age / MAX_AGE_DIV); in writecache_max_age_timer()1078 if (wc->max_age != MAX_AGE_UNSPECIFIED) in writecache_resume()1079 mod_timer(&wc->max_age_timer, jiffies + wc->max_age / MAX_AGE_DIV); in writecache_resume()1847 wc->max_age - wc->max_age / MAX_AGE_DIV))) { in writecache_writeback()2112 wc->max_age = MAX_AGE_UNSPECIFIED; in writecache_ctr()2307 wc->max_age = msecs_to_jiffies(max_age_msecs); in writecache_ctr()
1894 unsigned max_age = READ_ONCE(dm_bufio_max_age); in get_max_age_hz() local1896 if (max_age > UINT_MAX / HZ) in get_max_age_hz()1897 max_age = UINT_MAX / HZ; in get_max_age_hz()1899 return max_age * HZ; in get_max_age_hz()