STRUCT NBPF_DESC(9)
π struct nbpf_desc π
okay so this page lives in the Kernel API Manual (yes, that's the manual name, we're fancy now β¨) and it's all about struct nbpf_desc β literally the DMA transfer descriptor, no cap π«Ά
πΈ NAME πΈ
struct nbpf_desc β the DMA transfer descriptor. that's it, that's the whole vibe. a little struct with a big job π
β¨ SYNOPSIS β¨
struct nbpf_desc {
struct dma_async_tx_descriptor async_tx;
bool user_wait;
size_t length;
struct nbpf_channel *chan;
struct list_head sg;
struct list_head node;
};
like, look at her. six fields. main character energy fr fr π
π Members π
async_txβ thedmaengineobject. the actual engine-y part, she's the plug πuser_waitβ aboolthat says we're waiting for a user ack. yes bestie, we're on read until they respond πlengthβ the total transfer length,size_tand everything. how much we're moving, iconic π«chanβ the associated DMAC channel, astruct nbpf_channel *. her assigned channel, iykyk π¦sgβ astruct list_headthat's the list of hardware descriptors, represented bystruct nbpf_link_desc. not the scatterlist itself, the list of hardware descriptors β read it carefully babe, there will be a quiz πnodeβ astruct list_headthat's this struct's member in channel descriptor lists. she's on the list, literally π
π SEE ALSO π
- Kernel file
./drivers/dma/nbpfaxi.c struct nbpf_channel(9)β go read it next, it's giving sequel energy π¬
lowkey reminder: this is kernel API docs, so likeβ¦ the details matter. every field, every type, every pointer. slay responsibly π
and that's the whole thing bestie, hope it ate π this was ./drivers/dma, October 2026, struct nbpf_desc(9) β mwah, see u in the next manpage π§ββοΈβ
π¦ 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