stratix10_svc_async_done(9)
π« stratix10_svc_async_done(9) π«
okay so bestie, welcome to the Kernel API Manual β this one's a lil function called stratix10_svc_async_done, and honestly? it's giving cleanup era. π§Ήβ¨
πΈ NAME πΈ
stratix10_svc_async_done β complete an asynchronous transaction. that's it, that's the vibe. π
β¨ SYNOPSIS β¨
int stratix10_svc_async_done (struct stratix10_svc_chan *chan , void *tx_handle );
like, you hand it a channel and a handle and it returns an int. no cap, that's the whole signature. π
π«Ά ARGUMENTS π«Ά
chanβ pointer to the service channel structure. yes bestie, the channel β the struct you already know and love. πtx_handleβ pointer to the transaction handle. it's avoid *, so it's mysterious and lowkey main character energy. π₯
π¦ DESCRIPTION π¦
so what does it do? stratix10_svc_async_done completes an asynchronous transaction β and the way it does that is honestly so satisfying: it removes the transaction from the hash table and deallocates the associated resources. ποΈβ¨
that's it. hash table entry: gone. resources: freed. closure: achieved. it's giving responsible memory management, and we stan. π
β RETURN β
0on success π-EINVALon invalid input or errors π
fr fr check your inputs before you call this β -EINVAL is the universe telling you something was not it. π
π§ SEE ALSO π§
the whole friend group, assembled. π
- Kernel file
./include/linux/firmware/intel/stratix10-svc-client.h enum stratix10_svc_command_code(9)struct stratix10_svc_client_msg(9)struct stratix10_svc_command_config_type(9)struct stratix10_svc_cb_data(9)struct stratix10_svc_client(9)stratix10_svc_request_channel_byname(9)stratix10_svc_free_channel(9)stratix10_svc_allocate_memory(9)stratix10_svc_free_memory(9)stratix10_svc_send(9)stratix10_svc_done(9)async_callback_t(9)stratix10_svc_add_async_client(9)stratix10_svc_remove_async_client(9)stratix10_svc_async_send(9)stratix10_svc_async_poll(9)
and that's the page!! π this lil masterpiece lives in ./include/linux/firmware/intel, dated October 2026, and it's part of the good old Kernel API Manual. go forth and complete your async transactions, bestie β ily, mwah π«ΆππΈ
π¦ 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