vmw_mksstat_add_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… vmw_mksstat_add_ioctl(9) β€” Kernel API Manual energy ✨

okay so bestie, welcome to the page for vmw_mksstat_add_ioctl(9) in the Kernel API Manual. This is the ioctl-side bestie that creates a single userspace-originating mksGuestStat instance descriptor and registers that descriptor with the hypervisor. no cap 🫢


πŸ’– NAME πŸ’–

vmw_mksstat_add_ioctl β€” creates a single userspace-originating mksGuestStat instance descriptor and registers that with the hypervisor. periodt πŸ’…


✨ SYNOPSIS ✨

int vmw_mksstat_add_ioctl (struct drm_device *dev , void *data , struct
drm_file *file_priv );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” identifies the drm device. main character device energy fr fr.
  • data β€” pointer to the ioctl argument. literally the payload pointer, bestie πŸ“.
  • file_priv β€” identifies the caller; unused. not it being here just for caller ID and then not being used πŸ’€.

🌸 DESCRIPTION 🌸

so what it does: creates a hypervisor PFN mapping, containing a single mksGuestStat instance descriptor, and pins the corresponding userspace pages. That’s the whole flex, and it ate ✨.


πŸ”₯ RETURN πŸ”₯

  • Zero on success πŸŽ‰
  • a negative error code on error 😭

πŸ¦‹ SEE ALSO πŸ¦‹

The kernel file is ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c, and the whole squad is:


okay that’s the whole page, bestie. Signed off by ./drivers/gpu/drm/vmwgfx, dated October 2026, and filed under vmw_mksstat_add_ioctl(9). periodt πŸ’…βœ¨

πŸ“¦ where this page comes from