cmdq_pkt_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cmdq_pkt_destroy(9) β€” from the Kernel API Manual, bestie

okay so. this is a page straight out of the Kernel API Manual, and it's about one (1) tiny little function that does exactly what it says on the tin. no cap.


✨ NAME ✨

cmdq_pkt_destroy β€” destroy the CMDQ packet πŸ—‘οΈπŸ’–

like... that's it. that's the whole job. she destroys the packet. icon behavior.


🌸 SYNOPSIS 🌸

void cmdq_pkt_destroy (struct cmdq_client *client , struct cmdq_pkt *pkt
);

so it's void β€” meaning it hands nothing back to you, no return value, no little receipt, nada. it just does the thing and dips. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • client β€” the CMDQ mailbox client 🏀 like, the mailbox-y context this whole situation lives in.
  • pkt β€” the CMDQ packet πŸ“¦ the actual packet being destroyed. gone. reduced to atoms.

both of these are pointers, so pls don't hand her garbage β€” she's a struct girlie and she knows what she's about.


πŸ¦‹ SEE ALSO πŸ¦‹

first up, the source of truth, the mothership:

  • Kernel file ./include/linux/soc/mediatek/mtk-cmdq.h

and then the whole extended friend group β€” every single one of these cmdq besties:

not me listing twenty-eight (28) manpages like it's a groupchat roll call 😭 every single one kept, bestie. i don't gatekeep. πŸ’œ


ngl the original page says absolutely nothing about what happens if you pass a bad pointer or double-destroy, so i'm not gonna sit here and invent lore about it. don't be weird, pass real pointers. periodt. πŸ”₯

and that's the page! πŸŽ€ source: ./include/linux/soc/mediatek, dated October 2026, and the title duh β€” cmdq_pkt_destroy(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from