Lines Matching defs:map
112 struct drm_local_map *const map = drm_hash_entry(hash,
113 struct drm_map_list, hash)->map;
114 if (map == NULL)
120 * what guarantees the map will continue to exist.
123 if (ISSET(map->flags, _DRM_RESTRICTED) && !capable(CAP_SYS_ADMIN))
126 if (!(map->offset <= byte_offset))
128 if (map->size < (map->offset - byte_offset))
131 return drm_legacy_mmap_map_paddr(dev, map, (byte_offset - map->offset),
151 drm_legacy_mmap_map_paddr(struct drm_device *dev, struct drm_local_map *map,
156 KASSERT(byte_offset <= map->size);
158 switch (map->type) {
167 return bus_space_mmap(map->lm_data.bus_space.bst, map->offset,
171 struct drm_dma_handle *const dmah = map->lm_data.dmah;
184 KASSERT(sg == map->lm_data.sg);