Lines Matching refs:request

43 	drm_buf_desc_t request;  in i810_addbufs_agp()  local
59 if (copy_from_user(&request, in i810_addbufs_agp()
61 sizeof(request))) in i810_addbufs_agp()
64 count = request.count; in i810_addbufs_agp()
65 order = drm_order(request.size); in i810_addbufs_agp()
67 agp_offset = request.agp_start; in i810_addbufs_agp()
68 alignment = (request.flags & _DRM_PAGE_ALIGN) ? PAGE_ALIGN(size) :size; in i810_addbufs_agp()
162 request.count = entry->buf_count; in i810_addbufs_agp()
163 request.size = size; in i810_addbufs_agp()
166 &request, in i810_addbufs_agp()
167 sizeof(request))) in i810_addbufs_agp()
178 drm_buf_desc_t request; in i810_addbufs() local
180 if (copy_from_user(&request, in i810_addbufs()
182 sizeof(request))) in i810_addbufs()
185 if(request.flags & _DRM_AGP_BUFFER) in i810_addbufs()
197 drm_buf_info_t request; in i810_infobufs() local
211 if (copy_from_user(&request, in i810_infobufs()
213 sizeof(request))) in i810_infobufs()
222 if (request.count >= count) { in i810_infobufs()
225 if (copy_to_user(&request.list[count].count, in i810_infobufs()
229 copy_to_user(&request.list[count].size, in i810_infobufs()
232 copy_to_user(&request.list[count].low_mark, in i810_infobufs()
237 copy_to_user(&request.list[count] in i810_infobufs()
255 request.count = count; in i810_infobufs()
258 &request, in i810_infobufs()
259 sizeof(request))) in i810_infobufs()
271 drm_buf_desc_t request; in i810_markbufs() local
277 if (copy_from_user(&request, in i810_markbufs()
279 sizeof(request))) in i810_markbufs()
283 request.size, request.low_mark, request.high_mark); in i810_markbufs()
284 order = drm_order(request.size); in i810_markbufs()
288 if (request.low_mark < 0 || request.low_mark > entry->buf_count) in i810_markbufs()
290 if (request.high_mark < 0 || request.high_mark > entry->buf_count) in i810_markbufs()
293 entry->freelist.low_mark = request.low_mark; in i810_markbufs()
294 entry->freelist.high_mark = request.high_mark; in i810_markbufs()
305 drm_buf_free_t request; in i810_freebufs() local
312 if (copy_from_user(&request, in i810_freebufs()
314 sizeof(request))) in i810_freebufs()
317 DRM_DEBUG("%d\n", request.count); in i810_freebufs()
318 for (i = 0; i < request.count; i++) { in i810_freebufs()
320 &request.list[i], in i810_freebufs()