Lines Matching refs:request
132 drm_agp_buffer_t request; in DRM() local
139 if (copy_from_user(&request, (drm_agp_buffer_t *)arg, sizeof(request))) in DRM()
146 pages = (request.size + PAGE_SIZE - 1) / PAGE_SIZE; in DRM()
147 type = (u32) request.type; in DRM()
163 request.handle = entry->handle; in DRM()
164 request.physical = memory->physical; in DRM()
166 if (copy_to_user((drm_agp_buffer_t *)arg, &request, sizeof(request))) { in DRM()
192 drm_agp_binding_t request; in DRM() local
196 if (copy_from_user(&request, (drm_agp_binding_t *)arg, sizeof(request))) in DRM()
198 if (!(entry = DRM(agp_lookup_entry)(dev, request.handle))) in DRM()
209 drm_agp_binding_t request; in DRM() local
216 if (copy_from_user(&request, (drm_agp_binding_t *)arg, sizeof(request))) in DRM()
218 if (!(entry = DRM(agp_lookup_entry)(dev, request.handle))) in DRM()
221 page = (request.offset + PAGE_SIZE - 1) / PAGE_SIZE; in DRM()
234 drm_agp_buffer_t request; in DRM() local
238 if (copy_from_user(&request, (drm_agp_buffer_t *)arg, sizeof(request))) in DRM()
240 if (!(entry = DRM(agp_lookup_entry)(dev, request.handle))) in DRM()