Home
last modified time | relevance | path

Searched refs:sthyi_cache (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dsthyi.c154 static struct sthyi_info sthyi_cache; variable
434 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 in sthyi_fill()
[all...]
/kernel/linux/linux-6.6/arch/s390/kernel/
H A Dsthyi.c154 static struct sthyi_info sthyi_cache; variable
435 if (sthyi_cache.info) in sthyi_init_cache()
437 sthyi_cache.info = (void *)get_zeroed_page(GFP_KERNEL); in sthyi_init_cache()
438 if (!sthyi_cache.info) in sthyi_init_cache()
440 sthyi_cache.end = jiffies - 1; /* expired */ in sthyi_init_cache()
448 memset(sthyi_cache.info, 0, PAGE_SIZE); in sthyi_update_cache()
449 r = fill_dst(sthyi_cache.info, rc); in sthyi_update_cache()
452 sthyi_cache.end = jiffies + CACHE_VALID_JIFFIES; in sthyi_update_cache()
477 if (time_is_before_jiffies(sthyi_cache.end)) { in sthyi_fill()
484 memcpy(dst, sthyi_cache in sthyi_fill()
[all...]

Completed in 3 milliseconds