Searched refs:drmMalloc (Results 1 – 6 of 6) sorted by relevance
88 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 …]
148 void *drmMalloc(int size) in drmMalloc() function195 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 …]
90 #define RANDOM_ALLOC drmMalloc
95 #define HASH_ALLOC drmMalloc
66 #define SL_ALLOC drmMalloc
673 extern void *drmMalloc(int size);