Searched refs:buffer_allocated (Results 1 - 4 of 4) sorted by relevance
/systemd/src/import/ |
H A D | import-compress.c | 243 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 D | import-compress.h | 57 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 D | export-raw.c | 60 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 D | export-tar.c | 53 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