lc_reset(9)
β¨ lc_reset(9) β¨
okay so bestie, this is the Kernel API Manual entry for lc_reset(9) β and it's giving "short but iconic" π
no cap.
πΈ NAME πΈ
lc_reset β does a full reset for @lc and the hash table slots. π«Ά
π SYNOPSIS π
void lc_reset (struct lru_cache *lc );
π¦ ARGUMENTS π¦
lcβ the lru cache to operate on. π
π DESCRIPTION π
It is roughly the equivalent of re-allocating a fresh lru_cache object, basically a short cut to lc_destroy(lc); lc = lc_create(...); β¨
π SEE ALSO π
Kernel file ./lib/lru_cache.c β plus these absolute legends, fr fr:
lc_create(9)lc_destroy(9)lc_seq_printf_stats(9)lc_find(9)lc_is_used(9)lc_del(9)lc_get(9)lc_get_cumulative(9)lc_try_get(9)lc_committed(9)lc_put(9)lc_element_by_index(9)lc_seq_dump_details(9)
mwah π this lil page is brought to you by ./lib, dated October 2026, and it's literally all about lc_reset(9) β periodt. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms