vmw_mksstat_reset_ioctl(9)
β¨ 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:
vmw_open_channel(9)vmw_close_channel(9)vmw_port_hb_out(9)vmw_port_hb_in(9)vmw_send_msg(9)vmw_recv_msg(9)vmw_host_get_guestinfo(9)vmw_host_printf(9)vmw_msg_ioctl(9)reset_ppn_array(9)hypervisor_ppn_reset_all(9)hypervisor_ppn_add(9)hypervisor_ppn_remove(9)mksstat_init_record_time(9)mksstat_init_kern_id(9)vmw_mksstat_get_kern_slot(9)vmw_mksstat_cleanup_descriptor(9)vmw_mksstat_remove_all(9)vmw_mksstat_add_ioctl(9)vmw_mksstat_remove_ioctl(9)vmw_disable_backdoor(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms