request_par...are_into_buf(9)
οΏ½β¨ request_partial_firmware_into_buf β¨πΎ
okay so bestie, welcome to the Kernel API Manual π β yes we're literally in the kernel docs, stay with me, this one's actually cute and short.
π NAME π
request_partial_firmware_into_buf β load partial firmware into a buffer you already allocated, no cap π«Ά
πΈ SYNOPSIS πΈ
int request_partial_firmware_into_buf (const struct firmware **firmware_p , const char *name , struct device *device , void *buf , size_t size , size_t offset );
π¦ ARGUMENTS π¦
firmware_pβ pointer to the firmware image, bestie. it's a double pointer, she's fancy πnameβ the name of the firmware file, iykyk ποΈdeviceβ the device this firmware is being loaded for, and also the one the DMA region got allocated for π«Άbufβ address of the buffer you're loading the firmware into π¦sizeβ the size of that buffer, keep it accurate fr fr πoffsetβ the offset into the file to read from, like you're skipping ahead in a playlist β©
π DESCRIPTION π
so this one works pretty much exactly like request_firmware_into_buf β like, same energy, same vibe β except it lets you do a partial read of the file. not the whole thing, just a lil slice β¨ iconic behavior honestly.
π SEE ALSO π
kernel file ./drivers/base/firmware_loader/main.c β go read the source, it's giving main character energy π
and the whole firmware-loader friend group, in this exact order:
request_firmware(9)firmware_request_nowarn(9)request_firmware_direct(9)firmware_request_platform(9)firmware_request_cache(9)request_firmware_into_buf(9)release_firmware(9)request_firmware_nowait(9)firmware_request_nowait_nowarn(9)request_firmware_nowait_cancel(9)cache_firmware(9)uncache_firmware(9)device_cache_fw_images(9)device_uncache_fw_images(9)device_uncache_fw_images_delay(9)
π reminder that this whole page lives in ./drivers/base/firmware_loader, and it's dated October 2026 β yes, future girlie behavior π§ββοΈ
k that's the whole page, mwah, go load some partial firmware ππ β request_par...are_into_buf(9) signing off π
π¦ 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