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.
417 DRM_ERROR("tried to rmmap GEM object\n");
436 /* The rmmap ioctl appears to be unnecessary. All mappings are torn down on
442 * gets used by drivers that the server doesn't need to care about. This seems
448 * \param arg pointer to a struct drm_map structure.
469 /* List has wrapped around to the head pointer, or its empty we didn't
532 * \param dev struct drm_device to which the buffers are to be added.
533 * \param request pointer to a struct drm_buf_desc describing the request.
537 * reallocates the buffer list of the same size order to accommodate the new
853 * \param arg pointer to a struct drm_buf_desc request.
857 * build options, it dispatches the call either to addbufs_agp(),
883 * client library to determine how best to use the available buffers (e.g.,
889 * \param arg pointer to a drm_buf_info structure.
928 struct drm_buf_desc __user *to =
932 if (copy_to_user(&to->count,
935 copy_to_user(&to->size,
938 copy_to_user(&to->low_mark,
941 copy_to_user(&to->high_mark,
967 * \param arg a pointer to a drm_buf_desc structure.
1013 * \param arg pointer to a drm_buf_free structure.
1061 * \param arg pointer to a drm_buf_map structure.
1066 * offset equal to 0, which drm_mmap() interpretes as PCI buffers and calls
1195 * is greater or equal to given number.