Lines Matching refs:request

197 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request)  in drm_agp_alloc()  argument
209 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_alloc()
210 type = (u32) request->type; in drm_agp_alloc()
222 request->handle = entry->handle; in drm_agp_alloc()
223 request->physical = memory->physical; in drm_agp_alloc()
233 struct drm_agp_buffer *request = data; in drm_agp_alloc_ioctl() local
235 return drm_agp_alloc(dev, request); in drm_agp_alloc_ioctl()
271 int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_unbind() argument
278 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_unbind()
293 struct drm_agp_binding *request = data; in drm_agp_unbind_ioctl() local
295 return drm_agp_unbind(dev, request); in drm_agp_unbind_ioctl()
311 int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_bind() argument
319 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_bind()
323 page = (request->offset + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_bind()
337 struct drm_agp_binding *request = data; in drm_agp_bind_ioctl() local
339 return drm_agp_bind(dev, request); in drm_agp_bind_ioctl()
356 int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_free() argument
362 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_free()
380 struct drm_agp_buffer *request = data; in drm_agp_free_ioctl() local
382 return drm_agp_free(dev, request); in drm_agp_free_ioctl()