devl_resource_size_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” the devlink. 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, bestie
  • p_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 🌈

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