Searched refs:sthyi_cache (Results 1 – 1 of 1) sorted by relevance
154 static struct sthyi_info sthyi_cache; variable434 if (sthyi_cache.info) in sthyi_init_cache()436 sthyi_cache.info = (void *)get_zeroed_page(GFP_KERNEL); in sthyi_init_cache()437 if (!sthyi_cache.info) in sthyi_init_cache()439 sthyi_cache.end = jiffies - 1; /* expired */ in sthyi_init_cache()447 memset(sthyi_cache.info, 0, PAGE_SIZE); in sthyi_update_cache()448 r = fill_dst(sthyi_cache.info, rc); in sthyi_update_cache()451 sthyi_cache.end = jiffies + CACHE_VALID_JIFFIES; in sthyi_update_cache()476 if (time_is_before_jiffies(sthyi_cache.end)) { in sthyi_fill()483 memcpy(dst, sthyi_cache.info, PAGE_SIZE); in sthyi_fill()