Lines Matching refs:request
176 drm_ctx_priv_map_t request;
184 request.ctx_id = request32.ctx_id;
185 request.handle = (void *)(uintptr_t)request32.handle;
188 DRM_COPYFROM_WITH_RETURN(&request, (void *)data,
189 sizeof (request));
192 if (dev->max_context < 0 || request.ctx_id >= (unsigned)
198 map = dev->context_sareas[request.ctx_id];
204 request.handle = map->handle;
209 request32.ctx_id = request.ctx_id;
210 request32.handle = (caddr32_t)(uintptr_t)request.handle;
216 &request, sizeof (request));
226 drm_ctx_priv_map_t request;
235 request.ctx_id = request32.ctx_id;
236 request.handle = (void *)(uintptr_t)request32.handle;
239 DRM_COPYFROM_WITH_RETURN(&request,
240 (void *)data, sizeof (request));
244 if (map->handle == request.handle) {
247 if (request.ctx_id >= (unsigned)dev->max_context)
249 dev->context_sareas[request.ctx_id] = map;