rio_release_dev(9)
π NAME π
okay so bestie, welcome to the rio_release_dev(9) page from the Kernel API Manual β this one is literally about freeing a RIO device struct. No cap. β¨
πΈ SYNOPSIS πΈ
void rio_release_dev (struct device *dev );
π ARGUMENTS π
devβ the LDM device associated with a RIO device struct. That's the one we're working with, periodt. π
π¦ DESCRIPTION π¦
So it gets the RIO device struct associated with the device, and then the RIO device struct is freed. That's the whole vibe: grab it, free it. π«Ά
π SEE ALSO π
bestie, if you're going down the RIO rabbit hole, the kernel file ./drivers/rapidio/rio-scan.c is right there, and these functions are the squad:
rio_destid_alloc(9)rio_destid_reserve(9)rio_destid_free(9)rio_destid_first(9)rio_destid_next(9)rio_get_device_id(9)rio_set_device_id(9)rio_clear_locks(9)rio_enum_host(9)rio_device_has_destid(9)rio_is_switch(9)rio_setup_device(9)rio_sport_is_active(9)rio_get_host_deviceid_lock(9)rio_enum_peer(9)rio_enum_complete(9)rio_disc_peer(9)rio_mport_is_active(9)rio_update_route_tables(9)rio_init_em(9)rio_enum_mport(9)rio_build_route_tables(9)rio_disc_mport(9)rio_basic_attach(9)
with love from the ./drivers/rapidio source, dated October 2026 ππβ¨
π¦ 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