ssh_rtl_cancel(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ssh_rtl_cancel β€” Cancel request.

okay so bestie, this is the ssh_rtl_cancel page from the Kernel API Manual, and the whole vibe is canceling a request. that’s the mission. slay. 🫢


✨ SYNOPSIS ✨

the signature is literally:

bool ssh_rtl_cancel (struct ssh_request *rqst , bool pending );

πŸŽ€ ARGUMENTS πŸŽ€

  • rqst β€” the request to cancel. main character energy fr πŸ’…
  • pending β€” whether to also cancel pending requests. yes, the β€œalso” is doing serious work here 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this function cancels the given request. no cap.

If pending is false, this will not cancel pending requests β€” and by β€œpending requests” we mean requests that have already been submitted to the packet layer but have not been completed yet. iykyk ✨

If pending is true, this will cancel the given request regardless of the state it is in. state? don’t care. canceled. πŸ’€

If the request has been canceled by calling this function, both completion and release callbacks of the request will be executed in a reasonable time-frame. This may happen during execution of this function, however, there is no guarantee for this. For example, a request currently transmitting will be canceled/completed only after transmission has completed, and the respective callbacks will be executed on the transmitter thread β€” which may happen during, but also some time after execution of the cancel function. so like… timing is a vibe, not a promise 😭


🌈 RETURN 🌈

Returns true if the given request has been canceled or completed, either by this function or prior to calling this function, false otherwise. If pending is true, this function will always return true. periodt. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯


mwah πŸ’‹ that’s the whole page, bestie β€” source/version line starts with ./drivers/platform/surface/agg..., dated October 2026, and yes this iconic little manual is ssh_rtl_cancel(9). bye! πŸŽ€

πŸ“¦ where this page comes from