Home
last modified time | relevance | path

Searched refs:statPPNs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c804 pdesc->statPPNs[0] = page_to_pfn(virt_to_page(pstat)); in mksstat_init_kern_id()
805 reset_ppn_array(pdesc->statPPNs + 1, ARRAY_SIZE(pdesc->statPPNs) - 1); in mksstat_init_kern_id()
882 for (i = 0; i < ARRAY_SIZE(pdesc->statPPNs) && pdesc->statPPNs[i] != INVALID_PPN64; ++i) in vmw_mksstat_cleanup_descriptor()
883 unpin_user_page(pfn_to_page(pdesc->statPPNs[i])); in vmw_mksstat_cleanup_descriptor()
1026 struct page *pages_stat[ARRAY_SIZE(pdesc->statPPNs)]; in vmw_mksstat_add_ioctl()
1042 if (num_pages_stat > ARRAY_SIZE(pdesc->statPPNs) || in vmw_mksstat_add_ioctl()
1083 reset_ppn_array(pdesc->statPPNs, ARRAY_SIZE(pdesc->statPPNs)); in vmw_mksstat_add_ioctl()
1093 pdesc->statPPNs[i] = page_to_pfn(pages_stat[i]); in vmw_mksstat_add_ioctl()
/linux-6.1.9/drivers/gpu/drm/vmwgfx/device_include/
Dvm_basic_types.h140 PPN64 statPPNs[MKS_GUEST_STAT_INSTANCE_MAX_STAT_PPNS]; /* stat counters */ member