vmw_mksstat_reset_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ reset slay: vmw_mksstat_reset_ioctl ✨

okay so this is the vmw_mksstat_reset_ioctl(9) page from the Kernel API Manual, and it’s literally the reset button for all the mksGuestStat instance descriptors coming from the hypervisor. bestie, we’re gonna read it together and it’s gonna be iconic. πŸ’–


🌸 NAME 🌸

vmw_mksstat_reset_ioctl β€” resets all mksGuestStat instance descriptors from the hypervisor. πŸ’…

✨ SYNOPSIS ✨

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

that’s the whole signature, no cap. 🫢

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” identifies the drm device. πŸ’»
  • data β€” pointer to the ioctl argument. πŸ“¦
  • file_priv β€” identifies the caller; unused. πŸ™ˆ

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so the tea is: this discards all hypervisor PFN mappings, containing active mksGuestStat instance descriptors, unpins the related userspace pages, and frees the related kernel pages. it’s giving full cleanup era. ✨

πŸ’€ RETURN πŸ’€

zero on success, negative error code on error. so 0 is the slay outcome, and a negative error code means something went sideways. 😭

🌈 SEE ALSO 🌈

kernel file ./drivers/gpu/drm/vmwgfx/vmwgfx_msg.c, plus this whole friend group:

mwah πŸ’‹ this cutie comes from ./drivers/gpu/drm/vmwgfx and the date on it is October 2026 β€” that’s the source/version and date, bestie, periodt. πŸŽ€πŸ’–

πŸ“¦ where this page comes from