Lines Matching defs:blob
2 * allocate.c - simple space-efficient blob allocator.
53 struct allocation_blob *blob = desc->blobs;
60 while (blob) {
61 struct allocation_blob *next = blob->next;
62 blob_free(blob, desc->chunking);
63 blob = next;
77 struct allocation_blob *blob = desc->blobs;
101 if (!blob || blob->left < size) {
109 newblob->next = blob;
110 blob = newblob;
114 blob->left = chunking - offset;
115 blob->offset = offset - offsetof(struct allocation_blob, data);
117 retval = blob->data + blob->offset;
118 blob->offset += size;
119 blob->left -= size;