• Home
  • Raw
  • Download

Lines Matching refs:request

198 int drm_agp_alloc(struct drm_device *dev, struct drm_agp_buffer *request)  in drm_agp_alloc()  argument
212 pages = (request->size + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_alloc()
213 type = (u32) request->type; in drm_agp_alloc()
225 request->handle = entry->handle; in drm_agp_alloc()
226 request->physical = memory->physical; in drm_agp_alloc()
236 struct drm_agp_buffer *request = data; in drm_agp_alloc_ioctl() local
238 return drm_agp_alloc(dev, request); in drm_agp_alloc_ioctl()
274 int drm_agp_unbind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_unbind() argument
281 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_unbind()
296 struct drm_agp_binding *request = data; in drm_agp_unbind_ioctl() local
298 return drm_agp_unbind(dev, request); in drm_agp_unbind_ioctl()
314 int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request) in drm_agp_bind() argument
322 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_bind()
326 page = (request->offset + PAGE_SIZE - 1) / PAGE_SIZE; in drm_agp_bind()
340 struct drm_agp_binding *request = data; in drm_agp_bind_ioctl() local
342 return drm_agp_bind(dev, request); in drm_agp_bind_ioctl()
359 int drm_agp_free(struct drm_device *dev, struct drm_agp_buffer *request) in drm_agp_free() argument
365 if (!(entry = drm_agp_lookup_entry(dev, request->handle))) in drm_agp_free()
383 struct drm_agp_buffer *request = data; in drm_agp_free_ioctl() local
385 return drm_agp_free(dev, request); in drm_agp_free_ioctl()