Home | History | Annotate | Download | only in updater

Lines Matching defs:buffer_alloc

123 static void allocate(size_t size, uint8_t** buffer, size_t* buffer_alloc) {
125 if (size <= *buffer_alloc) return;
134 *buffer_alloc = size;
259 uint8_t** buffer, size_t* buffer_alloc, int fd) {
270 allocate(src->size * BLOCKSIZE, buffer, buffer_alloc);
319 uint8_t** buffer, size_t* buffer_alloc, int fd,
331 allocate(*src_blocks * BLOCKSIZE, buffer, buffer_alloc);
560 size_t buffer_alloc = 0;
574 &buffer, &buffer_alloc, fd);
577 &buffer, &buffer_alloc, fd, stash_table);
615 allocate(BLOCKSIZE, &buffer, &buffer_alloc);
670 &buffer, &buffer_alloc, fd);
673 &buffer, &buffer_alloc, fd, stash_table);
753 printf("max alloc needed was %zu\n", buffer_alloc);