ssam_device_is_hot_removed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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