Lines Matching defs:blob
3014 struct drm_property_blob *blob;
3020 blob = kzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL);
3021 if (!blob)
3024 ret = drm_mode_object_get(dev, &blob->base, DRM_MODE_OBJECT_BLOB);
3026 kfree(blob, sizeof(struct drm_property_blob)+length);
3030 blob->length = length;
3032 (void) memcpy(blob->data, data, length);
3034 list_add_tail(&blob->head, &dev->mode_config.property_blob_list, (caddr_t)blob);
3035 return blob;
3039 struct drm_property_blob *blob)
3041 drm_mode_object_put(dev, &blob->base);
3042 list_del(&blob->head);
3043 kfree(blob, sizeof(struct drm_property_blob) + blob->length);
3051 struct drm_property_blob *blob;
3064 blob = obj_to_blob(obj);
3066 if (out_resp->length == blob->length) {
3068 if (DRM_COPY_TO_USER(blob_ptr, blob->data, blob->length)){
3073 out_resp->length = blob->length;
3898 struct drm_property_blob *blob, *bt;
3916 list_for_each_entry_safe(blob, bt, struct drm_property_blob, &dev->mode_config.property_blob_list,
3918 drm_property_destroy_blob(dev, blob);