rio_dev_put(9)
π NAME π
okay so bestie, this is the Kernel API Manual page for rio_dev_put(9) β and it's literally about releasing a use of the RIO device structure. slay, let's go π¦
β¨ SYNOPSIS β¨
void rio_dev_put (struct rio_dev *rdev );
π ARGUMENTS π
rdevβ the RIO device being disconnected. that's the one you're handing over, periodt π
πΈ DESCRIPTION πΈ
okay so here's the vibe: you must call this when a user of a device is finished with it. no skipping, no "I'll do it later" β it's giving required cleanup energy β¨
and when the last user of the device calls this function, the memory of the device is freed. that's the main character moment: final user out, memory gets freed π«Ά
π₯ SEE ALSO π₯
Kernel file ./drivers/rapidio/rio-driver.c is right here, bestie:
rio_match_device(9)rio_dev_get(9)rio_device_probe(9)rio_device_remove(9)rio_register_driver(9)rio_unregister_driver(9)rio_match_bus(9)rio_bus_init(9)
and that's the whole page, no cap. cute sign-off from ./drivers/rapidio, dated October 2026, for rio_dev_put(9) β mwah, go release that use ππ
π¦ 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