Lines Matching refs:drmMalloc
172 drm_public void *drmMalloc(int size) in drmMalloc() function
215 entry = drmMalloc(sizeof(*entry)); in drmGetEntry()
878 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetVersion()
886 version->name = drmMalloc(version->name_len + 1); in drmGetVersion()
888 version->date = drmMalloc(version->date_len + 1); in drmGetVersion()
890 version->desc = drmMalloc(version->desc_len + 1); in drmGetVersion()
903 retval = drmMalloc(sizeof(*retval)); in drmGetVersion()
925 drm_version_t *version = drmMalloc(sizeof(*version)); in drmGetLibVersion()
1005 u.unique = drmMalloc(u.unique_len + 1); in drmGetBusid()
1190 if (!(info.list = drmMalloc(info.count * sizeof(*info.list)))) in drmMarkBufs()
1328 if (!(info.list = drmMalloc(info.count * sizeof(*info.list)))) in drmGetBufInfo()
1336 retval = drmMalloc(sizeof(*retval)); in drmGetBufInfo()
1338 retval->list = drmMalloc(info.count * sizeof(*retval->list)); in drmGetBufInfo()
1379 if (!(bufs.list = drmMalloc(bufs.count * sizeof(*bufs.list)))) in drmMapBufs()
1387 retval = drmMalloc(sizeof(*retval)); in drmMapBufs()
1389 retval->list = drmMalloc(bufs.count * sizeof(*retval->list)); in drmMapBufs()
1536 if (!(list = drmMalloc(res.count * sizeof(*list)))) in drmGetReservedContextList()
1538 if (!(retval = drmMalloc(res.count * sizeof(*retval)))) in drmGetReservedContextList()