Lines Matching refs:drmMalloc
86 if (!(r = drmMalloc(count*entry_size)))
170 res.fb_id_ptr = VOID2U64(drmMalloc(res.count_fbs*sizeof(uint32_t)));
175 res.crtc_id_ptr = VOID2U64(drmMalloc(res.count_crtcs*sizeof(uint32_t)));
180 res.connector_id_ptr = VOID2U64(drmMalloc(res.count_connectors*sizeof(uint32_t)));
185 res.encoder_id_ptr = VOID2U64(drmMalloc(res.count_encoders*sizeof(uint32_t)));
213 if (!(r = drmMalloc(sizeof(*r))))
313 if (!(r = drmMalloc(sizeof(*r))))
359 if (!(r = drmMalloc(sizeof(*r))))
458 if (!(r = drmMalloc(sizeof(*r))))
483 conn.modes_ptr = VOID2U64(drmMalloc(sizeof(struct drm_mode_modeinfo)));
493 conn.props_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint32_t)));
496 conn.prop_values_ptr = VOID2U64(drmMalloc(conn.count_props*sizeof(uint64_t)));
502 conn.modes_ptr = VOID2U64(drmMalloc(conn.count_modes*sizeof(struct drm_mode_modeinfo)));
507 conn.modes_ptr = VOID2U64(drmMalloc(sizeof(struct drm_mode_modeinfo)));
511 conn.encoders_ptr = VOID2U64(drmMalloc(conn.count_encoders*sizeof(uint32_t)));
534 if(!(r = drmMalloc(sizeof(*r)))) {
620 prop.values_ptr = VOID2U64(drmMalloc(prop.count_values * sizeof(uint64_t)));
623 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(struct drm_mode_property_enum)));
626 prop.values_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t)));
627 prop.enum_blob_ptr = VOID2U64(drmMalloc(prop.count_enum_blobs * sizeof(uint32_t)));
635 if (!(r = drmMalloc(sizeof(*r))))
684 blob.data = VOID2U64(drmMalloc(blob.length));
691 if (!(r = drmMalloc(sizeof(*r))))
975 ovr.format_type_ptr = VOID2U64(drmMalloc(ovr.count_format_types *
989 if (!(r = drmMalloc(sizeof(*r))))
1034 res.plane_id_ptr = VOID2U64(drmMalloc(res.count_planes *
1048 if (!(r = drmMalloc(sizeof(*r))))
1094 properties.props_ptr = VOID2U64(drmMalloc(count *
1098 properties.prop_values_ptr = VOID2U64(drmMalloc(count *
1114 ret = drmMalloc(sizeof(*ret));
1181 set = drmMalloc(sizeof *set);
1229 item = drmMalloc(sizeof *item);
1290 item = drmMalloc(sizeof *item);
1351 objs_ptr = drmMalloc(set->count_objs * sizeof objs_ptr[0]);
1357 count_props_ptr = drmMalloc(set->count_objs * sizeof count_props_ptr[0]);
1363 props_ptr = drmMalloc(set->count_props * sizeof props_ptr[0]);
1369 prop_values_ptr = drmMalloc(set->count_props * sizeof prop_values_ptr[0]);
1375 blob_values_ptr = drmMalloc(set->count_blobs * sizeof blob_values_ptr[0]);
1446 req = drmMalloc(sizeof *req);
1464 new = drmMalloc(sizeof *new);
1472 new->items = drmMalloc(old->size_items * sizeof(*new->items));
1628 objs_ptr = drmMalloc(atomic.count_objs * sizeof objs_ptr[0]);
1634 count_props_ptr = drmMalloc(atomic.count_objs * sizeof count_props_ptr[0]);
1640 props_ptr = drmMalloc(sorted->cursor * sizeof props_ptr[0]);
1646 prop_values_ptr = drmMalloc(sorted->cursor * sizeof prop_values_ptr[0]);