Home
last modified time | relevance | path

Searched refs:drmMalloc (Results 1 – 6 of 6) sorted by relevance

/external/libdrm/
Dxf86drmMode.c88 if (!(r = drmMalloc(count*entry_size))) in drmAllocCpy()
175 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
180 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
185 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
190 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
218 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetResources()
318 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetFB()
364 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetCrtc()
465 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetEncoder()
496 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in drmModeGetConnector()
[all …]
Dxf86drm.c148 void *drmMalloc(int size) in drmMalloc() function
195 entry = drmMalloc(sizeof(*entry)); in drmGetEntry()
731 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetVersion()
746 version->name = drmMalloc(version->name_len + 1); in drmGetVersion()
748 version->date = drmMalloc(version->date_len + 1); in drmGetVersion()
750 version->desc = drmMalloc(version->desc_len + 1); in drmGetVersion()
763 retval = drmMalloc(sizeof(*retval)); in drmGetVersion()
785 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetLibVersion()
859 u.unique = drmMalloc(u.unique_len + 1); in drmGetBusid()
1039 if (!(info.list = drmMalloc(info.count * sizeof(*info.list)))) in drmMarkBufs()
[all …]
Dxf86drmRandom.c90 #define RANDOM_ALLOC drmMalloc
Dxf86drmHash.c95 #define HASH_ALLOC drmMalloc
Dxf86drmSL.c66 #define SL_ALLOC drmMalloc
Dxf86drm.h673 extern void *drmMalloc(int size);