Home
last modified time | relevance | path

Searched refs:r_list (Results 1 – 12 of 12) sorted by relevance

/drivers/gpu/drm/
Ddrm_ioctl.c184 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()
Ddrm_context.c190 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()
Ddrm_stub.c121 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()
Ddrm_vm.c95 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()
Ddrm_bufs.c384 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 …]
Ddrm_proc.c251 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()
Ddrm_drv.c297 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/
Dmon_main.c51 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()
Dusb_mon.h31 struct list_head r_list; /* Chain of readers (usually one) */ member
/drivers/gpu/drm/i810/
Di810_dma.c329 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/
Di830_dma.c336 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/
Dvia_verifier.c257 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()