Lines Matching refs:request

47 	drm_buf_desc_t    request;  in r128_addbufs_agp()  local
63 if (copy_from_user(&request, in r128_addbufs_agp()
65 sizeof(request))) in r128_addbufs_agp()
68 count = request.count; in r128_addbufs_agp()
69 order = drm_order(request.size); in r128_addbufs_agp()
72 alignment = (request.flags & _DRM_PAGE_ALIGN) ? PAGE_ALIGN(size):size; in r128_addbufs_agp()
77 agp_offset = dev->agp->base + request.agp_start; in r128_addbufs_agp()
183 request.count = entry->buf_count; in r128_addbufs_agp()
184 request.size = size; in r128_addbufs_agp()
187 &request, in r128_addbufs_agp()
188 sizeof(request))) in r128_addbufs_agp()
204 drm_buf_desc_t request; in r128_addbufs() local
208 if (copy_from_user(&request, in r128_addbufs()
210 sizeof(request))) in r128_addbufs()
214 if (request.flags & _DRM_AGP_BUFFER) in r128_addbufs()
232 drm_buf_map_t request; in r128_mapbufs() local
247 if (copy_from_user(&request, in r128_mapbufs()
249 sizeof(request))) in r128_mapbufs()
252 if (request.count >= dma->buf_count) { in r128_mapbufs()
279 request.virtual = (void *)virtual; in r128_mapbufs()
282 if (copy_to_user(&request.list[i].idx, in r128_mapbufs()
284 sizeof(request.list[0].idx))) { in r128_mapbufs()
288 if (copy_to_user(&request.list[i].total, in r128_mapbufs()
290 sizeof(request.list[0].total))) { in r128_mapbufs()
294 if (copy_to_user(&request.list[i].used, in r128_mapbufs()
301 if (copy_to_user(&request.list[i].address, in r128_mapbufs()
310 request.count = dma->buf_count; in r128_mapbufs()
311 DRM_DEBUG("%d buffers, retcode = %d\n", request.count, retcode); in r128_mapbufs()
314 &request, in r128_mapbufs()
315 sizeof(request))) in r128_mapbufs()