Lines Matching defs:blob
2218 struct drm_property_blob *blob;
2223 blob = kzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL);
2224 if (!blob)
2227 blob->data = (void *)((char *)blob + sizeof(struct drm_property_blob));
2228 blob->length = length;
2230 memcpy(blob->data, data, length);
2232 drm_mode_object_get(dev, &blob->base, DRM_MODE_OBJECT_BLOB);
2234 list_add_tail(&blob->head, &dev->mode_config.property_blob_list);
2235 return blob;
2239 struct drm_property_blob *blob)
2241 drm_mode_object_put(dev, &blob->base);
2242 list_del(&blob->head);
2243 kfree(blob);
2251 struct drm_property_blob *blob;
2261 blob = obj_to_blob(obj);
2263 if (out_resp->length == blob->length) {
2265 if (copy_to_user(blob_ptr, blob->data, blob->length)){
2270 out_resp->length = blob->length;