Searched refs:pages_stat (Results 1 – 1 of 1) sorted by relevance
1002 struct page **pages_stat = NULL; in vmw_mksstat_add_ioctl() local1035 pages_stat = (struct page **)kmalloc_array( in vmw_mksstat_add_ioctl()1038 ARRAY_SIZE(pdesc->strsPPNs), sizeof(*pages_stat), GFP_KERNEL); in vmw_mksstat_add_ioctl()1040 if (!pages_stat) in vmw_mksstat_add_ioctl()1043 pages_info = pages_stat + ARRAY_SIZE(pdesc->statPPNs); in vmw_mksstat_add_ioctl()1074 nr_pinned_stat = pin_user_pages_fast(arg->stat, num_pages_stat, FOLL_LONGTERM, pages_stat); in vmw_mksstat_add_ioctl()1079 pdesc->statPPNs[i] = page_to_pfn(pages_stat[i]); in vmw_mksstat_add_ioctl()1107 kfree(pages_stat); in vmw_mksstat_add_ioctl()1120 unpin_user_pages(pages_stat, nr_pinned_stat); in vmw_mksstat_add_ioctl()1126 kfree(pages_stat); in vmw_mksstat_add_ioctl()