devlink_reso...s_unregister(9)
π NAME π
okay so welcome to devlink_reso...s_unregister(9), straight outta the Kernel API Manual β¨ The function is devlink_resources_unregister, and its whole job is to free all resources β no cap, that's literally the NAME line π
β¨ SYNOPSIS β¨
void devlink_resources_unregister (struct devlink *devlink );
π ARGUMENTS π
devlinkβ thedevlinkargument. The original description is literally justdevlink, so we're not gonna pretend there's extra lore here π«Ά
π¦ CONTEXT π¦
Context check: it takes and releases devlink->lock <mutex> π₯
πΈ SEE ALSO πΈ
go read these next, bestie:
- Kernel file
./net/devlink/resource.c struct devlink_resource(9)devl_resource_register(9)devl_resources_unregister(9)devl_resource_size_get(9)devl_resource_occ_get_register(9)devl_resource_occ_get_unregister(9)devl_port_resource_register(9)devl_port_resources_unregister(9)
that's the whole page, periodt π sourced from ./net/devlink, dated October 2026, and it's devlink_reso...s_unregister(9) all the way down ππ
π¦ 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