copy_xstate_to_uabi_buf(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

copy_xstate_to_uabi_buf β€” Copy kernel saved xstate to a UABI buffer. This is the copy_xstate_to_uabi_buf(9) page from the Kernel API Manual, bestie, and we're keeping it cute and complete. ✨

🌈 SYNOPSIS 🌈

void copy_xstate_to_uabi_buf (struct membuf to , struct task_struct *tsk
, enum xstate_copy_mode copy_mode );

πŸŽ€ ARGUMENTS πŸŽ€

  • to β€” membuf descriptor. Literally the descriptor, okay?
  • tsk β€” The task from which to copy the saved xstate.
  • copy_mode β€” The requested copy mode.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this one converts from kernel XSAVE or XSAVES compacted format to UABI conforming format, i.e. from the kernel internal hardware dependent storage format to the requested mode. And the vibe check: UABI XSTATE is always uncompacted! No cap. πŸ’…

It supports partial copy, but to.pos always starts from zero. That's the rule, bestie.

πŸ‘‘ SEE ALSO πŸ‘‘


Sign-off cuteness: this page comes from ./arch/x86/kernel/fpu, dated October 2026, and it's all for copy_xstate_to_uabi_buf(9). Stay iconic, bestie. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from