PVR_UOBJ_MIN_SIZE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… PVR_UOBJ_MIN_SIZE(9) β€” the kernel API manual, bestie edition

okay so you found the PVR_UOBJ_MIN_SIZE page, and honestly? it's a little macro with main character energy. it lives in the Kernel API Manual, and it's about to make your whole copy-size situation effortless. let's get into it πŸŽ€


✨ NAME ✨

PVR_UOBJ_MIN_SIZE β€” grab the minimum copy size of a compatible type object. that's it, that's the job, and it does it flawlessly πŸ’–


🌸 SYNOPSIS 🌸

PVR_UOBJ_MIN_SIZE (_obj_name );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • _obj_name β€” the name of the object. and listen: this cannot be a typename, because the typename is deduced for you. the macro is smart like that, it does not need you to spell it out πŸ™ˆ

⭐ DESCRIPTION ⭐

this cannot fail. no cap. it's giving "nothing but reliable" energy β€” the macro simply will not let you down.

the one vibe check it will enforce: using the macro with an incompatible type results in a compiler error. so if the compiler yells at you, that's not the macro being mean, that's the macro being honest πŸ’€

wanna add compatibility for a type? cute β€” just list it within the macro in an orderly fashion ✨. the second argument is the name of the last mandatory field of the struct type, and that's what gets used to calculate the size. iykyk.

see also PVR_UOBJ_DECL β€” they're besties, they show up together 🫢


πŸ”₯ RETURN πŸ”₯

the minimum copy size. slay. that's the whole return value, and it ate πŸ’…


🌈 SEE ALSO 🌈


and that's the whole page, bestie β€” no notes, periodt ✨

sign-off szn: this iconic little page comes from ./drivers/gpu/drm/imagination, dated October 2026. go forth and fetch those minimum copy sizes responsibly πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from