lc_element_by_index(9)
๐ธ NAME ๐ธ
Okay bestie, this page is lc_element_by_index(9) from the Kernel API Manual. The name line is literally lc_element_by_index - and then... nothing else. No tagline, no extra lore โ just the function name and a dash. Respect. ๐
โจ SYNOPSIS โจ
Hereโs the signature, copy it exactly:
struct lc_element * lc_element_by_index (struct lru_cache *lc , unsigned
i );
No cap, that line break is part of the original. ๐ซถ
๐ ARGUMENTS ๐
lcโ the lru cache to operate on. Thatโs your cache main character.iโ the index of the element to return. The lil position number youโre asking for.
๐ฎ SEE ALSO ๐ฎ
Kernel file ./lib/lru_cache.c is where the lore lives, and you can also go hang out with lc_create(9), lc_destroy(9), lc_reset(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), and lc_seq_dump_details(9). Go off, bestie. ๐
Mwah ๐ this pageโs source/version is ./lib, and the date on it is October 2026.
๐ฆ 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