Lines Matching defs:to

21  * Permission is hereby granted, free of charge, to any person obtaining a
23 * to deal in the Software without restriction, including without limitation
24 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
25 * and/or sell copies of the Software, and to permit persons to whom the
26 * Software is furnished to do so, subject to the following conditions:
106 * Core function to create a range of memory available for mapping by a
109 * Adjusts the memory offset to its absolute value according to the mapping
110 * type. Adds the map to the map list drm_device::maplist. Adds MTRR's where
133 /* Only allow shared memory to be removable since we only keep enough
134 * book keeping information about shared memory to allow for removal
146 * a non-aligned quantity to map the SAREA. --BenH
168 * needing to be aware of it. Therefore, we just return success
169 * when the server tries to create a duplicate map.
224 dev->primary->master->lock.hw_lock = map->handle; /* Pointer to lock */
238 DRM_ERROR("failed to alloc AGP aperture");
255 DRM_ERROR("tried to addmap GEM object\n");
329 * Ioctl to specify a range of memory that is available for mapping by a
335 * \param arg pointer to a drm_map structure.
414 DRM_ERROR("tried to rmmap GEM object\n");
433 /* The rmmap ioctl appears to be unnecessary. All mappings are torn down on
439 * gets used by drivers that the server doesn't need to care about. This seems
445 * \param arg pointer to a struct drm_map structure.
466 /* List has wrapped around to the head pointer, or its empty we didn't
529 * \param dev struct drm_device to which the buffers are to be added.
530 * \param request pointer to a struct drm_buf_desc describing the request.
534 * reallocates the buffer list of the same size order to accommodate the new
850 * \param arg pointer to a struct drm_buf_desc request.
854 * build options, it dispatches the call either to addbufs_agp(),
880 * client library to determine how best to use the available buffers (e.g.,
886 * \param arg pointer to a drm_buf_info structure.
925 struct drm_buf_desc __user *to =
929 if (copy_to_user(&to->count,
932 copy_to_user(&to->size,
935 copy_to_user(&to->low_mark,
938 copy_to_user(&to->high_mark,
964 * \param arg a pointer to a drm_buf_desc structure.
1010 * \param arg pointer to a drm_buf_free structure.
1058 * \param arg pointer to a drm_buf_map structure.
1063 * offset equal to 0, which drm_mmap() interpretes as PCI buffers and calls
1192 * is greater or equal to given number.