Lines Matching refs:m32
172 drm_map32_t m32; in compat_drm_getmap() local
176 if (copy_from_user(&m32, argp, sizeof(m32))) in compat_drm_getmap()
179 map.offset = m32.offset; in compat_drm_getmap()
184 m32.offset = map.offset; in compat_drm_getmap()
185 m32.size = map.size; in compat_drm_getmap()
186 m32.type = map.type; in compat_drm_getmap()
187 m32.flags = map.flags; in compat_drm_getmap()
188 m32.handle = ptr_to_compat(map.handle); in compat_drm_getmap()
189 m32.mtrr = map.mtrr; in compat_drm_getmap()
190 if (copy_to_user(argp, &m32, sizeof(m32))) in compat_drm_getmap()
200 drm_map32_t m32; in compat_drm_addmap() local
204 if (copy_from_user(&m32, argp, sizeof(m32))) in compat_drm_addmap()
207 map.offset = m32.offset; in compat_drm_addmap()
208 map.size = m32.size; in compat_drm_addmap()
209 map.type = m32.type; in compat_drm_addmap()
210 map.flags = m32.flags; in compat_drm_addmap()
217 m32.offset = map.offset; in compat_drm_addmap()
218 m32.mtrr = map.mtrr; in compat_drm_addmap()
219 m32.handle = ptr_to_compat(map.handle); in compat_drm_addmap()
220 if (map.handle != compat_ptr(m32.handle)) in compat_drm_addmap()
222 map.handle, m32.type, m32.offset); in compat_drm_addmap()
224 if (copy_to_user(argp, &m32, sizeof(m32))) in compat_drm_addmap()