Searched refs:max_nr_gframes (Results 1 – 2 of 2) sorted by relevance
110 unsigned int max_nr_gframes; in platform_pci_init() local157 max_nr_gframes = gnttab_max_grant_frames(); in platform_pci_init()158 grant_frames = alloc_xen_mmio(PAGE_SIZE * max_nr_gframes); in platform_pci_init()
632 unsigned int max_nr_gframes = __max_nr_grant_frames(); in gnttab_setup_auto_xlat_frames() local639 vaddr = xen_remap(addr, PAGE_SIZE * max_nr_gframes); in gnttab_setup_auto_xlat_frames()645 pfn = kcalloc(max_nr_gframes, sizeof(pfn[0]), GFP_KERNEL); in gnttab_setup_auto_xlat_frames()650 for (i = 0; i < max_nr_gframes; i++) in gnttab_setup_auto_xlat_frames()655 xen_auto_xlat_grant_frames.count = max_nr_gframes; in gnttab_setup_auto_xlat_frames()850 unsigned int max_nr_gframes; in gnttab_setup() local852 max_nr_gframes = gnttab_max_grant_frames(); in gnttab_setup()853 if (max_nr_gframes < nr_grant_frames) in gnttab_setup()