sdma_clean(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧚 sdma_clean(9) 🧚

okay so bestie, this is from the Kernel API Manual, and it's giving β€œtiny cleanup function that's honestly so chill.” No cap, the whole page is short, but every detail is staying. πŸ’–

✨ NAME ✨

sdma_clean β€” clean up allocated memory. That's the name and the whole mood. πŸŽ€

🌸 SYNOPSIS 🌸

void sdma_clean (struct hfi1_devdata *dd , size_t num_engines );

Bestie, that signature is exactly what goes in the code block β€” spacing, semicolon, all of it. ✨

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dd β€” a struct hfi1_devdata. That's the device-data bestie in question.
  • num_engines β€” num sdma engines. Literally the sdma engine count, periodt.

πŸ’… DESCRIPTION πŸ’…

This routine can be called regardless of the success of sdma_init. Like, whether sdma_init popped off or flopped, you can still call sdma_clean β€” that's the entire vibe. 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/infiniband/hw/hfi1/sdma.c β€” that's the home base, iykyk. The whole friend group:


okay that's the whole page! source/version situation is ./drivers/infiniband/hw/hfi1, dated October 2026, and the page itself is sdma_clean(9) β€” bye bestie, slay your cleanup πŸ’–βœ¨

πŸ“¦ where this page comes from