Lines Matching refs:pages
205 unsigned long pages;
216 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE;
218 if (!(memory = agp_alloc_memory(dev->agp->bridge, type, pages << PAGE_SHIFT))) {
226 entry->pages = pages;
378 drm_free_agp(entry->memory, entry->pages);
425 * Binds a collection of pages into AGP memory at the given offset, returning
428 * No reference is held on the pages during this time -- it is up to the
433 struct page **pages,
446 DRM_ERROR("Failed to allocate memory for %ld pages\n",
452 mem->pages[i] = pages[i];