• Home
  • Raw
  • Download

Lines Matching refs:drmMalloc

83 	if (!(r = drmMalloc(count*entry_size)))  in drmAllocCpy()
167 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t))); in drmModeGetResources()
172 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t))); in drmModeGetResources()
177 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t))); in drmModeGetResources()
182 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t))); in drmModeGetResources()
210 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetResources()
324 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetFB()
370 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetCrtc()
472 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetEncoder()
508 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t))); in _drmModeGetConnector()
511 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t))); in _drmModeGetConnector()
517 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo))); in _drmModeGetConnector()
526 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t))); in _drmModeGetConnector()
550 if(!(r = drmMalloc(sizeof(*r)))) { in _drmModeGetConnector()
637 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t))); in drmModeGetProperty()
640 …prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_en… in drmModeGetProperty()
643 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
644 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t))); in drmModeGetProperty()
652 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetProperty()
703 blob.data = VOID2U64(drmMalloc(blob.length)); in drmModeGetPropertyBlob()
710 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetPropertyBlob()
1021 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types * in drmModeGetPlane()
1035 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetPlane()
1080 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes * in drmModeGetPlaneResources()
1094 if (!(r = drmMalloc(sizeof(*r)))) in drmModeGetPlaneResources()
1140 properties.props_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1144 properties.prop_values_ptr = VOID2U64(drmMalloc(count * in drmModeObjectGetProperties()
1160 ret = drmMalloc(sizeof(*ret)); in drmModeObjectGetProperties()
1223 req = drmMalloc(sizeof *req); in drmModeAtomicAlloc()
1241 new = drmMalloc(sizeof *new); in drmModeAtomicDuplicate()
1249 new->items = drmMalloc(old->size_items * sizeof(*new->items)); in drmModeAtomicDuplicate()
1410 objs_ptr = drmMalloc(atomic.count_objs * sizeof objs_ptr[0]); in drmModeAtomicCommit()
1416 count_props_ptr = drmMalloc(atomic.count_objs * sizeof count_props_ptr[0]); in drmModeAtomicCommit()
1422 props_ptr = drmMalloc(sorted->cursor * sizeof props_ptr[0]); in drmModeAtomicCommit()
1428 prop_values_ptr = drmMalloc(sorted->cursor * sizeof prop_values_ptr[0]); in drmModeAtomicCommit()
1534 ret = drmMalloc(sizeof (drmModeLesseeListRes) + count * sizeof (ret->lessees[0])); in drmModeListLessees()
1561 ret = drmMalloc(sizeof (drmModeObjectListRes) + count * sizeof (ret->objects[0])); in drmModeGetLease()
1604 ret = drmMalloc(sizeof(drmModeFB2)); in drmModeGetFB2()