Lines Matching full:blob
43 struct visl_blob *blob; in visl_trace_bitstream() local
48 blob = kzalloc(sizeof(*blob), GFP_KERNEL); in visl_trace_bitstream()
49 if (!blob) in visl_trace_bitstream()
52 blob->blob.data = vzalloc(data_sz); in visl_trace_bitstream()
53 if (!blob->blob.data) in visl_trace_bitstream()
56 blob->blob.size = data_sz; in visl_trace_bitstream()
59 memcpy(blob->blob.data, vaddr, data_sz); in visl_trace_bitstream()
62 &blob->blob); in visl_trace_bitstream()
66 blob->dentry = dentry; in visl_trace_bitstream()
69 list_add_tail(&blob->list, &ctx->dev->bitstream_blobs); in visl_trace_bitstream()
75 vfree(blob->blob.data); in visl_trace_bitstream()
77 kfree(blob); in visl_trace_bitstream()
82 struct visl_blob *blob; in visl_debugfs_clear_bitstream() local
89 list_for_each_entry_safe(blob, tmp, &dev->bitstream_blobs, list) { in visl_debugfs_clear_bitstream()
90 list_del(&blob->list); in visl_debugfs_clear_bitstream()
91 debugfs_remove(blob->dentry); in visl_debugfs_clear_bitstream()
92 vfree(blob->blob.data); in visl_debugfs_clear_bitstream()
93 kfree(blob); in visl_debugfs_clear_bitstream()