Lines Matching refs:request

199 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request)  in drm_agp_alloc()  argument
211 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_alloc()
212 type = (u32) request->type; in drm_agp_alloc()
224 request->handle = entry->handle; in drm_agp_alloc()
225 request->physical = memory->physical; in drm_agp_alloc()
235 struct drm_agp_buffer *request = data; in drm_agp_alloc_ioctl() local
237 return drm_agp_alloc(dev, request); in drm_agp_alloc_ioctl()
273 int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_unbind() argument
280 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_unbind()
295 struct drm_agp_binding *request = data; in drm_agp_unbind_ioctl() local
297 return drm_agp_unbind(dev, request); in drm_agp_unbind_ioctl()
313 int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_bind() argument
321 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_bind()
325 page = (request->offset + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_bind()
339 struct drm_agp_binding *request = data; in drm_agp_bind_ioctl() local
341 return drm_agp_bind(dev, request); in drm_agp_bind_ioctl()
358 int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_free() argument
364 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_free()
382 struct drm_agp_buffer *request = data; in drm_agp_free_ioctl() local
384 return drm_agp_free(dev, request); in drm_agp_free_ioctl()