uncache_firmware(9)
π uncache_firmware(9) β bestie's guide to yeeting one cached firmware image
okay so this is a page from the Kernel API Manual (uncache_firmware(9)), and honestly? it's a short one, but it's iconic. let's get into it β¨
πΈ NAME πΈ
uncache_firmware β remove one cached firmware image. literally just one. not all of them. one. π
π¦ SYNOPSIS π¦
int uncache_firmware (const char *fw_name );
that's it. that's the whole vibe. one function, one argument, one return value. main character energy fr fr π
β¨ ARGUMENTS β¨
fw_nameβ the firmware image name. like, the name of the firmware image. that's the whole thing. π«Ά
π₯ DESCRIPTION π₯
Uncache one firmware image which has been cached successfully before. so like, it has to have actually been cached first, bestie β no cap, that's the prerequisite. π
Return 0 if the firmware cache has been removed successfully. Return !0 otherwise. so zero means slay, not-zero means something went sideways. π
lowkey important: it's0for success and!0for not-success. don't flip those or you're gonna have a bad time π
π SEE ALSO π
okay this is the part where the page goes absolutely off with the cross-references, so buckle up π’
- Kernel file
./drivers/base/firmware_loader/main.c request_firmware(9)firmware_request_nowarn(9)request_firmware_direct(9)firmware_request_platform(9)firmware_request_cache(9)request_firmware_into_buf(9)request_partial_firmware_into_buf(9)release_firmware(9)request_firmware_nowait(9)firmware_request_nowait_nowarn(9)request_firmware_nowait_cancel(9)cache_firmware(9)device_cache_fw_images(9)device_uncache_fw_images(9)device_uncache_fw_images_delay(9)
like, the whole firmware loader friend group showed up. we love a supportive squad π§π
π sign-off π
this little beauty lives in ./drivers/base/firmware_loader, and the version we're looking at is from October 2026. go forth and uncache responsibly, bestie β mwah ππΈ
π¦ 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