Lines Matching defs:length
543 * @length: Length to allocate for blob data
555 drm_property_create_blob(struct drm_device *dev, size_t length,
561 if (!length || length > INT_MAX - sizeof(struct drm_property_blob))
564 blob = kvzalloc(sizeof(struct drm_property_blob)+length, GFP_KERNEL);
572 blob->length = length;
576 memcpy(blob->data, data, length);
667 * @length: length of data for new blob, or 0 for no data
676 * If length is 0 or data is NULL, no new blob will be created, and the holding
684 * function with replace pointing to the connector's path_blob_ptr, length and
692 size_t length,
705 if (length && data) {
706 new_blob = drm_property_create_blob(dev, length, data);
768 if (out_resp->length == blob->length) {
771 blob->length)) {
776 out_resp->length = blob->length;
793 blob = drm_property_create_blob(dev, out_resp->length, NULL);
799 out_resp->length)) {