vmw_mksstat_add_ioctl(9)
π
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 thedrmdevice. 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 π₯
Zeroon 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:
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_reset_ioctl(9)vmw_mksstat_remove_ioctl(9)vmw_disable_backdoor(9)
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
- 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