Home
last modified time | relevance | path

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

/hardware/intel/img/libdrm/libdrm/
Dxf86drmMode.c66 if (!(r = drmMalloc(count*entry_size))) in drmAllocCpy()
147 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
149 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
151 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
153 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
165 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetResources()
229 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetFB()
262 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetCrtc()
343 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetEncoder()
374 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in drmModeGetConnector()
[all …]
Dxf86drm.c148 void *drmMalloc(int size) in drmMalloc() function
212 entry = drmMalloc(sizeof(*entry)); in drmGetEntry()
739 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetVersion()
754 version->name = drmMalloc(version->name_len + 1); in drmGetVersion()
756 version->date = drmMalloc(version->date_len + 1); in drmGetVersion()
758 version->desc = drmMalloc(version->desc_len + 1); in drmGetVersion()
771 retval = drmMalloc(sizeof(*retval)); in drmGetVersion()
793 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetLibVersion()
848 u.unique = drmMalloc(u.unique_len + 1); in drmGetBusid()
1028 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.h635 extern void *drmMalloc(int size);