Searched refs:buffer_allocated (Results 1 - 4 of 4) sorted by relevance

/systemd/src/import/
H A Dimport-compress.c243 static int enlarge_buffer(void **buffer, size_t *buffer_size, size_t *buffer_allocated) { argument
247 if (*buffer_allocated > *buffer_size)
256 *buffer_allocated = l;
261 int import_compress(ImportCompress *c, const void *data, size_t size, void **buffer, size_t *buffer_size, size_t *buffer_allocated) { argument
267 assert(buffer_allocated);
289 r = enlarge_buffer(buffer, buffer_size, buffer_allocated);
294 c->xz.avail_out = *buffer_allocated - *buffer_size;
300 *buffer_size += (*buffer_allocated - *buffer_size) - c->xz.avail_out;
311 r = enlarge_buffer(buffer, buffer_size, buffer_allocated);
316 c->gzip.avail_out = *buffer_allocated
373 import_compress_finish(ImportCompress *c, void **buffer, size_t *buffer_size, size_t *buffer_allocated) argument
[all...]
H A Dimport-compress.h57 int import_compress(ImportCompress *c, const void *data, size_t size, void **buffer, size_t *buffer_size, size_t *buffer_allocated);
58 int import_compress_finish(ImportCompress *c, void **buffer, size_t *buffer_size, size_t *buffer_allocated);
H A Dexport-raw.c60 size_t buffer_allocated; member in struct:RawExport
209 r = import_compress_finish(&e->compress, &e->buffer, &e->buffer_size, &e->buffer_allocated);
212 r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated);
H A Dexport-tar.c53 size_t buffer_allocated; member in struct:TarExport
204 r = import_compress_finish(&e->compress, &e->buffer, &e->buffer_size, &e->buffer_allocated);
207 r = import_compress(&e->compress, input, l, &e->buffer, &e->buffer_size, &e->buffer_allocated);

Completed in 3105 milliseconds