Lines Matching defs:map
170 enum drm_map_type type; /* Type of memory to map */
181 struct drm_map map;
187 map.offset = m32.offset;
188 err = drm_ioctl_kernel(file, drm_legacy_getmap_ioctl, &map, 0);
192 m32.offset = map.offset;
193 m32.size = map.size;
194 m32.type = map.type;
195 m32.flags = map.flags;
196 m32.handle = ptr_to_compat((void __user *)map.handle);
197 m32.mtrr = map.mtrr;
209 struct drm_map map;
215 map.offset = m32.offset;
216 map.size = m32.size;
217 map.type = m32.type;
218 map.flags = m32.flags;
220 err = drm_ioctl_kernel(file, drm_legacy_addmap_ioctl, &map,
225 m32.offset = map.offset;
226 m32.mtrr = map.mtrr;
227 m32.handle = ptr_to_compat((void __user *)map.handle);
228 if (map.handle != compat_ptr(m32.handle))
230 map.handle, m32.type, m32.offset);
242 struct drm_map map;
247 map.handle = compat_ptr(handle);
248 return drm_ioctl_kernel(file, drm_legacy_rmmap_ioctl, &map, DRM_AUTH);
506 u32 handle; /**< Handle of map */