sdma_clean(9)
π§ 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β astruct 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:
sdma_state_name(9)sdma_get_descq_cnt(9)sdma_engine_get_vl(9)sdma_select_engine_vl(9)sdma_select_engine_sc(9)sdma_seqfile_dump_cpu_list(9)sdma_map_init(9)sdma_init(9)sdma_all_running(9)sdma_start(9)sdma_exit(9)__sdma_txclean(9)sdma_engine_error(9)sdma_seqfile_dump_sde(9)sdma_send_txreq(9)sdma_send_txlist(9)sdma_ahg_alloc(9)sdma_ahg_free(9)_sdma_engine_progress_schedule(9)
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
- 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