Searched refs:sthyi_cache (Results 1 – 1 of 1) sorted by relevance
154 static struct sthyi_info sthyi_cache; variable432 if (sthyi_cache.info) in sthyi_init_cache()434 sthyi_cache.info = (void *)get_zeroed_page(GFP_KERNEL); in sthyi_init_cache()435 if (!sthyi_cache.info) in sthyi_init_cache()437 sthyi_cache.end = jiffies - 1; /* expired */ in sthyi_init_cache()445 memset(sthyi_cache.info, 0, PAGE_SIZE); in sthyi_update_cache()446 r = fill_dst(sthyi_cache.info, rc); in sthyi_update_cache()449 sthyi_cache.end = jiffies + CACHE_VALID_JIFFIES; in sthyi_update_cache()474 if (time_is_before_jiffies(sthyi_cache.end)) { in sthyi_fill()481 memcpy(dst, sthyi_cache.info, PAGE_SIZE); in sthyi_fill()