qed_chain_set_prod(9)
π qed_chain_set_prod β a whole vibe from the Kernel API Manual, bestie
Okay so like, this is qed_chain_set_prod(9) and honestly? It's giving "one tiny job, absolutely no drama." Let's get into it π
β¨ NAME β¨
qed_chain_set_prod β sets the prod to the given value. That's it. That's the whole personality. Iconic, lowkey π«Ά
πΈ SYNOPSIS πΈ
void qed_chain_set_prod (struct qed_chain *p_chain , u32 prod_idx , void
*p_prod_elem );
Not me wrapping lines exactly like the original did π yes bestie, it really does break after void and before *p_prod_elem. Preserve the ~aesthetic~.
π¦ ARGUMENTS π¦
p_chainβ the Chain. Like, the chain in question. That's the whole description and I respect the brevity fr fr.prod_idxβ the Prod Idx. Yes, that's genuinely all it says. Short king energy πp_prod_elemβ the Prod elem. Your element. The one you're producing. Slay π
β DESCRIPTION β
So what does it do? The description says, and I quote the vibe: Return Void.
No cap, that's the entire DESCRIPTION section in the original. So: the description is that it returns void. That's the tea. Nothing more to spill π
π₯ SEE ALSO π₯
Kernel file: ./include/linux/qed/qed_chain.h β go read it, bestie, it's right there π
And the whole friend group, in this exact order:
qed_chain_advance_page(9)qed_chain_return_produced(9)qed_chain_produce(9)qed_chain_get_capacity(9)qed_chain_recycle_consumed(9)qed_chain_consume(9)qed_chain_reset(9)qed_chain_get_last_elem(9)qed_chain_pbl_zero_mem(9)
Heads up bestie: this page is thin on purpose. Don't go inventing behavior for it β everything above is literally everything the original says π«Ά
And that's the whole page, mwah π brought to you by the fine people at ./include/linux/qed, dated October 2026, in the Kernel API Manual. Bye bestie, go set some prods πβ¨
π¦ 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