devl_resource_size_get(9)
π devl_resource_size_get(9) β like, the glow-up guide
okay so bestie, welcome to the Kernel API Manual β¨ this one's about devl_resource_size_get(9), and honestly? it's giving "small function, big responsibility." let's get into it π
πΈ NAME πΈ
devl_resource_size_get β get and update size. yes queen, both. multitasking icon π
β¨ SYNOPSIS β¨
int devl_resource_size_get (struct devlink *devlink , u64 resource_id ,
u64 *p_resource_size );
like literally that's the whole vibe. int return, three args, no cap π«Ά
π¦ ARGUMENTS π¦
devlinkβ thedevlink. that's it, that's the description. the manpage said devlink and honestly? so valid of it πresource_idβ the requested resource id π₯ this is the one you're asking about, bestiep_resource_sizeβ ptr to update β it's a pointer, it gets updated, that's the whole deal
ngl, the arguments section is short and sweet. not every page needs a whole essay π
π SEE ALSO π
go read these too, iykyk π
- Kernel file
./net/devlink/resource.c struct devlink_resource(9)devl_resource_register(9)devl_resources_unregister(9)devlink_resources_unregister(9)devl_resource_occ_get_register(9)devl_resource_occ_get_unregister(9)devl_port_resource_register(9)devl_port_resources_unregister(9)
like, the whole resource.c friend group fr fr π§
mwah π that's the page. this lil number lives in ./net/devlink and the manual itself is dated October 2026 β yes, we're ahead of schedule, main character energy only πβ°
stay hydrated, read your manpages, and slay β¨π πΈ
π¦ 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