dpdmai_destroy(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ dpdmai_destroy β€” it's a (9) kernel API manual bestie, section 9, we're in the kernel pages now πŸ’…

okay so welcome to the glow-up of dpdmai_destroy(9) β€” this is the Kernel API Manual entry, and honestly it's a little short but it does exactly what it says on the tin πŸŽ€

πŸ’– NAME πŸ’–

dpdmai_destroy β€” destroy the DPDMAI object and release, like, all of its resources. no cap, every last one. it's giving "clean up your room before your mom gets home" energy 🧹✨

🌸 SYNOPSIS 🌸

int dpdmai_destroy (struct fsl_mc_io *mc_io , u32 cmd_flags , u32
dpdmai_id , u16 token );

like yes that's the whole vibe β€” one function, four args, returns an int. iconic honestly πŸ‘‘

πŸ¦‹ ARGUMENTS πŸ¦‹

okay bestie let's go through the receipts one by one:

  • mc_io β€” pointer to the MC portal's I/O object. like, the whole portal situation πŸŒ€
  • cmd_flags β€” command flags; one or more of 'MC_CMD_FLAG_' β€” yes it's written with that trailing underscore in the original, we don't question the kernel elders πŸ™ˆ
  • dpdmai_id β€” the object id; it must be a valid id within the container that created this object. fr fr, valid ids only, no funny business 🚨
  • token β€” token of the DPDMAI object 🎫 (the token is u16, in case you were wondering, and yes it's right there in the synopsis, i got you)

🌈 RETURN 🌈

okay so real talk: the original page has this heading and then... nothing. zero. silence. an empty section. 😭 so there is literally no return value documented here β€” i'm not gonna invent one for you, that would be lying and we don't do that in this group chat. the function signature says int, that's all we know, periodt. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

where to next?? the kernel file is ./drivers/dma/fsl-dpaa2-qdma/dpdmai.c if you wanna go read the source like the main character you are, and also pls check out the whole friend group:

that's the whole squad, go say hi 🫢


πŸ’œ little reminder babe: this page lives under ./drivers/dma/fsl-dpaa2-qdma and the dated footer on the original says October 2026, page name dpdmai_destroy(9). so yeah β€” ./drivers/dma/fsl-dpaa2-qdma, October 2026, dpdmai_destroy(9). mwah, go destroy some objects responsibly πŸ’…πŸ“πŸŒΈ
πŸ“¦ where this page comes from