cache_key_lend(9)
cache_key_lend(9) β from the Kernel API Manual β okay so bestie, we're doing kernel-page group-chat energy today and it's gonna be iconic π
β¨
π NAME π
cache_key_lend β Retrieves the logical end offset of a cache key. That's the whole vibe: logical end offset, cache key, slay π
β¨ SYNOPSIS β¨
u64 cache_key_lend (struct pcache_cache_key *key );
πΈ ARGUMENTS πΈ
keyβ pointer to apcache_cache_keystructure. literally just a pointer, bestie π«Ά
π¦ DESCRIPTION π¦
Returns the logical end offset for the cache key. no cap, that's the move π«
π SEE ALSO π
okay so the kernel file is ./drivers/md/dm-pcache/cache.h, and these are the sibling pages you should also peek at π:
cache_seg_is_ctrl_seg(9)cache_seg_id_valid(9)cache_key_cutfront(9)cache_key_cutback(9)cache_key_data_crc(9)kset_onmedia_valid(9)cache_seg_remain(9)cache_key_invalid(9)cache_key_lstart(9)cache_pos_onmedia_crc(9)
mwah π this little page lives under ./drivers/md/dm-pcache, is dated October 2026, and answers to cache_key_lend(9) β bye bestie, go read those siblings π§π
π¦ 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