panthor_set_uobj(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… panthor_set_uobj πŸ’…

okay so bestie, welcome to the panthor_set_uobj(9) page β€” it lives in the Kernel API Manual and it's lowkey one of those tiny helper functions that does exactly one thing and does it slayfully ✨


🌸 NAME 🌸

panthor_set_uobj β€” copy kernel object to user object, no cap 🫢


✨ SYNOPSIS ✨

int panthor_set_uobj (u64 usr_ptr , u32 usr_size , u32 min_size , u32
kern_size , const void *in );

like, that's the whole signature, it's giving "small function, big responsibilities" πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • usr_ptr β€” the user's pointer, fr. that's where the user object lives 🫢
  • usr_size β€” size of the user object, bestie. gotta know how big it is πŸ’–
  • min_size β€” the minimum size for this object. it's the vibe check the object has to pass 😀
  • kern_size β€” size of the kernel object, i.e. the source side of the copy ✨
  • in β€” address of the kernel object to copy. this is the main character right here πŸ‘‘

πŸ¦‹ DESCRIPTION πŸ¦‹

it's a helper! it automates kernel -> user object copies πŸ’« nothing more, nothing less, and honestly? iconic.

no but seriously bestie listen to me: Don't use this function directly, use PANTHOR_UOBJ_SET instead. like, i'm begging you 😭 this one is the internal machinery, PANTHOR_UOBJ_SET is the one you actually talk to. iykyk 🧚

🌈 RETURN 🌈

0 on success, and a negative error code otherwise. that's it, that's the whole personality πŸŽ€


⭐ SEE ALSO ⭐

buckle up bestie, this list is long and it ATE πŸ”₯


and that's the page!! πŸ¦‹ this lil cutie comes to you straight out of ./drivers/gpu/drm/panthor, dated October 2026 β€” mwah, stan the panthor drm driver for me, bye bestie πŸ’œπŸŽ€βœ¨

πŸ“¦ where this page comes from