/drivers/gpu/drm/ |
D | drm_ioctl.c | 184 struct drm_map_list *r_list = NULL; in drm_getmap() local 200 r_list = list_entry(list, struct drm_map_list, head); in drm_getmap() 205 if (!r_list || !r_list->map) { in drm_getmap() 210 map->offset = r_list->map->offset; in drm_getmap() 211 map->size = r_list->map->size; in drm_getmap() 212 map->type = r_list->map->type; in drm_getmap() 213 map->flags = r_list->map->flags; in drm_getmap() 214 map->handle = (void *)(unsigned long) r_list->user_token; in drm_getmap() 215 map->mtrr = r_list->map->mtrr; in drm_getmap()
|
D | drm_context.c | 190 struct drm_map_list *r_list = NULL; in drm_setsareactx() local 193 list_for_each_entry(r_list, &dev->maplist, head) { in drm_setsareactx() 194 if (r_list->map in drm_setsareactx() 195 && r_list->user_token == (unsigned long) request->handle) in drm_setsareactx() 203 map = r_list->map; in drm_setsareactx()
|
D | drm_stub.c | 121 struct drm_map_list *r_list, *list_temp; in drm_master_destroy() local 128 list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) { in drm_master_destroy() 129 if (r_list->master == master) { in drm_master_destroy() 130 drm_rmmap_locked(dev, r_list->map); in drm_master_destroy() 131 r_list = NULL; in drm_master_destroy()
|
D | drm_vm.c | 95 struct drm_map_list *r_list; in drm_do_vm_fault() local 110 r_list = drm_hash_entry(hash, struct drm_map_list, hash); in drm_do_vm_fault() 111 map = r_list->map; in drm_do_vm_fault() 213 struct drm_map_list *r_list; in drm_vm_shm_close() local 238 list_for_each_entry(r_list, &dev->maplist, head) { in drm_vm_shm_close() 239 if (r_list->map == map) in drm_vm_shm_close()
|
D | drm_bufs.c | 384 struct drm_map_list *r_list = NULL, *list_t; in drm_rmmap_locked() local 390 list_for_each_entry_safe(r_list, list_t, &dev->maplist, head) { in drm_rmmap_locked() 391 if (r_list->map == map) { in drm_rmmap_locked() 392 master = r_list->master; in drm_rmmap_locked() 393 list_del(&r_list->head); in drm_rmmap_locked() 395 r_list->user_token >> PAGE_SHIFT); in drm_rmmap_locked() 396 drm_free(r_list, sizeof(*r_list), DRM_MEM_MAPS); in drm_rmmap_locked() 471 struct drm_map_list *r_list; in drm_rmmap_ioctl() local 475 list_for_each_entry(r_list, &dev->maplist, head) { in drm_rmmap_ioctl() 476 if (r_list->map && in drm_rmmap_ioctl() [all …]
|
D | drm_proc.c | 251 struct drm_map_list *r_list; in drm__vm_info() local 271 list_for_each_entry(r_list, &dev->maplist, head) { in drm__vm_info() 272 map = r_list->map; in drm__vm_info() 283 (unsigned long) r_list->user_token); in drm__vm_info()
|
D | drm_drv.c | 297 struct drm_map_list *r_list, *list_temp; in drm_cleanup() local 329 list_for_each_entry_safe(r_list, list_temp, &dev->maplist, head) in drm_cleanup() 330 drm_rmmap(dev, r_list->map); in drm_cleanup()
|
/drivers/usb/mon/ |
D | mon_main.c | 51 list_add_tail(&r->r_link, &mbus->r_list); in mon_reader_add() 86 list_for_each (pos, &mbus->r_list) { in mon_bus_submit() 113 list_for_each (pos, &mbus->r_list) { in mon_bus_submit_error() 140 list_for_each (pos, &mbus->r_list) { in mon_bus_complete() 287 INIT_LIST_HEAD(&mbus->r_list); in mon_bus_init() 314 INIT_LIST_HEAD(&mbus->r_list); in mon_bus0_init()
|
D | usb_mon.h | 31 struct list_head r_list; /* Chain of readers (usually one) */ member
|
/drivers/gpu/drm/i810/ |
D | i810_dma.c | 329 struct drm_map_list *r_list; in i810_dma_initialize() local 332 list_for_each_entry(r_list, &dev->maplist, head) { in i810_dma_initialize() 333 if (r_list->map && in i810_dma_initialize() 334 r_list->map->type == _DRM_SHM && in i810_dma_initialize() 335 r_list->map->flags & _DRM_CONTAINS_LOCK) { in i810_dma_initialize() 336 dev_priv->sarea_map = r_list->map; in i810_dma_initialize()
|
/drivers/gpu/drm/i830/ |
D | i830_dma.c | 336 struct drm_map_list *r_list; in i830_dma_initialize() local 340 list_for_each_entry(r_list, &dev->maplist, head) { in i830_dma_initialize() 341 if (r_list->map && in i830_dma_initialize() 342 r_list->map->type == _DRM_SHM && in i830_dma_initialize() 343 r_list->map->flags & _DRM_CONTAINS_LOCK) { in i830_dma_initialize() 344 dev_priv->sarea_map = r_list->map; in i830_dma_initialize()
|
/drivers/gpu/drm/via/ |
D | via_verifier.c | 257 struct drm_map_list *r_list; in via_drm_lookup_agp_map() local 265 list_for_each_entry(r_list, &dev->maplist, head) { in via_drm_lookup_agp_map() 266 map = r_list->map; in via_drm_lookup_agp_map()
|