ssam_device_is_hot_removed(9)
β¨ ssam_device_is_hot_removed(9) β¨
okay so bestie, welcome to the ssam_device_is_hot_removed(9) page from the Kernel API Manual π
this one is literally a one-job function and honestly? it ate.
πΈ NAME πΈ
ssam_device_is_hot_removed β check if the given device has been hot-removed, no cap π«Ά
π SYNOPSIS π
bool ssam_device_is_hot_removed (struct ssam_device *sdev );
π¦ ARGUMENTS π¦
sdevβ the device to check. that's it, that's the whole input, she's lowkey simple like that π
π DESCRIPTION π
so what she does is check if the given device has been marked as hot-removed. yes, marked β somebody else does the marking, she just checks π
for the actual deets on the marking situation, go read ssam_device_mark_hot_removed. she's the main character of that story, this one is just the vibe check π
β RETURN β
returns true if the device has been marked as hot-removed. that's the whole answer, no in-between, no "it depends" β iconic behavior fr fr β¨
ngl bestie the page literally only says what it returns in the true case, so don't come for me about the other branch, that's just what the manpage gives us π
π SEE ALSO π
okay this list is genuinely so long, she brought her whole friend group π but every single one of them matters:
Kernel file ./include/linux/surface_aggregator/device.h, enum ssam_device_domain(9), enum ssam_virtual_tc(9), struct ssam_device_uid(9), SSAM_DEVICE(9), SSAM_VDEV(9), SSAM_SDEV(9), struct ssam_device(9), struct ssam_device_driver(9), is_ssam_device(9), to_ssam_device(9), to_ssam_device_driver(9), ssam_device_mark_hot_removed(9), ssam_device_get(9), ssam_device_put(9), ssam_device_get_drvdata(9), ssam_device_set_drvdata(9), ssam_device_driver_register(9), module_ssam_device_driver(9), ssam_register_clients(9), ssam_device_register_clients(9), SSAM_DEFINE_SYNC_REQUEST_CL_N(9), SSAM_DEFINE_SYNC_REQUEST_CL_W(9), SSAM_DEFINE_SYNC_REQUEST_CL_R(9), SSAM_DEFINE_SYNC_REQUEST_CL_WR(9), ssam_device_notifier_register(9), ssam_device_notifier_unregister(9)
and that's the whole page, bestie, we're done π this lil gem comes from ./include/linux/surface_aggreg... and she's stamped October 2026, so go forth and check those devices ππ¦β¨
π¦ 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