Searched refs:drm_alloc (Results 1 – 20 of 20) sorted by relevance
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | ioctl.c | 89 dev->unique = drm_alloc(u.unique_len + 1, DRM_MEM_DRIVER); in drm_setunique() 94 dev->devname = drm_alloc(strlen(dev->name) + strlen(dev->unique) + 2, in drm_setunique()
|
D | memory.c | 142 void *drm_alloc(size_t size, int area) in drm_alloc() function 168 if (!(pt = drm_alloc(size, area))) return NULL; in drm_realloc() 181 if (!(pt = drm_alloc(length+1, area))) return NULL; in drm_strdup()
|
D | ctxbitmap.c | 66 dev->ctx_bitmap = (unsigned long *) drm_alloc(PAGE_SIZE, in drm_ctxbitmap_init()
|
D | bufs.c | 57 map = drm_alloc(sizeof(*map), DRM_MEM_MAPS); in drm_addmap() 130 dev->maplist = drm_alloc(dev->map_count*sizeof(*dev->maplist), in drm_addmap() 211 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in drm_addbufs() 220 entry->seglist = drm_alloc(count * sizeof(*entry->seglist), in drm_addbufs()
|
D | mga_bufs.c | 111 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in mga_addbufs_agp() 141 buf->dev_private = drm_alloc(sizeof(drm_mga_buf_priv_t), in mga_addbufs_agp() 270 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in mga_addbufs_pci() 279 entry->seglist = drm_alloc(count * sizeof(*entry->seglist), in mga_addbufs_pci()
|
D | r128_bufs.c | 116 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in r128_addbufs_agp() 146 buf->dev_private = drm_alloc(sizeof(drm_r128_buf_priv_t), in r128_addbufs_agp()
|
D | radeon_bufs.c | 112 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in radeon_addbufs_agp() 142 buf->dev_private = drm_alloc(sizeof(drm_radeon_buf_priv_t), in radeon_addbufs_agp()
|
D | mga_dma.c | 93 dev_priv->head = drm_alloc(sizeof(drm_mga_freelist_t), DRM_MEM_DRIVER); in mga_freelist_init() 101 item = drm_alloc(sizeof(drm_mga_freelist_t), in mga_freelist_init() 297 dev_priv->prim_bufs = drm_alloc(sizeof(drm_mga_prim_buf_t *) * in mga_init_primary_bufs() 319 prim_buffer = drm_alloc(sizeof(drm_mga_prim_buf_t), in mga_init_primary_bufs() 676 dev_priv = drm_alloc(sizeof(drm_mga_private_t), DRM_MEM_DRIVER); in mga_dma_initialize()
|
D | i810_bufs.c | 98 entry->buflist = drm_alloc(count * sizeof(*entry->buflist), in i810_addbufs_agp() 126 buf->dev_private = drm_alloc(sizeof(drm_i810_buf_priv_t), in i810_addbufs_agp()
|
D | agpsupport.c | 132 if (!(entry = drm_alloc(sizeof(*entry), DRM_MEM_AGPLISTS))) in drm_agp_alloc() 248 if (!(head = drm_alloc(sizeof(*head), DRM_MEM_AGPLISTS))) in drm_agp_init()
|
D | auth.c | 65 entry = drm_alloc(sizeof(*entry), DRM_MEM_MAGIC); in drm_add_magic()
|
D | radeon_cp.c | 626 dev_priv = drm_alloc( sizeof(drm_radeon_private_t), DRM_MEM_DRIVER ); in radeon_do_init_cp() 1088 dev_priv->head = drm_alloc( sizeof(drm_radeon_freelist_t), 1100 entry = drm_alloc( sizeof(drm_radeon_freelist_t),
|
D | lists.c | 40 bl->bufs = drm_alloc((bl->count + 2) * sizeof(*bl->bufs), in drm_waitlist_create()
|
D | r128_cce.c | 370 dev_priv = drm_alloc( sizeof(drm_r128_private_t), DRM_MEM_DRIVER ); in r128_do_init_cce() 715 dev_priv->head = drm_alloc( sizeof(drm_r128_freelist_t), 727 entry = drm_alloc( sizeof(drm_r128_freelist_t),
|
D | fops.c | 49 priv = drm_alloc(sizeof(*priv), DRM_MEM_FILES); in drm_open_helper()
|
D | context.c | 95 queue = drm_alloc(sizeof(*queue), DRM_MEM_QUEUES); in drm_alloc_queue()
|
D | vm.c | 193 vma_entry = drm_alloc(sizeof(*vma_entry), DRM_MEM_VMAS); in drm_vm_open()
|
D | dma.c | 41 if (!(dev->dma = drm_alloc(sizeof(*dev->dma), DRM_MEM_DRIVER))) { in drm_dma_setup()
|
D | drmP.h | 673 extern void *drm_alloc(size_t size, int area);
|
D | i810_dma.c | 492 dev_priv = drm_alloc(sizeof(drm_i810_private_t), in i810_dma_init()
|